# programming

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

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

**Page:** 993

---

## [Circle rotation not working](https://forum.kirupa.com/t/circle-rotation-not-working/276901)

<div class="topic-metadata">

**Author:** [@dabamol](https://forum.kirupa.com/u/dabamol)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 8:26pm UTC](https://forum.kirupa.com/t/circle-rotation-not-working/276901 "2008-12-04T20:26:17Z")

</div>

Okay...I'll try this again. Got a seemingly simple problem which has been driving me nuts for two days now. I have a circle, and every time I click it, I want it to rotate counter-clockwise 36 degrees (360/10 = 36). It w…

---

## [Video, Flash and/or web scripting?](https://forum.kirupa.com/t/video-flash-and-or-web-scripting/276900)

<div class="topic-metadata">

**Author:** [@graylensman](https://forum.kirupa.com/u/graylensman)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 8:25pm UTC](https://forum.kirupa.com/t/video-flash-and-or-web-scripting/276900 "2008-12-04T20:25:12Z")

</div>

I have a client - his business is catalog/internet sales of fine dolls and collectibles. On his website, each product has its own page, with photo and information. What he wants is to add a link which, when clicked, will…

---

## [Flash video in popup, dependent on selection on website](https://forum.kirupa.com/t/flash-video-in-popup-dependent-on-selection-on-website/276899)

<div class="topic-metadata">

**Author:** [@graylensman](https://forum.kirupa.com/u/graylensman)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 8:24pm UTC](https://forum.kirupa.com/t/flash-video-in-popup-dependent-on-selection-on-website/276899 "2008-12-04T20:24:33Z")

</div>

I have a client - his business is catalog/internet sales of fine dolls and collectibles. On his website, each product has its own page, with photo and information. What he wants is to add a link which, when clicked, will…

---

## [How to change header font color for Accordion on rollover?](https://forum.kirupa.com/t/how-to-change-header-font-color-for-accordion-on-rollover/276896)

<div class="topic-metadata">

**Author:** [@sparren](https://forum.kirupa.com/u/sparren)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 7:59pm UTC](https://forum.kirupa.com/t/how-to-change-header-font-color-for-accordion-on-rollover/276896 "2008-12-04T19:59:08Z")

</div>

Hello, I've created an accordion, with customized skins, and on rollover id like the header to change its font color from 0x999999 to 0xFFFFFF. Can anyone help me with this?

---

## [as2:CS2-help! Find last frame of loaded swf that loads flv file](https://forum.kirupa.com/t/as2-cs2-help-find-last-frame-of-loaded-swf-that-loads-flv-file/276895)

<div class="topic-metadata">

**Author:** [@jkmin](https://forum.kirupa.com/u/jkmin)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 7:32pm UTC](https://forum.kirupa.com/t/as2-cs2-help-find-last-frame-of-loaded-swf-that-loads-flv-file/276895 "2008-12-04T19:32:25Z")

</div>

How do you detect the end of the loaded swf that loads the flv? It never reaches the frame 20, and I think it is due to the loaded flv CamTest.flv file. So how do you find out that the loaded swf really reached the end? …

---

## [Key Listener issue](https://forum.kirupa.com/t/key-listener-issue/276893)

<div class="topic-metadata">

**Author:** [@chethan](https://forum.kirupa.com/u/chethan)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 7:25pm UTC](https://forum.kirupa.com/t/key-listener-issue/276893 "2008-12-04T19:25:01Z")

</div>

Hello Guys, I am facing a problem while using keylistener. At first time on key event I am able to call a method in action script and it is getting called only once. But when I click it for the next time it calls m…

---

## [Bouncing Balls inside of a Movie Clip Circle](https://forum.kirupa.com/t/bouncing-balls-inside-of-a-movie-clip-circle/276892)

<div class="topic-metadata">

**Author:** [@dutchoh1](https://forum.kirupa.com/u/dutchoh1)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 7:10pm UTC](https://forum.kirupa.com/t/bouncing-balls-inside-of-a-movie-clip-circle/276892 "2008-12-04T19:10:07Z")

</div>

I have been playing with multiple different AS3 bouncing ball tutorials in an effort to have the balls bounce inside of a circle or other shape instead of just the stage. Does anyone have any ideas of things to try? I…

---

## [Checking a number is within a range or ranges](https://forum.kirupa.com/t/checking-a-number-is-within-a-range-or-ranges/276891)

<div class="topic-metadata">

**Author:** [@the\_lar](https://forum.kirupa.com/u/the_lar)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 6:53pm UTC](https://forum.kirupa.com/t/checking-a-number-is-within-a-range-or-ranges/276891 "2008-12-04T18:53:24Z")

</div>

Hi all, I've got a quick question on the most efficient way of checking if a given number lies within a range or ranges of possible values. I am loading an xml document which contains this snippet: \<y-axis\> \<zone s…

---

## [Movie to play once](https://forum.kirupa.com/t/movie-to-play-once/276888)

<div class="topic-metadata">

**Author:** [@Range](https://forum.kirupa.com/u/Range)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 5:59pm UTC](https://forum.kirupa.com/t/movie-to-play-once/276888 "2008-12-04T17:59:11Z")

</div>

Hi, Just wondering if it is possible to have a movie clip play just once throughout an entire movie. For instance, I have a draggable content area for my website and each button opens a new content area which is draggabl…

---

## [Using "else if" to streamline functions for multiple movie clips](https://forum.kirupa.com/t/using-else-if-to-streamline-functions-for-multiple-movie-clips/276886)

<div class="topic-metadata">

**Author:** [@rickpickett](https://forum.kirupa.com/u/rickpickett)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 5:36pm UTC](https://forum.kirupa.com/t/using-else-if-to-streamline-functions-for-multiple-movie-clips/276886 "2008-12-04T17:36:57Z")

</div>

Trying to get a MouseEvent.ROLL\_OVER event to call one function, inside that function are "if... else if" statements that should activate the target movie clip's timeline. Zee Code: thumbLoader1.addEventListener(Mou…

---

## [Problem when user presses "play" or "rewind" from the Flash Player](https://forum.kirupa.com/t/problem-when-user-presses-play-or-rewind-from-the-flash-player/276882)

<div class="topic-metadata">

**Author:** [@freecloud](https://forum.kirupa.com/u/freecloud)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 4:52pm UTC](https://forum.kirupa.com/t/problem-when-user-presses-play-or-rewind-from-the-flash-player/276882 "2008-12-04T16:52:08Z")

</div>

Hello, I'm experiencing a problem that happens when the user initiates a "play" or "rewind" command from their Flash Player. (i.e. right-click my flash app, and choose "play" or "rewind"). What's happens is, a new v…

---

## [How can you use a string value as a function name?](https://forum.kirupa.com/t/how-can-you-use-a-string-value-as-a-function-name/276881)

<div class="topic-metadata">

**Author:** [@rustyleaf](https://forum.kirupa.com/u/rustyleaf)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 4:25pm UTC](https://forum.kirupa.com/t/how-can-you-use-a-string-value-as-a-function-name/276881 "2008-12-04T16:25:58Z")

</div>

I have a function set up that returns a string. I then want to use this string as the part of the function name for my next function call... function onClicknav(event:MouseEvent):void { statusreport = String(checks…

---

## [Flash CS4, Photoshop CS4,dreamweaver cs4](https://forum.kirupa.com/t/flash-cs4-photoshop-cs4-dreamweaver-cs4/276880)

<div class="topic-metadata">

**Author:** [@new\_saturn03](https://forum.kirupa.com/u/new_saturn03)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 4:13pm UTC](https://forum.kirupa.com/t/flash-cs4-photoshop-cs4-dreamweaver-cs4/276880 "2008-12-04T16:13:52Z")

</div>

Get it for £50 EACH including shipping!

---

## [Similar to buttonless scroll, but need to rotate image/MC](https://forum.kirupa.com/t/similar-to-buttonless-scroll-but-need-to-rotate-image-mc/276879)

<div class="topic-metadata">

**Author:** [@FunkyGibber](https://forum.kirupa.com/u/FunkyGibber)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 4:12pm UTC](https://forum.kirupa.com/t/similar-to-buttonless-scroll-but-need-to-rotate-image-mc/276879 "2008-12-04T16:12:28Z")

</div>

Hi all, I'm sure a lot of you have seen the tutorials for buttonless scrolling (where you move your cursor to the right of the screen and the movieclip scrolls to the left etc). Here is an excellent example...http://ww…

---

## [Flash CS4, Photoshop CS4](https://forum.kirupa.com/t/flash-cs4-photoshop-cs4/276878)

<div class="topic-metadata">

**Author:** [@new\_saturn03](https://forum.kirupa.com/u/new_saturn03)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 4:12pm UTC](https://forum.kirupa.com/t/flash-cs4-photoshop-cs4/276878 "2008-12-04T16:12:09Z")

</div>

Get it for £50 EACH including shipping!

---

## [XML problem - Error #1088](https://forum.kirupa.com/t/xml-problem-error-1088/276877)

<div class="topic-metadata">

**Author:** [@onurgunan](https://forum.kirupa.com/u/onurgunan)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 4:09pm UTC](https://forum.kirupa.com/t/xml-problem-error-1088/276877 "2008-12-04T16:09:37Z")

</div>

Hi, i have a problem, When i add sub children to xml file, i recieve error when i publish project "Error #1088: The markup in the document following the root element must be well-formed.". when i delete 2 children (yo…

---

## [Can you call a getter from a static function?](https://forum.kirupa.com/t/can-you-call-a-getter-from-a-static-function/276876)

<div class="topic-metadata">

**Author:** [@rustyleaf](https://forum.kirupa.com/u/rustyleaf)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 3:41pm UTC](https://forum.kirupa.com/t/can-you-call-a-getter-from-a-static-function/276876 "2008-12-04T15:41:22Z")

</div>

I am calling an instance of my boxes class (that draws boxes on the screen) from my document class. This class has a getter function that parses the array containing all the lines I have used to create the boxes. I can c…

---

## [I'm a newbie to flash and someone is asking me if I this is hard to do?](https://forum.kirupa.com/t/im-a-newbie-to-flash-and-someone-is-asking-me-if-i-this-is-hard-to-do/276874)

<div class="topic-metadata">

**Author:** [@nomad2224](https://forum.kirupa.com/u/nomad2224)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 3:32pm UTC](https://forum.kirupa.com/t/im-a-newbie-to-flash-and-someone-is-asking-me-if-i-this-is-hard-to-do/276874 "2008-12-04T15:32:04Z")

</div>

the reference they are giving me is www.ebv.com and the promotional flyouts that appear at the top of the page. They like the concept and would like me to recreate and mimic the same idea but with static images (not movi…

---

## [Centering wont work](https://forum.kirupa.com/t/centering-wont-work/276873)

<div class="topic-metadata">

**Author:** [@keskin](https://forum.kirupa.com/u/keskin)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 3:13pm UTC](https://forum.kirupa.com/t/centering-wont-work/276873 "2008-12-04T15:13:30Z")

</div>

In HTML publish settings I set everything to middle...but in HTML preview movie is to the left. Also, in div tag in center, it doesn't "listen", it stays on the left. How to horizontally center my flash movie?

---

## [XML PHP problem](https://forum.kirupa.com/t/xml-php-problem/276870)

<div class="topic-metadata">

**Author:** [@Aldor](https://forum.kirupa.com/u/Aldor)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 2:54pm UTC](https://forum.kirupa.com/t/xml-php-problem/276870 "2008-12-04T14:54:04Z")

</div>

Hey dudes, I have a problem with making rss feed with php. i generate the XML file and when i try to open it in the browser i get the following error: XML Parsing Error: not well-formed Location: http://localhost/sms-f…

---

## [How to read binary files in Flash AS 3](https://forum.kirupa.com/t/how-to-read-binary-files-in-flash-as-3/276863)

<div class="topic-metadata">

**Author:** [@venkcauk](https://forum.kirupa.com/u/venkcauk)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 2:01pm UTC](https://forum.kirupa.com/t/how-to-read-binary-files-in-flash-as-3/276863 "2008-12-04T14:01:22Z")

</div>

hi..... , Currently i am working on flash AS3 games.i got a puzzle game. i like to give u a short introduction.. When the game starts a cartoon images will get start animated. At the end or middle of animat…

---

## [Adding focus to an image](https://forum.kirupa.com/t/adding-focus-to-an-image/276861)

<div class="topic-metadata">

**Author:** [@gb207](https://forum.kirupa.com/u/gb207)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 1:31pm UTC](https://forum.kirupa.com/t/adding-focus-to-an-image/276861 "2008-12-04T13:31:26Z")

</div>

Hi, I have seen a really nice effect which adds focus to a selected image, and I was wondering if there are any tutorials to show you how to do it. The effect is normally triggered when a thumbnail is clicked, a larger i…

---

## [Asset SWF, loading/embedding has fundamental differences](https://forum.kirupa.com/t/asset-swf-loading-embedding-has-fundamental-differences/276853)

<div class="topic-metadata">

**Author:** [@oybrator](https://forum.kirupa.com/u/oybrator)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 11:10am UTC](https://forum.kirupa.com/t/asset-swf-loading-embedding-has-fundamental-differences/276853 "2008-12-04T11:10:30Z")

</div>

So after a few headaches I arrived at a thesis (at best): If developing and compiling in Flex Builder, but using a library of assets (in the form of a SWF-file) compiled by the Flash IDE, loading the assets.swf at runt…

---

## [Khushal](https://forum.kirupa.com/t/khushal/276850)

<div class="topic-metadata">

**Author:** [@khushyash](https://forum.kirupa.com/u/khushyash)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 10:39am UTC](https://forum.kirupa.com/t/khushal/276850 "2008-12-04T10:39:14Z")

</div>

How to do Drag with target

---

## [Draggable Menu 2.0](https://forum.kirupa.com/t/draggable-menu-2-0/276849)

<div class="topic-metadata">

**Author:** [@cracklewark](https://forum.kirupa.com/u/cracklewark)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 10:15am UTC](https://forum.kirupa.com/t/draggable-menu-2-0/276849 "2008-12-04T10:15:12Z")

</div>

hi there, i just followed this tutorial and it was really easy and great. however, my general clip, the clip that has all the images in a block to scroll through, is 9000 pixels. When i export, the actions work, except m…

---

## [Flash Site Loading Incorrectly](https://forum.kirupa.com/t/flash-site-loading-incorrectly/276847)

<div class="topic-metadata">

**Author:** [@CamCam](https://forum.kirupa.com/u/CamCam)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 8:53am UTC](https://forum.kirupa.com/t/flash-site-loading-incorrectly/276847 "2008-12-04T08:53:50Z")

</div>

Hello! I just posted my first Flash site ever... So, please bare with me. \[bear\] Upon going to the site, for the first 10 seconds if I hit any links it takes me to the wrong ones, but after that first 10 seconds ever…

---

## [How to call gotoAndPlay function activated in \_root from an external MC with AS3?](https://forum.kirupa.com/t/how-to-call-gotoandplay-function-activated-in--root-from-an-external-mc-with-as3/276844)

<div class="topic-metadata">

**Author:** [@michoux](https://forum.kirupa.com/u/michoux)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 8:36am UTC](https://forum.kirupa.com/t/how-to-call-gotoandplay-function-activated-in--root-from-an-external-mc-with-as3/276844 "2008-12-04T08:36:59Z")

</div>

Dear all, I am newbie in AS3. I have a problem: \*\*parent movieclip: \*\*var ldr:Loader = new Loader(); ldr.mask = rect; var url:String = "yes/color\_match.swf"; var urlReq:URLRequest = new URLRequest(url); ldr.load(urlR…

---

## [Clearing Float Problem](https://forum.kirupa.com/t/clearing-float-problem/276841)

<div class="topic-metadata">

**Author:** [@MaggieBroon](https://forum.kirupa.com/u/MaggieBroon)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 7:56am UTC](https://forum.kirupa.com/t/clearing-float-problem/276841 "2008-12-04T07:56:55Z")

</div>

Hello. Im really hoping someone might be able to shed some light on my problem. I have a series of divs stacked like a table in my website. It looks fine in IE 6 & 7 but in FF, Safari & Opera its adding a massive bit o…

---

## [Question: The best way to go about multiple xml galleries](https://forum.kirupa.com/t/question-the-best-way-to-go-about-multiple-xml-galleries/276838)

<div class="topic-metadata">

**Author:** [@atype](https://forum.kirupa.com/u/atype)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 7:52am UTC](https://forum.kirupa.com/t/question-the-best-way-to-go-about-multiple-xml-galleries/276838 "2008-12-04T07:52:48Z")

</div>

Hi all, Hopefully this is a long post with a short answer – I’m just hoping someone can point me in the right or best direction. I have an AS3 xml image grid type gallery, and at the bottom is a row of menu items (in…

---

## [Altering variables with similar names](https://forum.kirupa.com/t/altering-variables-with-similar-names/276832)

<div class="topic-metadata">

**Author:** [@shazzmoe](https://forum.kirupa.com/u/shazzmoe)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 5:39am UTC](https://forum.kirupa.com/t/altering-variables-with-similar-names/276832 "2008-12-04T05:39:51Z")

</div>

I'm looking for a way to quickly manipulate multiple vairables with similar names in a loop without using an array. by this i mean i have the somthing like the following tile00.y = ypos; tile01.y = ypos; tile02.y = y…

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

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