# programming

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

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

**Page:** 733

---

## [How to access a sprite on a "loaded" swf from parent stage](https://forum.kirupa.com/t/how-to-access-a-sprite-on-a-loaded-swf-from-parent-stage/293900)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 4:14pm UTC](https://forum.kirupa.com/t/how-to-access-a-sprite-on-a-loaded-swf-from-parent-stage/293900 "2009-08-05T16:14:32Z")

</div>

I am creating a Flash training app that includes a glossary. You click a button and the glossary opens. The glossary loads thus: var request:URLRequest = new URLRequest("glossary.swf"); var loader:Loader = new Loader(…

---

## [Passing an Array from XML to Flash](https://forum.kirupa.com/t/passing-an-array-from-xml-to-flash/293899)

<div class="topic-metadata">

**Author:** [@humbucker](https://forum.kirupa.com/u/humbucker)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 4:06pm UTC](https://forum.kirupa.com/t/passing-an-array-from-xml-to-flash/293899 "2009-08-05T16:06:09Z")

</div>

Hi, I'm having difficulties transfering the content of a future array from XML to Flash. My goal is to be able to set variables in an XML file that will then be used in Flash. For that purpose, I've started to set my x…

---

## [How to get the 'Spring' easing to end at the correct tween value?](https://forum.kirupa.com/t/how-to-get-the-spring-easing-to-end-at-the-correct-tween-value/293898)

<div class="topic-metadata">

**Author:** [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 3:54pm UTC](https://forum.kirupa.com/t/how-to-get-the-spring-easing-to-end-at-the-correct-tween-value/293898 "2009-08-05T15:54:43Z")

</div>

I've just started working with the CS4 motion editor, and it is proving to be a distinctly infuriating experience. I want to tween the z-index of a movie clip from -200 ('out' of the screen) to 0 with the Spring easing a…

---

## [Best way to run function only when another is done?](https://forum.kirupa.com/t/best-way-to-run-function-only-when-another-is-done/293897)

<div class="topic-metadata">

**Author:** [@humbucker](https://forum.kirupa.com/u/humbucker)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 3:32pm UTC](https://forum.kirupa.com/t/best-way-to-run-function-only-when-another-is-done/293897 "2009-08-05T15:32:14Z")

</div>

Hi, I'm working on a website getting a lot of variables through a xml file and the rest of my animation depends on all these variables, could you tell me which best function or listener to add to run my remaining funct…

---

## [Making a Flash video for CD distrbution](https://forum.kirupa.com/t/making-a-flash-video-for-cd-distrbution/293896)

<div class="topic-metadata">

**Author:** [@ayron](https://forum.kirupa.com/u/ayron)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 3:10pm UTC](https://forum.kirupa.com/t/making-a-flash-video-for-cd-distrbution/293896 "2009-08-05T15:10:09Z")

</div>

I am new to this company and my employer who knows I haven't worked with Flash asked me to look into making a flash video for new software that he developed. I have looked at the Adobe website but am not sure where to st…

---

## [List objects and variables shows nothing in AS3?](https://forum.kirupa.com/t/list-objects-and-variables-shows-nothing-in-as3/293892)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 2:28pm UTC](https://forum.kirupa.com/t/list-objects-and-variables-shows-nothing-in-as3/293892 "2009-08-05T14:28:57Z")

</div>

What's the score here? I'm used to using list variables/objects a lot from the Flash player in AS2, to make sure objects have really been removed, onEnterFrames have really been deleted etc, or even to make sure arrays a…

---

## [Scrolling Menu Tutorial CS4](https://forum.kirupa.com/t/scrolling-menu-tutorial-cs4/293891)

<div class="topic-metadata">

**Author:** [@hungryOrb](https://forum.kirupa.com/u/hungryOrb)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 1:45pm UTC](https://forum.kirupa.com/t/scrolling-menu-tutorial-cs4/293891 "2009-08-05T13:45:31Z")

</div>

Hi guys! I've been looking around for a tut that will help me to understand how to create a scrolling menu. Can't find one that works though! Tried these: http://www.sitepoint.com/article/menu-scrolling-background/ ht…

---

## [onRelease on dynamicly added movieclips](https://forum.kirupa.com/t/onrelease-on-dynamicly-added-movieclips/293889)

<div class="topic-metadata">

**Author:** [@blackan](https://forum.kirupa.com/u/blackan)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 1:09pm UTC](https://forum.kirupa.com/t/onrelease-on-dynamicly-added-movieclips/293889 "2009-08-05T13:09:03Z")

</div>

I'm trying to add images from an XML and making them clickable. It's been a while since I did some actionscripting, som I'm a little rusty. Thought this would work but they won't let me click them \[stuck\_out\_tongue\] Any …

---

## [If statement combines with swapDepths?](https://forum.kirupa.com/t/if-statement-combines-with-swapdepths/293887)

<div class="topic-metadata">

**Author:** [@scotia2k6](https://forum.kirupa.com/u/scotia2k6)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 12:44pm UTC](https://forum.kirupa.com/t/if-statement-combines-with-swapdepths/293887 "2009-08-05T12:44:14Z")

</div>

Hello folks - hope you are all well! Ive mentioned before Im a useless coder & cobble things together from tutorials & help files - so forgive the laughable & inelegant code! I have two mc's (qrfc\_mc & breeders\_mc) & a…

---

## [I need function zoom with pan](https://forum.kirupa.com/t/i-need-function-zoom-with-pan/293886)

<div class="topic-metadata">

**Author:** [@my\_flash](https://forum.kirupa.com/u/my_flash)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 12:43pm UTC](https://forum.kirupa.com/t/i-need-function-zoom-with-pan/293886 "2009-08-05T12:43:32Z")

</div>

Hi, I need function zoom with pan. action script plz urgent thanks.:disco:

---

## [The Script](https://forum.kirupa.com/t/the-script/293884)

<div class="topic-metadata">

**Author:** [@ron\_ron](https://forum.kirupa.com/u/ron_ron)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 9:37am UTC](https://forum.kirupa.com/t/the-script/293884 "2009-08-05T09:37:38Z")

</div>

How do I write the PHP server script to get the text which is in a Dynamic Textbox? \<?PHP $to = mail@mail.net; $subject = "SUBJECT SUBJECT"; $headers = "From:" .$email." "; $headers .= "Bcc: $email "; $message =…

---

## [PHP server script?](https://forum.kirupa.com/t/php-server-script/293883)

<div class="topic-metadata">

**Author:** [@ron\_ron](https://forum.kirupa.com/u/ron_ron)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 9:20am UTC](https://forum.kirupa.com/t/php-server-script/293883 "2009-08-05T09:20:43Z")

</div>

How do I write the PHP server script to get the text which is in a Dynamic Textbox? \<?PHP $to = mail@mail.net; $subject = "SUBJECT SUBJECT"; $headers = "From:" .$email." "; $headers .= "Bcc: $email "; $message =…

---

## [URLLoader and just Loader](https://forum.kirupa.com/t/urlloader-and-just-loader/293882)

<div class="topic-metadata">

**Author:** [@Ricky55](https://forum.kirupa.com/u/Ricky55)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 9:02am UTC](https://forum.kirupa.com/t/urlloader-and-just-loader/293882 "2009-08-05T09:02:57Z")

</div>

Whats the difference between a URLLoader and just a loader? and when would you use each one? Just been watching a video tutorial and the guy loaded some XML using the URLLoader but I've seen just the Loader being use…

---

## [Loading Bar](https://forum.kirupa.com/t/loading-bar/293881)

<div class="topic-metadata">

**Author:** [@natburch](https://forum.kirupa.com/u/natburch)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 8:51am UTC](https://forum.kirupa.com/t/loading-bar/293881 "2009-08-05T08:51:53Z")

</div>

Hi, I have a movie that loads flv videos from an xml file. They can take a while to load so need to add a loading bar. Not sure what I need to add to the following code so any help would be very much appreciated ... …

---

## [Create Hide/Unhide Function](https://forum.kirupa.com/t/create-hide-unhide-function/293878)

<div class="topic-metadata">

**Author:** [@wispas](https://forum.kirupa.com/u/wispas)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 8:37am UTC](https://forum.kirupa.com/t/create-hide-unhide-function/293878 "2009-08-05T08:37:17Z")

</div>

Hi, i am trying to create a function like this one on the website: www.\*\*octopustravel\*\*.com/ in the search on the left where it says 'how many rooms' - when you select the drop down and pick 2 rooms a new row automa…

---

## [Linking to named frames using XML menu](https://forum.kirupa.com/t/linking-to-named-frames-using-xml-menu/293877)

<div class="topic-metadata">

**Author:** [@grldnmb9](https://forum.kirupa.com/u/grldnmb9)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 8:26am UTC](https://forum.kirupa.com/t/linking-to-named-frames-using-xml-menu/293877 "2009-08-05T08:26:28Z")

</div>

Greetings to all. I have just joined this forum after searching for days for a solution to my problem. I downloaded a flash/xml menu and I would want to link to a spacific frame on my flash website. I'm not that goo…

---

## [Multiple dynamique text autoscroll](https://forum.kirupa.com/t/multiple-dynamique-text-autoscroll/293876)

<div class="topic-metadata">

**Author:** [@Paline](https://forum.kirupa.com/u/Paline)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 8:26am UTC](https://forum.kirupa.com/t/multiple-dynamique-text-autoscroll/293876 "2009-08-05T08:26:01Z")

</div>

Hello everyone! Long time i did not come to here, but i'm making flash things for my work again, so i thought i'll come were people help is the best! Here is my issue I am trying to make an autoscrolling right to left …

---

## [SWF Player Component](https://forum.kirupa.com/t/swf-player-component/293873)

<div class="topic-metadata">

**Author:** [@hagop](https://forum.kirupa.com/u/hagop)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 8:01am UTC](https://forum.kirupa.com/t/swf-player-component/293873 "2009-08-05T08:01:11Z")

</div>

Hi all I am loading an external swf file into my swf file in CS4 with AS2. The reason I am doing this is that the external swf file contains a sequence of images and I tried to convert it to flv video but using many tr…

---

## [Sending data to PhP script (help with AS2-AS3 conversion)](https://forum.kirupa.com/t/sending-data-to-php-script-help-with-as2-as3-conversion/293871)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 6:57am UTC](https://forum.kirupa.com/t/sending-data-to-php-script-help-with-as2-as3-conversion/293871 "2009-08-05T06:57:00Z")

</div>

I have a project that will take and XML string and send it to a PhP script that will stores it in a .CSV . The code navigates the browser to the php file which then automatically navigates the user to a debreifing page.…

---

## [Button:convert AS2 script to AS3](https://forum.kirupa.com/t/button-convert-as2-script-to-as3/293870)

<div class="topic-metadata">

**Author:** [@donkeykong](https://forum.kirupa.com/u/donkeykong)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 6:55am UTC](https://forum.kirupa.com/t/button-convert-as2-script-to-as3/293870 "2009-08-05T06:55:28Z")

</div>

hi all I have this animated button in AS2 and I was wondering how to convert to AS3 can anyone help? I have a movieclip, with AS2 script, rollover go to and play frame x, this is the script stop(); on (rollOver) …

---

## [Finding Object / hidden Object Games](https://forum.kirupa.com/t/finding-object-hidden-object-games/293869)

<div class="topic-metadata">

**Author:** [@kpranjan1](https://forum.kirupa.com/u/kpranjan1)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 6:21am UTC](https://forum.kirupa.com/t/finding-object-hidden-object-games/293869 "2009-08-05T06:21:53Z")

</div>

Hi All, Anybody have idea of making Finding Object Game. I have to create tutorial Popups in that game that will come on the top most of the screen. that will contain there buttons like skip,next,close .. and for al…

---

## [Capturing input and dynamic text for email submission](https://forum.kirupa.com/t/capturing-input-and-dynamic-text-for-email-submission/293868)

<div class="topic-metadata">

**Author:** [@matlock](https://forum.kirupa.com/u/matlock)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 4:56am UTC](https://forum.kirupa.com/t/capturing-input-and-dynamic-text-for-email-submission/293868 "2009-08-05T04:56:22Z")

</div>

I'm working on a project that needs to capture information both in dynamic text boxes and user input information from input text boxes to be emailed to a particular email address in the form of a response. I have seen an…

---

## [Mouse Movement to play animation](https://forum.kirupa.com/t/mouse-movement-to-play-animation/293866)

<div class="topic-metadata">

**Author:** [@surajitkarmokar](https://forum.kirupa.com/u/surajitkarmokar)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 4:16am UTC](https://forum.kirupa.com/t/mouse-movement-to-play-animation/293866 "2009-08-05T04:16:23Z")

</div>

Hi all, I am new to advanced actionscript. I have created a animation of a rectangle which moves from left to right. With the use of the mouse the rectangle animation should play. When i move the mouse to left rec…

---

## [Motion editor with Shape Tween](https://forum.kirupa.com/t/motion-editor-with-shape-tween/293865)

<div class="topic-metadata">

**Author:** [@General\_Tso](https://forum.kirupa.com/u/General_Tso)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 4:13am UTC](https://forum.kirupa.com/t/motion-editor-with-shape-tween/293865 "2009-08-05T04:13:42Z")

</div>

I've been using the motion editor for my Motion Tweens, but as you probably know, I can't use the motion editor on a Shape Tween. Is there no way to do this? I just want it to slowly ease in. Does anyone know a work-ar…

---

## ["..." at the end of textfield](https://forum.kirupa.com/t/at-the-end-of-textfield/293861)

<div class="topic-metadata">

**Author:** [@pardoner](https://forum.kirupa.com/u/pardoner)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 3:04am UTC](https://forum.kirupa.com/t/at-the-end-of-textfield/293861 "2009-08-05T03:04:42Z")

</div>

I'm attempting to make a Textfield that is a fixed size and that replaces the overflow text that an ellipse (...). Has anyone found any clever ways to do this?

---

## [UIScrollBar setScrollTarget not working](https://forum.kirupa.com/t/uiscrollbar-setscrolltarget-not-working/293860)

<div class="topic-metadata">

**Author:** [@DashMasterful](https://forum.kirupa.com/u/DashMasterful)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 2:14am UTC](https://forum.kirupa.com/t/uiscrollbar-setscrolltarget-not-working/293860 "2009-08-05T02:14:12Z")

</div>

I have a movieclip that contains a TextField and a UIScrollBar. When I try to link the textfield to the scrollbar with myScrollbar.setScrollTarget(myTextField), it doesn't work, any ideas, I'm using as2 in cs3 with flash…

---

## [HELP XML AS2 Image onRelease](https://forum.kirupa.com/t/help-xml-as2-image-onrelease/293858)

<div class="topic-metadata">

**Author:** [@philipecr](https://forum.kirupa.com/u/philipecr)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 11:37pm UTC](https://forum.kirupa.com/t/help-xml-as2-image-onrelease/293858 "2009-08-04T23:37:46Z")

</div>

Hey guys \[smile\] In need of some help - would like to be able to click on a specific image and set specific URL-address. Here is my code so far; function loadXML(loaded) { if (loaded) { totalImgs = xmlData…

---

## [Calling Stage Resize Listener on First Frame](https://forum.kirupa.com/t/calling-stage-resize-listener-on-first-frame/293857)

<div class="topic-metadata">

**Author:** [@JBN](https://forum.kirupa.com/u/JBN)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 11:22pm UTC](https://forum.kirupa.com/t/calling-stage-resize-listener-on-first-frame/293857 "2009-08-04T23:22:46Z")

</div>

Hey there, I'm basically doing this tutorial, but in AS 2.0. I've got it working great, but I'm missing something really stupid: how do I call the re-size action at the first frame? It works great once you resize, but…

---

## [New collection of Actionscript 2.0 codes for designers](https://forum.kirupa.com/t/new-collection-of-actionscript-2-0-codes-for-designers/293856)

<div class="topic-metadata">

**Author:** [@Visual\_Code](https://forum.kirupa.com/u/Visual_Code)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 10:53pm UTC](https://forum.kirupa.com/t/new-collection-of-actionscript-2-0-codes-for-designers/293856 "2009-08-04T22:53:55Z")

</div>

Visual Code is a collection of Actionscript codes specifically for designers and artists. The benefit of this collection is that it does not require any previous knowledge in programming. We look at it …

---

## [Changing button states when clicked](https://forum.kirupa.com/t/changing-button-states-when-clicked/293853)

<div class="topic-metadata">

**Author:** [@icekomo](https://forum.kirupa.com/u/icekomo)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 9:20pm UTC](https://forum.kirupa.com/t/changing-button-states-when-clicked/293853 "2009-08-04T21:20:32Z")

</div>

hello all, I have been working on a button class and ran into a little bit of a snag. Here is the class I created: package { import flash.display.\*; import flash.events.\*; public class BasicButton extends Sprite { p…

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

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