# flash

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

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

**Page:** 1143

---

## [Urgent need help! XML Thumbnail Gallery preloaders](https://forum.kirupa.com/t/urgent-need-help-xml-thumbnail-gallery-preloaders/246070)

<div class="topic-metadata">

**Author:** [@amstiegmann](https://forum.kirupa.com/u/amstiegmann)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 7:50pm UTC](https://forum.kirupa.com/t/urgent-need-help-xml-thumbnail-gallery-preloaders/246070 "2007-12-06T19:50:02Z")

</div>

\[LEFT\]Hi. I've gone through and am using the XML Thumbnail Gallery tutorial. But it doesn't explain how to add preloaders for each thumbnail. Has anyone found out how to add a preloader for each thumbnail? Someone's …

---

## [Cannot add an anchor point](https://forum.kirupa.com/t/cannot-add-an-anchor-point/246069)

<div class="topic-metadata">

**Author:** [@Josflos](https://forum.kirupa.com/u/Josflos)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 7:38pm UTC](https://forum.kirupa.com/t/cannot-add-an-anchor-point/246069 "2007-12-06T19:38:22Z")

</div>

Hey, I am working on a walk cycle. This is my first project where I use the pen tool and the subselection tool often, but I have a problem. I made an open path and only straight lines. This is my "template" of the leg …

---

## [getDefinitionByName("Sprite")](https://forum.kirupa.com/t/getdefinitionbyname-sprite/246065)

<div class="topic-metadata">

**Author:** [@Felixz](https://forum.kirupa.com/u/Felixz)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 7:15pm UTC](https://forum.kirupa.com/t/getdefinitionbyname-sprite/246065 "2007-12-06T19:15:03Z")

</div>

Is there a way to call getDefinitionByName() on classes another than those in library? This approach gives error ReferenceError: Error #1065: Variable SomeVariableClass is not defined.

---

## [Preloader on Frame 1 of main movie](https://forum.kirupa.com/t/preloader-on-frame-1-of-main-movie/246063)

<div class="topic-metadata">

**Author:** [@elburrodiablo](https://forum.kirupa.com/u/elburrodiablo)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 6:45pm UTC](https://forum.kirupa.com/t/preloader-on-frame-1-of-main-movie/246063 "2007-12-06T18:45:21Z")

</div>

Below you'll see the code for the preloader I've been using for the past few weeks. It works fine if I want to have two separate SWFs (the main SWF, and the preloader SWF.) Unfortunately, for the current project I am …

---

## [Tracking URL in CS3 Banner](https://forum.kirupa.com/t/tracking-url-in-cs3-banner/246058)

<div class="topic-metadata">

**Author:** [@OmiE](https://forum.kirupa.com/u/OmiE)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 5:26pm UTC](https://forum.kirupa.com/t/tracking-url-in-cs3-banner/246058 "2007-12-06T17:26:39Z")

</div>

Hello everyone, I created a simple banner with a button that when you mouse over it changes a different color and some mild math coding to make snow fall in the front. I have used this actionscript to add URLs to prev…

---

## [Coding for Flash 5](https://forum.kirupa.com/t/coding-for-flash-5/246052)

<div class="topic-metadata">

**Author:** [@wyclef](https://forum.kirupa.com/u/wyclef)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 4:57pm UTC](https://forum.kirupa.com/t/coding-for-flash-5/246052 "2007-12-06T16:57:26Z")

</div>

how can i get this to work in Flash 5. Seems to have trouble with the Void part. \[AS\] rectMask\_mc.\_height = 1; this.onEnterFrame = function():Void { var loadedData:Number = this.getBytesLoaded(); var allData:Number …

---

## [Working with the new display list](https://forum.kirupa.com/t/working-with-the-new-display-list/246048)

<div class="topic-metadata">

**Author:** [@the\_lar](https://forum.kirupa.com/u/the_lar)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 4:38pm UTC](https://forum.kirupa.com/t/working-with-the-new-display-list/246048 "2007-12-06T16:38:10Z")

</div>

Hi all, I'm quite new to AS3 so please bear with me. I have read that the attachMovie has been replaced by addChild. I'm not sure how this works though. Basically I have a document class in which I have all my game cod…

---

## [Apply Gradient to Box](https://forum.kirupa.com/t/apply-gradient-to-box/246044)

<div class="topic-metadata">

**Author:** [@MDiddy](https://forum.kirupa.com/u/MDiddy)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 3:56pm UTC](https://forum.kirupa.com/t/apply-gradient-to-box/246044 "2007-12-06T15:56:42Z")

</div>

I need to apply a gradient and I read this article about making a custom MXML component to accomplish this. It seemed pretty straight forward but I haven't been able to get the gradient to appear. I guess the only wri…

---

## [FLV component seekbar handle](https://forum.kirupa.com/t/flv-component-seekbar-handle/246042)

<div class="topic-metadata">

**Author:** [@mhunt](https://forum.kirupa.com/u/mhunt)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 3:28pm UTC](https://forum.kirupa.com/t/flv-component-seekbar-handle/246042 "2007-12-06T15:28:14Z")

</div>

I recently reskinned the flv playback compnent but it won't let me target the handle\_mc that goes along with the seek bar I can't give it an instance name or else it throws and error in the compiler. Anyone have any idea…

---

## [SQL or XML for flash](https://forum.kirupa.com/t/sql-or-xml-for-flash/246039)

<div class="topic-metadata">

**Author:** [@RabBell](https://forum.kirupa.com/u/RabBell)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 3:12pm UTC](https://forum.kirupa.com/t/sql-or-xml-for-flash/246039 "2007-12-06T15:12:37Z")

</div>

Idea is for a flash video to get the video's file location is should be playing from either a database or that the database could populate an XML file and the flash movie could use that instead. I'm adjusting from Acti…

---

## [Load/unload movie-goto next frame on timeline](https://forum.kirupa.com/t/load-unload-movie-goto-next-frame-on-timeline/246038)

<div class="topic-metadata">

**Author:** [@Dpots](https://forum.kirupa.com/u/Dpots)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 2:54pm UTC](https://forum.kirupa.com/t/load-unload-movie-goto-next-frame-on-timeline/246038 "2007-12-06T14:54:07Z")

</div>

I have a main flash file that I load various external swf files into. On the first frame of the timeline, there is an intro swf loaded that basically welcoming the viewer to the site. What I want to do is have this load,…

---

## [Problem with gallery. Images are not showing](https://forum.kirupa.com/t/problem-with-gallery-images-are-not-showing/246037)

<div class="topic-metadata">

**Author:** [@Sannu](https://forum.kirupa.com/u/Sannu)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 2:51pm UTC](https://forum.kirupa.com/t/problem-with-gallery-images-are-not-showing/246037 "2007-12-06T14:51:20Z")

</div>

Hello, I'm making a gallery. What gallery would it be without image scaling, right? So I found this code (Which is between //// signs). As you may already understood, I'm a beginner to flash. Now the problem: The image l…

---

## [How to detach snow](https://forum.kirupa.com/t/how-to-detach-snow/246035)

<div class="topic-metadata">

**Author:** [@Eskymo](https://forum.kirupa.com/u/Eskymo)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 2:38pm UTC](https://forum.kirupa.com/t/how-to-detach-snow/246035 "2007-12-06T14:38:07Z")

</div>

Hi All I'm using the script from the tutorial 'Flash Snow 3' http://www.kirupa.com/developer/flash8/snow.htm in an ecard and at the end of the animation I want to snow to disappear - how do I detach the movieclip?

---

## [Removing Dynamic FLVPlayback Component](https://forum.kirupa.com/t/removing-dynamic-flvplayback-component/246034)

<div class="topic-metadata">

**Author:** [@loydmav](https://forum.kirupa.com/u/loydmav)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 2:31pm UTC](https://forum.kirupa.com/t/removing-dynamic-flvplayback-component/246034 "2007-12-06T14:31:25Z")

</div>

I have a streaming video which streams and I have managed to detect when it stops playing so that I can mak the buttons appear again. But how do I tell the video instance to dissapear once it has finished playing? Her…

---

## [Video player and cue points](https://forum.kirupa.com/t/video-player-and-cue-points/246029)

<div class="topic-metadata">

**Author:** [@MikoshMarinin](https://forum.kirupa.com/u/MikoshMarinin)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 2:08pm UTC](https://forum.kirupa.com/t/video-player-and-cue-points/246029 "2007-12-06T14:08:02Z")

</div>

Hi all, I am using simple flash insert video wizard to create video with controls on my website. I need the page redirect (just to go to another page) when the video reaches its end, and suppose that I have to do it th…

---

## [Events in custom classes](https://forum.kirupa.com/t/events-in-custom-classes/246027)

<div class="topic-metadata">

**Author:** [@Flufferino](https://forum.kirupa.com/u/Flufferino)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 1:51pm UTC](https://forum.kirupa.com/t/events-in-custom-classes/246027 "2007-12-06T13:51:32Z")

</div>

Ok I finally realize that I don't understand how the EventDispatcher works. Or, perhaps, not fully understands it anyway. My problem: I've created a custom class, lets call it Bounce. Everytime the ball hits the groun…

---

## [How to make this addition to the XML image gallery?](https://forum.kirupa.com/t/how-to-make-this-addition-to-the-xml-image-gallery/246026)

<div class="topic-metadata">

**Author:** [@Dane\_the\_Viking](https://forum.kirupa.com/u/Dane_the_Viking)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 1:43pm UTC](https://forum.kirupa.com/t/how-to-make-this-addition-to-the-xml-image-gallery/246026 "2007-12-06T13:43:47Z")

</div>

Hi there. I have searched the forums but obviously didn't find what i was looking for. I am looking for a way to make a XML gallery like the one on this site, without the thumbnails. What i need it to be able to do…

---

## [How to embed video in flash banner?](https://forum.kirupa.com/t/how-to-embed-video-in-flash-banner/246021)

<div class="topic-metadata">

**Author:** [@HamsterDK](https://forum.kirupa.com/u/HamsterDK)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 11:44am UTC](https://forum.kirupa.com/t/how-to-embed-video-in-flash-banner/246021 "2007-12-06T11:44:25Z")

</div>

Can someone describe this process? I'm making a banner for a friend and he wants a videoclip to start play when you rollover the mouse. The video itself is to be located on a server and not in the banner itself. Ca…

---

## [Looping enterFrame](https://forum.kirupa.com/t/looping-enterframe/246020)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 11:34am UTC](https://forum.kirupa.com/t/looping-enterframe/246020 "2007-12-06T11:34:05Z")

</div>

My enter frame Loops ... I cannot spot where the problem is after fade(); has been applied (on the \_root timeline). function fade(){ this.onEnterFrame = function(){ var loaded:Number = map\_mc.getBytesLoade…

---

## [Problems with drop down menu need help](https://forum.kirupa.com/t/problems-with-drop-down-menu-need-help/246019)

<div class="topic-metadata">

**Author:** [@sonicalchemy](https://forum.kirupa.com/u/sonicalchemy)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 11:27am UTC](https://forum.kirupa.com/t/problems-with-drop-down-menu-need-help/246019 "2007-12-06T11:27:40Z")

</div>

Hello I am new to Flash and to this wonderful forum now I have been trying to figure out how to make the this MC drop down menu to work. The stage size is 703 x 310 there is an upper menu bar totally designed with flash …

---

## [How To Add Print Command In Swf Movie?](https://forum.kirupa.com/t/how-to-add-print-command-in-swf-movie/246009)

<div class="topic-metadata">

**Author:** [@taurus5\_6](https://forum.kirupa.com/u/taurus5_6)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 9:23am UTC](https://forum.kirupa.com/t/how-to-add-print-command-in-swf-movie/246009 "2007-12-06T09:23:03Z")

</div>

I want to put a print command in my flash movie which will be capable of printing the entire movie image or printing what is only viewed (document size). How can I do it? I want to put a PRINT button in the movie. Ma…

---

## [Binding vars to Flex component](https://forum.kirupa.com/t/binding-vars-to-flex-component/246005)

<div class="topic-metadata">

**Author:** [@MDiddy](https://forum.kirupa.com/u/MDiddy)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 7:21am UTC](https://forum.kirupa.com/t/binding-vars-to-flex-component/246005 "2007-12-06T07:21:10Z")

</div>

This might be a simple request, but I'm having problems finding a solution. I have states setup for my text color, and I need have the color values change based on an event. I thought I could just make a bindable var for…

---

## [Photo Gallery Using XML and Flash- add child?](https://forum.kirupa.com/t/photo-gallery-using-xml-and-flash-add-child/246002)

<div class="topic-metadata">

**Author:** [@shiftless13](https://forum.kirupa.com/u/shiftless13)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 7:03am UTC](https://forum.kirupa.com/t/photo-gallery-using-xml-and-flash-add-child/246002 "2007-12-06T07:03:50Z")

</div>

I have just complete the Photo Gallery tutorial and am trying to modify it as a next step. I have added another child called "header" in the XML file as such: \<?xml version="1.0" encoding="utf-8" standalone="yes"?\> \<i…

---

## [How to change Dynamic Text color of bullet points](https://forum.kirupa.com/t/how-to-change-dynamic-text-color-of-bullet-points/245999)

<div class="topic-metadata">

**Author:** [@dasari](https://forum.kirupa.com/u/dasari)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 4:56am UTC](https://forum.kirupa.com/t/how-to-change-dynamic-text-color-of-bullet-points/245999 "2007-12-06T04:56:35Z")

</div>

Hello, Can someone please help? I have added bullet points to my dynamic text in XML file, and can't seem to get them to be any other color than black. Here is the code that is within the XML file: \<P\>\<FONT FACE="Ari…

---

## [MovieClipLoader not loading loaded swf's loadees](https://forum.kirupa.com/t/moviecliploader-not-loading-loaded-swfs-loadees/245995)

<div class="topic-metadata">

**Author:** [@chrissyg](https://forum.kirupa.com/u/chrissyg)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 4:09am UTC](https://forum.kirupa.com/t/moviecliploader-not-loading-loaded-swfs-loadees/245995 "2007-12-06T04:09:07Z")

</div>

Something like that. I have a moviecliploader that loads a swf when a button is clicked. The swf it's loading is a photo gallery that in turn loads images using its own moviecliploader. They work great when I test the…

---

## [Need help with Audio Player](https://forum.kirupa.com/t/need-help-with-audio-player/245992)

<div class="topic-metadata">

**Author:** [@ki0101](https://forum.kirupa.com/u/ki0101)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 3:29am UTC](https://forum.kirupa.com/t/need-help-with-audio-player/245992 "2007-12-06T03:29:32Z")

</div>

I have an audio player that I need help with. I have several pages on my site and I need each page to have its own player. For some reason I cannot get the stop button to reset the music to the beginning. Can someone rev…

---

## [Cannot get coordinates in respect to stage](https://forum.kirupa.com/t/cannot-get-coordinates-in-respect-to-stage/245991)

<div class="topic-metadata">

**Author:** [@Blommestein](https://forum.kirupa.com/u/Blommestein)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 3:20am UTC](https://forum.kirupa.com/t/cannot-get-coordinates-in-respect-to-stage/245991 "2007-12-06T03:20:28Z")

</div>

Okay picture an mc embedded in an unknow amount of parent mcs. With the code put on the mc, I tried this: trace( \_root.stageX(this) ); where it is defined on the main timeline as: function stageX(mc:MovieClip):Num…

---

## [Mask inside Button incorrectly shows when published!](https://forum.kirupa.com/t/mask-inside-button-incorrectly-shows-when-published/245988)

<div class="topic-metadata">

**Author:** [@bradley\_sz](https://forum.kirupa.com/u/bradley_sz)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 3:06am UTC](https://forum.kirupa.com/t/mask-inside-button-incorrectly-shows-when-published/245988 "2007-12-06T03:06:47Z")

</div>

Hey all, I have created a Button and inside that I have used a mask for a highlight and shadow type of effect, but when you publish the fla it incorrectly shows the whole shape rather than just the area that is masked …

---

## [\[Flash 8\]XML variable will trace, but will not work in script?](https://forum.kirupa.com/t/flash-8-xml-variable-will-trace-but-will-not-work-in-script/245987)

<div class="topic-metadata">

**Author:** [@TomNez](https://forum.kirupa.com/u/TomNez)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 3:03am UTC](https://forum.kirupa.com/t/flash-8-xml-variable-will-trace-but-will-not-work-in-script/245987 "2007-12-06T03:03:42Z")

</div>

Hey all, I made a button that when you click, it starts to play a sound. The sound is loaded through an XML file. The XML file only has one node which is the path of the sound I want played. So I loaded the XML file …

---

## [onRelease call function](https://forum.kirupa.com/t/onrelease-call-function/245985)

<div class="topic-metadata">

**Author:** [@esferaweb](https://forum.kirupa.com/u/esferaweb)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 2:43am UTC](https://forum.kirupa.com/t/onrelease-call-function/245985 "2007-12-06T02:43:35Z")

</div>

Hello, i using createTextField e createEmptyMovieClip to create itens to my menu. this is a function. how can i do this itens disappears and call another function onRelease one of this itens? thanks

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

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