# programming

**URL:** https://forum.kirupa.com/c/programming/41.md?page=495

[Latest](https://forum.kirupa.com/latest.md) · [Categories](https://forum.kirupa.com/categories.md)

**Page:** 496

---

## [HTML div tag question](https://forum.kirupa.com/t/html-div-tag-question/309134)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [May 7, 2010, 7:51pm UTC](https://forum.kirupa.com/t/html-div-tag-question/309134 "2010-05-07T19:51:21Z")

</div>

Hello, We have a GUI which uses a flash floating navigation console. This console is placed/positioned with javascript. Now we need to add an index page which will cover the regular page content as well as the floating…

---

## [Choppy](https://forum.kirupa.com/t/choppy/309131)

<div class="topic-metadata">

**Author:** [@Heart\_Song](https://forum.kirupa.com/u/Heart_Song)\
**Replies:** 0\
**Last updated:** [May 7, 2010, 5:35pm UTC](https://forum.kirupa.com/t/choppy/309131 "2010-05-07T17:35:10Z")

</div>

Hi, my animation is too fast and when I take down the speed and cut some frames it appears choppy. Do i start with a one big image and make small but fast movements between or could i perhaps have to draw several small …

---

## [Easing for flv or other video formats?](https://forum.kirupa.com/t/easing-for-flv-or-other-video-formats/309130)

<div class="topic-metadata">

**Author:** [@mitchelvase](https://forum.kirupa.com/u/mitchelvase)\
**Replies:** 0\
**Last updated:** [May 7, 2010, 4:45pm UTC](https://forum.kirupa.com/t/easing-for-flv-or-other-video-formats/309130 "2010-05-07T16:45:20Z")

</div>

Is it possible to ease video playback, so thats not directly stopped but slowly stops playing. or image sequence thats also an option

---

## [MapScript Woes](https://forum.kirupa.com/t/mapscript-woes/309129)

<div class="topic-metadata">

**Author:** [@sluimers\_](https://forum.kirupa.com/u/sluimers_)\
**Replies:** 0\
**Last updated:** [May 7, 2010, 3:20pm UTC](https://forum.kirupa.com/t/mapscript-woes/309129 "2010-05-07T15:20:50Z")

</div>

I don't know what else to call them, so I named them mapscripts. You know, when you make a 2D RPG game you have these scripts for every map which contain functions that can be triggered by zones, entities or right after…

---

## [Reusable code](https://forum.kirupa.com/t/reusable-code/309128)

<div class="topic-metadata">

**Author:** [@Vandel212](https://forum.kirupa.com/u/Vandel212)\
**Replies:** 0\
**Last updated:** [May 7, 2010, 2:48pm UTC](https://forum.kirupa.com/t/reusable-code/309128 "2010-05-07T14:48:26Z")

</div>

Hi, I was wondering if there was a way that you can reuse code in HTML. I'm making a website and I have a side bar with navigation controls. This is going to be part of the standard look of the website. So I was wonderin…

---

## [Multi languages in flash site?](https://forum.kirupa.com/t/multi-languages-in-flash-site/309121)

<div class="topic-metadata">

**Author:** [@vishnubhatla](https://forum.kirupa.com/u/vishnubhatla)\
**Replies:** 0\
**Last updated:** [May 7, 2010, 9:04am UTC](https://forum.kirupa.com/t/multi-languages-in-flash-site/309121 "2010-05-07T09:04:41Z")

</div>

Hi, I need to change language in a flash site, How can i change?. for example I want to change total language into Fracis in this site : http://www.vishnubhatla.ueuo.com/ Thanks, K Swamy Vishnubhatla, http://webdeg…

---

## [Writing sql connections into classes](https://forum.kirupa.com/t/writing-sql-connections-into-classes/309117)

<div class="topic-metadata">

**Author:** [@sanzochan](https://forum.kirupa.com/u/sanzochan)\
**Replies:** 0\
**Last updated:** [May 7, 2010, 7:49am UTC](https://forum.kirupa.com/t/writing-sql-connections-into-classes/309117 "2010-05-07T07:49:38Z")

</div>

I'm just wondering, is it possible to write a class just to connect to the SQLite database? As in, writing the class, and calling it in another class, so that I don't have to type everything out everytime I need to conne…

---

## [Dynamic Tweener (caurina)?](https://forum.kirupa.com/t/dynamic-tweener-caurina/309113)

<div class="topic-metadata">

**Author:** [@patrickjv](https://forum.kirupa.com/u/patrickjv)\
**Replies:** 0\
**Last updated:** [May 7, 2010, 5:49am UTC](https://forum.kirupa.com/t/dynamic-tweener-caurina/309113 "2010-05-07T05:49:05Z")

</div>

this works; Tweener.addTween(obj, { \_Blur\_blurX:10 , time:0}); but I kind of need dynamic tweening more or less like this var a = "\_Blur\_blurX" var b = 10; Tweener.addTween(obj, { a:b , time:0}); but that doesn't…

---

## [Magnified Portion of a Larger Image as a Frame?](https://forum.kirupa.com/t/magnified-portion-of-a-larger-image-as-a-frame/309108)

<div class="topic-metadata">

**Author:** [@Mister\_B2](https://forum.kirupa.com/u/Mister_B2)\
**Replies:** 0\
**Last updated:** [May 7, 2010, 1:37am UTC](https://forum.kirupa.com/t/magnified-portion-of-a-larger-image-as-a-frame/309108 "2010-05-07T01:37:01Z")

</div>

Alright, I have a project I have to do and have made a large stage because it will be the only setting of the animation: \[image\] It is supposed to be a talkshow stage. I need to be able to zoom in to the desk and the…

---

## [Alter Meta tag](https://forum.kirupa.com/t/alter-meta-tag/309106)

<div class="topic-metadata">

**Author:** [@cortezcreations](https://forum.kirupa.com/u/cortezcreations)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 11:56pm UTC](https://forum.kirupa.com/t/alter-meta-tag/309106 "2010-05-06T23:56:01Z")

</div>

Hello All I'm trying to figure out a way to alter a path to an image that is in a meta tag. It's for a facebook share button, and I'd like the ability to change the thumbnail image that is sent to facebook depending …

---

## [AlivePDF-get started?](https://forum.kirupa.com/t/alivepdf-get-started/309098)

<div class="topic-metadata">

**Author:** [@krazycat](https://forum.kirupa.com/u/krazycat)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 6:12pm UTC](https://forum.kirupa.com/t/alivepdf-get-started/309098 "2010-05-06T18:12:30Z")

</div>

I feel stupid to even ask this question...but how do I get started with AlivePDF? I have downloaded the .zip-file and extracted the files, but what to do next?? I have a .fla-file I want to conect it to. Can someone pl…

---

## [Can't get to the Next Frame() or gotoAndPlay](https://forum.kirupa.com/t/cant-get-to-the-next-frame-or-gotoandplay/309097)

<div class="topic-metadata">

**Author:** [@justabegginer](https://forum.kirupa.com/u/justabegginer)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 6:01pm UTC](https://forum.kirupa.com/t/cant-get-to-the-next-frame-or-gotoandplay/309097 "2010-05-06T18:01:30Z")

</div>

\[FONT=Calibri\] I have a flash file that the action scripts doesn’t appear to work. It is regarding a form turned into a movie clip. I copied the action script and format from a tutorial from this web site (Kirupa Fla…

---

## [There is pixelation on this flash banner it seems to pop up about 10% of the time. Ho](https://forum.kirupa.com/t/there-is-pixelation-on-this-flash-banner-it-seems-to-pop-up-about-10-of-the-time-ho/309094)

<div class="topic-metadata">

**Author:** [@NZeleznak](https://forum.kirupa.com/u/NZeleznak)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 4:40pm UTC](https://forum.kirupa.com/t/there-is-pixelation-on-this-flash-banner-it-seems-to-pop-up-about-10-of-the-time-ho/309094 "2010-05-06T16:40:15Z")

</div>

There is pixelation on this flash banner it seems to pop up about 10% of the time. It is not because of the browser my guess is the screen resolution, or other applications that are installed into the browser. The file w…

---

## [Problem with AS2 FLV in AS3 container](https://forum.kirupa.com/t/problem-with-as2-flv-in-as3-container/309093)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 4:22pm UTC](https://forum.kirupa.com/t/problem-with-as2-flv-in-as3-container/309093 "2010-05-06T16:22:58Z")

</div>

So I am loading some very poorly built AS2 swfs into an AS3 file. I am able to open them and close them (addChild and removeChild) All is good there. The problem I am now faced with is each of these AS2 swfs contain …

---

## [Dynamic coordinates for copyPixels rectangle](https://forum.kirupa.com/t/dynamic-coordinates-for-copypixels-rectangle/309092)

<div class="topic-metadata">

**Author:** [@tcambron](https://forum.kirupa.com/u/tcambron)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 3:55pm UTC](https://forum.kirupa.com/t/dynamic-coordinates-for-copypixels-rectangle/309092 "2010-05-06T15:55:59Z")

</div>

Greetings, I believe this is esentially a math problem that may be easy for most of the programmers out there, but I am stuck. I have a fixed rectangle width = 50 height = 50 centered in the middle of the stage. I am u…

---

## [Slider Component Behaviour](https://forum.kirupa.com/t/slider-component-behaviour/309089)

<div class="topic-metadata">

**Author:** [@tcambron](https://forum.kirupa.com/u/tcambron)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 3:36pm UTC](https://forum.kirupa.com/t/slider-component-behaviour/309089 "2010-05-06T15:36:31Z")

</div>

Greetings, I am using the slider component to scale an image. The function scaleFromCenter() is activated by a slider component. Currently the image is loaded in at 100%. Although the user slides the thumb down (to the…

---

## [Collision Issues](https://forum.kirupa.com/t/collision-issues/309088)

<div class="topic-metadata">

**Author:** [@WhyidiE](https://forum.kirupa.com/u/WhyidiE)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 3:21pm UTC](https://forum.kirupa.com/t/collision-issues/309088 "2010-05-06T15:21:46Z")

</div>

I know there are a few of these already but looking at some of them and trying them aren't working out very well. I simply want to apply a collision box on a movieclip i.e. a box, on each of the frames, or for pretty …

---

## [Multiple enemy jostle with wall collisions](https://forum.kirupa.com/t/multiple-enemy-jostle-with-wall-collisions/309085)

<div class="topic-metadata">

**Author:** [@andiliddell](https://forum.kirupa.com/u/andiliddell)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 2:56pm UTC](https://forum.kirupa.com/t/multiple-enemy-jostle-with-wall-collisions/309085 "2010-05-06T14:56:38Z")

</div>

Around a year ago someone helped me out a great deal with getting multiple enemys to jostle for position and head for the player. In this basic example they are heading for the mouse, but the same rules apply. the pr…

---

## [XML chinese characters](https://forum.kirupa.com/t/xml-chinese-characters/309084)

<div class="topic-metadata">

**Author:** [@junior\_kimbroug](https://forum.kirupa.com/u/junior_kimbroug)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 2:15pm UTC](https://forum.kirupa.com/t/xml-chinese-characters/309084 "2010-05-06T14:15:30Z")

</div>

Hi! I am trying to find a way to load chinese characters into Flash via XML. Any tips how to implement this in AS3 is very welcome \[smile\] Notepad does not like chinese characters it seems... So how to copy the ch…

---

## [How to change class variable from inside a movie clip](https://forum.kirupa.com/t/how-to-change-class-variable-from-inside-a-movie-clip/309083)

<div class="topic-metadata">

**Author:** [@Nim](https://forum.kirupa.com/u/Nim)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 2:01pm UTC](https://forum.kirupa.com/t/how-to-change-class-variable-from-inside-a-movie-clip/309083 "2010-05-06T14:01:32Z")

</div>

I declare a Boolean variable in my main class (Main.as file) public var myboolean:Boolean; What I want is to change myboolean variable from inside a movie clip I've got on stage (when it reaches a certain frame). I…

---

## [AttachMovie randomly](https://forum.kirupa.com/t/attachmovie-randomly/309081)

<div class="topic-metadata">

**Author:** [@ohya](https://forum.kirupa.com/u/ohya)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 1:08pm UTC](https://forum.kirupa.com/t/attachmovie-randomly/309081 "2010-05-06T13:08:49Z")

</div>

I am looking help for attachMovie from the liabrary as follows: I have five mc in the liabrary. 1) attachMovie randomly from liabrary on a position. For example,by onPress of a button, one of the 5 mc is on stage at (100…

---

## [AS3 xml video playlist](https://forum.kirupa.com/t/as3-xml-video-playlist/309079)

<div class="topic-metadata">

**Author:** [@zer05](https://forum.kirupa.com/u/zer05)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 12:05pm UTC](https://forum.kirupa.com/t/as3-xml-video-playlist/309079 "2010-05-06T12:05:20Z")

</div>

Hi! I'm trying to loop playlist that cames from a xml file. I think that something is wrong with the as3. Can anyone help?

---

## [COnnecting to remote mysql](https://forum.kirupa.com/t/connecting-to-remote-mysql/309073)

<div class="topic-metadata">

**Author:** [@utsav](https://forum.kirupa.com/u/utsav)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 10:07am UTC](https://forum.kirupa.com/t/connecting-to-remote-mysql/309073 "2010-05-06T10:07:42Z")

</div>

Hello Kirupans!!! How have u been? Well I needed help for connecting to remote mysql. For some reasons(security) my client did not give me cPanel access and i had to create a database in his account. But he says he ha…

---

## [Detecting dynamically movieclip name](https://forum.kirupa.com/t/detecting-dynamically-movieclip-name/309072)

<div class="topic-metadata">

**Author:** [@LS05](https://forum.kirupa.com/u/LS05)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 9:47am UTC](https://forum.kirupa.com/t/detecting-dynamically-movieclip-name/309072 "2010-05-06T09:47:10Z")

</div>

Hi guys, I'm trying to load different images from xml to movieclips by detecting the movieclips name dynamically via xml. Pratically i have 2 movieclips named "sera" and "diurno". I take the names and the relative urls v…

---

## [FLV Skin](https://forum.kirupa.com/t/flv-skin/309071)

<div class="topic-metadata">

**Author:** [@trumpet](https://forum.kirupa.com/u/trumpet)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 7:02am UTC](https://forum.kirupa.com/t/flv-skin/309071 "2010-05-06T07:02:19Z")

</div>

Hi, Is there anyway to disable the buffering bar of an FLV ?, I have treeview component that shows a video list from which the user has to select a video to play. When i test the movie, the buffering bar starts animati…

---

## [List Component: Selected Item to Be Unaffected Even Rolled Over](https://forum.kirupa.com/t/list-component-selected-item-to-be-unaffected-even-rolled-over/309069)

<div class="topic-metadata">

**Author:** [@GummyBear](https://forum.kirupa.com/u/GummyBear)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 4:36am UTC](https://forum.kirupa.com/t/list-component-selected-item-to-be-unaffected-even-rolled-over/309069 "2010-05-06T04:36:05Z")

</div>

Hello, I'm new to Flash/ActionScript and struggling with the List component here:emb:. Can someone please tell me if I can still keep the color of selected item even if it's rolled over? In my code, I have specified …

---

## [Resizing stage to show a menu](https://forum.kirupa.com/t/resizing-stage-to-show-a-menu/309067)

<div class="topic-metadata">

**Author:** [@derm116](https://forum.kirupa.com/u/derm116)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 2:28am UTC](https://forum.kirupa.com/t/resizing-stage-to-show-a-menu/309067 "2010-05-06T02:28:27Z")

</div>

Hi All, I have a 3D stage setup which is populated with objects based on an xml file. The user can the navigate around the stage and the objects, zoom in - pan, ect. Now I have a sprite container on my stage which I ad…

---

## [Controlling sound using AS3](https://forum.kirupa.com/t/controlling-sound-using-as3/309066)

<div class="topic-metadata">

**Author:** [@Varl](https://forum.kirupa.com/u/Varl)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 2:22am UTC](https://forum.kirupa.com/t/controlling-sound-using-as3/309066 "2010-05-06T02:22:01Z")

</div>

Hey Guys, I have a site (100% flash AS3) that I'd like to have background music playing while people happily click around the site. That is until they click on the "Audio" page where I need the background music to fad…

---

## [How do I publish my swf files to the web! Ahhh!](https://forum.kirupa.com/t/how-do-i-publish-my-swf-files-to-the-web-ahhh/309064)

<div class="topic-metadata">

**Author:** [@mow966](https://forum.kirupa.com/u/mow966)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 1:57am UTC](https://forum.kirupa.com/t/how-do-i-publish-my-swf-files-to-the-web-ahhh/309064 "2010-05-06T01:57:31Z")

</div>

This is getting really frustrating. I keep finding tutorials on the web that explain how to do this but here is the problem I am having. 1. The tutorials keep telling me to upload my swf files to google pages but apparen…

---

## [How does Event.ADDED\_TO\_STAGE work?](https://forum.kirupa.com/t/how-does-event-added-to-stage-work/309063)

<div class="topic-metadata">

**Author:** [@marquizzo](https://forum.kirupa.com/u/marquizzo)\
**Replies:** 0\
**Last updated:** [May 6, 2010, 1:55am UTC](https://forum.kirupa.com/t/how-does-event-added-to-stage-work/309063 "2010-05-06T01:55:29Z")

</div>

Hello! I'm attempting to initiate a set of variables within a movie clip myElement as soon as it's dynamically loaded onto the stage: frame1 within myElement: this.addEventListener(Event.ADDED\_TO\_STAGE, initiateV…

[Previous page](https://forum.kirupa.com/c/programming/41.md?page=494)

[Next page](https://forum.kirupa.com/c/programming/41.md?page=496)
