# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=1029

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

**Page:** 1030

---

## [Detecting when any movieclip appears on the Stage's timeline](https://forum.kirupa.com/t/detecting-when-any-movieclip-appears-on-the-stages-timeline/255611)

<div class="topic-metadata">

**Author:** [@Glidias](https://forum.kirupa.com/u/Glidias)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 10:26am UTC](https://forum.kirupa.com/t/detecting-when-any-movieclip-appears-on-the-stages-timeline/255611 "2008-03-25T10:26:05Z")

</div>

Is there a way to detect when any particular movieclip appears on the stage's timeline in AS2? Attempt #1: The MovieClip.prototype.onEnterFrame hack All Movieclips have an Enterframe event. I set it to attempt to dele…

---

## [Problems loading an AS2 swf](https://forum.kirupa.com/t/problems-loading-an-as2-swf/255610)

<div class="topic-metadata">

**Author:** [@foldthem](https://forum.kirupa.com/u/foldthem)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 9:51am UTC](https://forum.kirupa.com/t/problems-loading-an-as2-swf/255610 "2008-03-25T09:51:34Z")

</div>

Hello, FILE1.SWF (AS2) that loads it's variables from a .txt file using LoadVariablesNum("variables.txt", 0); file1 has a dynamic textbox with a var from variables.txt FILE2.SWF (AS3): AS3 SWF that loads FILE1.…

---

## [Nesting mouseX = \_xmouse; function](https://forum.kirupa.com/t/nesting-mousex--xmouse-function/255609)

<div class="topic-metadata">

**Author:** [@keith\_chegwin](https://forum.kirupa.com/u/keith_chegwin)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 9:39am UTC](https://forum.kirupa.com/t/nesting-mousex--xmouse-function/255609 "2008-03-25T09:39:08Z")

</div>

hi Guys, I am trying to create a horizontal scrollable movie clip thats works in a nested movie clip At the moment I am using this code and it only works in the root. Do you know how I can fix it to work in a nested …

---

## [Correct way to pass a reference?](https://forum.kirupa.com/t/correct-way-to-pass-a-reference/255607)

<div class="topic-metadata">

**Author:** [@sceneshift](https://forum.kirupa.com/u/sceneshift)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 8:53am UTC](https://forum.kirupa.com/t/correct-way-to-pass-a-reference/255607 "2008-03-25T08:53:49Z")

</div>

Hi, Can someone please set me straight on how to communicate properly over different classes. Lets say I have two classes, one is "photo" and the other is "album"... in this instance, both classes are instantiated from…

---

## [n00b question](https://forum.kirupa.com/t/n00b-question/255606)

<div class="topic-metadata">

**Author:** [@zacus](https://forum.kirupa.com/u/zacus)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 8:19am UTC](https://forum.kirupa.com/t/n00b-question/255606 "2008-03-25T08:19:50Z")

</div>

Hey :crazy: I just installed my shiny new Adobe Flash CS3 Professional and im using it for pretty much the first time, im working on a web page at the moment and i have made the images i need imported them and they are…

---

## [This AS does not work in players 7 upwards](https://forum.kirupa.com/t/this-as-does-not-work-in-players-7-upwards/255602)

<div class="topic-metadata">

**Author:** [@plashbydo](https://forum.kirupa.com/u/plashbydo)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 6:21am UTC](https://forum.kirupa.com/t/this-as-does-not-work-in-players-7-upwards/255602 "2008-03-25T06:21:46Z")

</div>

Can any bright sparks suggest why this code only works in player 6 or below? var grow = 2; var speed = .50; var elastic = .55; movieclip.prototype.initScale = function() { this.myScale = this.\_xscale; }; Movie…

---

## [1037: packages cannot be nested](https://forum.kirupa.com/t/1037-packages-cannot-be-nested/255599)

<div class="topic-metadata">

**Author:** [@Evan70](https://forum.kirupa.com/u/Evan70)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 5:00am UTC](https://forum.kirupa.com/t/1037-packages-cannot-be-nested/255599 "2008-03-25T05:00:19Z")

</div>

I am using Flash cs3 with AS 3.0 and trying to experiment with code given in the "Actionscript 3.0 Cookbook" I apply the script to a keyframe in layer1 where I would place my scripts, \*\*The error I am getting is \[…

---

## [Expanding Menus in Flash](https://forum.kirupa.com/t/expanding-menus-in-flash/255593)

<div class="topic-metadata">

**Author:** [@sean1](https://forum.kirupa.com/u/sean1)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 4:15am UTC](https://forum.kirupa.com/t/expanding-menus-in-flash/255593 "2008-03-25T04:15:47Z")

</div>

I'm working with a flash template that has a line of animated buttons. I'm trying to expand the menu by copying the menu and placing the three copies below the original. My problem is the copies are linked. I can't chang…

---

## [Make a moveclip a link?](https://forum.kirupa.com/t/make-a-moveclip-a-link/255592)

<div class="topic-metadata">

**Author:** [@ScoobyDooobyD00](https://forum.kirupa.com/u/ScoobyDooobyD00)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 3:23am UTC](https://forum.kirupa.com/t/make-a-moveclip-a-link/255592 "2008-03-25T03:23:40Z")

</div>

I'm wanting to make a movie clip a link, the movie clip loads an image from a php file. Heres the actionscript that loads the image, if it helps. Also, how do a load text into a dynamic text box with this script. The t…

---

## [Button States](https://forum.kirupa.com/t/button-states/255591)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 3:22am UTC](https://forum.kirupa.com/t/button-states/255591 "2008-03-25T03:22:54Z")

</div>

Hello: I've been trying to comprehend the buttons states tutorial at - http://www.zedia.net/making-a-simple-button-using-tweens-and-sprites-in-actionscript-3/ But I get lots of errors. I was wondering if someone coul…

---

## [ComboBox AS2 question](https://forum.kirupa.com/t/combobox-as2-question/255589)

<div class="topic-metadata">

**Author:** [@tchum](https://forum.kirupa.com/u/tchum)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 3:01am UTC](https://forum.kirupa.com/t/combobox-as2-question/255589 "2008-03-25T03:01:26Z")

</div>

I want to use a ComboBox to load SWFs, rather than assigning AS2 to a static button. The current, static code is simple, and works fine: on (release) { this.emptyMCtoc.loadMovie("edition\_3\_toc.swf"); this.emptyMCpag…

---

## [Motion tweening AS3 components](https://forum.kirupa.com/t/motion-tweening-as3-components/255583)

<div class="topic-metadata">

**Author:** [@flextnet](https://forum.kirupa.com/u/flextnet)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 12:57am UTC](https://forum.kirupa.com/t/motion-tweening-as3-components/255583 "2008-03-25T00:57:00Z")

</div>

Hi- I'm having a strange issue, and I wonder if anyone else has seen it or found a workaround... I'm simply trying to apply a timeline motion tween to an AS3 component on the stage. The key frames are all set up fine…

---

## [Mouse STAGE Confusion](https://forum.kirupa.com/t/mouse-stage-confusion/255581)

<div class="topic-metadata">

**Author:** [@bnns](https://forum.kirupa.com/u/bnns)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 12:11am UTC](https://forum.kirupa.com/t/mouse-stage-confusion/255581 "2008-03-25T00:11:59Z")

</div>

I am working on a flash application that takes in the mouse's location on the stage and then gets objects to rotate around it based on its location. The problem is that whenever the mouse moves over one of my objects it …

---

## [RE: Fading in flash](https://forum.kirupa.com/t/re-fading-in-flash/255578)

<div class="topic-metadata">

**Author:** [@george2409](https://forum.kirupa.com/u/george2409)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 11:35pm UTC](https://forum.kirupa.com/t/re-fading-in-flash/255578 "2008-03-24T23:35:15Z")

</div>

Hey everyone, I am bringing an image into flash and it is constantly coming out faded. I try to change the colour balance in the effects but this makes it look too artificial. Is there a way of bringing an image into f…

---

## [Grabbing BitmapData library item and adding to display list](https://forum.kirupa.com/t/grabbing-bitmapdata-library-item-and-adding-to-display-list/255577)

<div class="topic-metadata">

**Author:** [@eilinora](https://forum.kirupa.com/u/eilinora)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 11:25pm UTC](https://forum.kirupa.com/t/grabbing-bitmapdata-library-item-and-adding-to-display-list/255577 "2008-03-24T23:25:56Z")

</div>

I can't seem to get this to work with BitmapData library items, though it is working for the MovieClip items... I have a utility function which grabs items from the library public static function create(className:Str…

---

## [Adding/Removing Listeners](https://forum.kirupa.com/t/adding-removing-listeners/255575)

<div class="topic-metadata">

**Author:** [@trundrumbalind](https://forum.kirupa.com/u/trundrumbalind)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 10:38pm UTC](https://forum.kirupa.com/t/adding-removing-listeners/255575 "2008-03-24T22:38:16Z")

</div>

Hi guys, ok I have movieclips which have timeline animations on them as they are animated buttons. So, I want to set up the following listeners... MOUSE\_OVER -\> Play the movieclip and delete the enterframe when it hit…

---

## [External Movie Clip Button Overlap](https://forum.kirupa.com/t/external-movie-clip-button-overlap/255571)

<div class="topic-metadata">

**Author:** [@ageshi](https://forum.kirupa.com/u/ageshi)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 9:19pm UTC](https://forum.kirupa.com/t/external-movie-clip-button-overlap/255571 "2008-03-24T21:19:22Z")

</div>

Hey everyone, I've googled and searched this forum but the solutions don't seem to resolve my issue. I have a main Flash movie with buttons that calls in an external movie clip with buttons like so: empty.loadMovie(…

---

## [Problem with values in a text box flash 8 (as2)](https://forum.kirupa.com/t/problem-with-values-in-a-text-box-flash-8-as2/255569)

<div class="topic-metadata">

**Author:** [@saturni07](https://forum.kirupa.com/u/saturni07)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 9:04pm UTC](https://forum.kirupa.com/t/problem-with-values-in-a-text-box-flash-8-as2/255569 "2008-03-24T21:04:34Z")

</div>

Hi , can you help me please? I have a text box in which the user can add only numbers, in my program also i have a static text box in which a have written a text. The problem is that every character used in the stati…

---

## [TextField setTextFormat() method](https://forum.kirupa.com/t/textfield-settextformat-method/255565)

<div class="topic-metadata">

**Author:** [@jwilliam](https://forum.kirupa.com/u/jwilliam)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 8:33pm UTC](https://forum.kirupa.com/t/textfield-settextformat-method/255565 "2008-03-24T20:33:43Z")

</div>

When I have a line of text in a TextField with portions of the text having different fonts, it seems to be breaking the text where the font changes. So, if I have "Hello World" and Hello is Font A and World is Font B, i…

---

## [... a good tutorial to components creation?](https://forum.kirupa.com/t/a-good-tutorial-to-components-creation/255564)

<div class="topic-metadata">

**Author:** [@LeonardoZimbres](https://forum.kirupa.com/u/LeonardoZimbres)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 8:33pm UTC](https://forum.kirupa.com/t/a-good-tutorial-to-components-creation/255564 "2008-03-24T20:33:32Z")

</div>

:luigi: Somebody know a good tutorial that teaches how to create components, in as 3.0 and well, with good practices?

---

## [How to put flash files together into a webpage?](https://forum.kirupa.com/t/how-to-put-flash-files-together-into-a-webpage/255559)

<div class="topic-metadata">

**Author:** [@toffe](https://forum.kirupa.com/u/toffe)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 7:41pm UTC](https://forum.kirupa.com/t/how-to-put-flash-files-together-into-a-webpage/255559 "2008-03-24T19:41:40Z")

</div>

Hi! What I don't understand is what I'm supposed to do within the .swf, and what I'm supposed to do with html. Lets say I want to build a flash site with a menu which never reloads and which buttons open different "…

---

## [Nest an accordian component in another accordian problem](https://forum.kirupa.com/t/nest-an-accordian-component-in-another-accordian-problem/255556)

<div class="topic-metadata">

**Author:** [@AGKbrian](https://forum.kirupa.com/u/AGKbrian)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 7:02pm UTC](https://forum.kirupa.com/t/nest-an-accordian-component-in-another-accordian-problem/255556 "2008-03-24T19:02:16Z")

</div>

So what i am trying to do is nest an accordion component inside another accordion. I can get it to work in that they both show up. My problem lies with the 2nd accordion inside, i cant figure out where i need to set the…

---

## [Stupid displayList problem: Sprites added to Sprites appear as "not found..."](https://forum.kirupa.com/t/stupid-displaylist-problem-sprites-added-to-sprites-appear-as-not-found/255555)

<div class="topic-metadata">

**Author:** [@Stickeroo](https://forum.kirupa.com/u/Stickeroo)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 6:46pm UTC](https://forum.kirupa.com/t/stupid-displaylist-problem-sprites-added-to-sprites-appear-as-not-found/255555 "2008-03-24T18:46:36Z")

</div>

I'm creating an unholy mess of sprites because I clearly hate myself. With that out of the way, here's what I'm running into. I've created a class that in turn generates a bunch of sprites for itself. This all works as…

---

## [Edit Text in scroll bar](https://forum.kirupa.com/t/edit-text-in-scroll-bar/255553)

<div class="topic-metadata">

**Author:** [@Azoteone](https://forum.kirupa.com/u/Azoteone)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 6:36pm UTC](https://forum.kirupa.com/t/edit-text-in-scroll-bar/255553 "2008-03-24T18:36:50Z")

</div>

Hi Everybody, i have a problem editing a text in Flash, I need a text but is so much text for the size of my escene, i need to put a scrollbar, i put a textbox in dynamic text, multiline, i put the scroll bar and it work…

---

## [Calling Flash Function on specific frame?](https://forum.kirupa.com/t/calling-flash-function-on-specific-frame/255549)

<div class="topic-metadata">

**Author:** [@Ibanez271](https://forum.kirupa.com/u/Ibanez271)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 6:00pm UTC](https://forum.kirupa.com/t/calling-flash-function-on-specific-frame/255549 "2008-03-24T18:00:10Z")

</div>

I have a function declaration on frame 1. Is there any way to call this function from frame 1 but use information on lets say frame 3? For ex. Frame 1: function getTSText() { var TS:TextSnapshot = this.textSnap…

---

## [What is the best way for a seamless animation?](https://forum.kirupa.com/t/what-is-the-best-way-for-a-seamless-animation/255546)

<div class="topic-metadata">

**Author:** [@scott1969](https://forum.kirupa.com/u/scott1969)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 5:44pm UTC](https://forum.kirupa.com/t/what-is-the-best-way-for-a-seamless-animation/255546 "2008-03-24T17:44:26Z")

</div>

In the website I am developing I am trying to create a seamless cog effect. I am having difficulty getting the chain to animate seamlessly in reverse. I am also having difficulty with the synchronization of the cogs. Any…

---

## [Store Information Locally](https://forum.kirupa.com/t/store-information-locally/255544)

<div class="topic-metadata">

**Author:** [@NathanZachary](https://forum.kirupa.com/u/NathanZachary)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 5:21pm UTC](https://forum.kirupa.com/t/store-information-locally/255544 "2008-03-24T17:21:28Z")

</div>

I'm currently making a Flash object, which would require me to save some data locally on the Users Computer. Ive been through tons of web pages, without really finding out how to store and receive locally stored informat…

---

## [Display scene numbers](https://forum.kirupa.com/t/display-scene-numbers/255543)

<div class="topic-metadata">

**Author:** [@punky79](https://forum.kirupa.com/u/punky79)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 5:18pm UTC](https://forum.kirupa.com/t/display-scene-numbers/255543 "2008-03-24T17:18:27Z")

</div>

Hi, I have a flash movie that moves between seperate scenes. I want to display what scene the user is on. e.g " Scene 2 of 9" Any help would be great \[image\]

---

## [Simple button navigation in cs3](https://forum.kirupa.com/t/simple-button-navigation-in-cs3/255542)

<div class="topic-metadata">

**Author:** [@Evan70](https://forum.kirupa.com/u/Evan70)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 5:15pm UTC](https://forum.kirupa.com/t/simple-button-navigation-in-cs3/255542 "2008-03-24T17:15:44Z")

</div>

:ponder:I have this code: stop(); function eventResponse(evt:MouseEvent):void { gotoAndStop("one");} btn\_one.addEventListener(MouseEvent.MOUSE\_UP,eventResponse); function beventResponse(evt:MouseEvent):void…

---

## [Ordering by date in a hash array](https://forum.kirupa.com/t/ordering-by-date-in-a-hash-array/255541)

<div class="topic-metadata">

**Author:** [@clem\_c\_rock](https://forum.kirupa.com/u/clem_c_rock)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 5:06pm UTC](https://forum.kirupa.com/t/ordering-by-date-in-a-hash-array/255541 "2008-03-24T17:06:18Z")

</div>

Hello, I'm trying to find a solution for ordering a hash array by dates. The dates are coming from a feed and are in this form: Wed, 01 Nov 2006 13:52:46 GM Does anyone know of any flash date extensions that c…

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=1028)

[Next page](https://forum.kirupa.com/c/programming/flash/38.md?page=1030)
