# flash

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

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

**Page:** 1696

---

## [For and with statements](https://forum.kirupa.com/t/for-and-with-statements/195619)

<div class="topic-metadata">

**Author:** [@brndn](https://forum.kirupa.com/u/brndn)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 11:03pm UTC](https://forum.kirupa.com/t/for-and-with-statements/195619 "2006-08-01T23:03:13Z")

</div>

Hey can any tell me why this is not working? It sould correspond with the maskbttn being on frame 2 that the dot will be visilbe \_root.validate.onPress = function() { for (i=1; i\<19; i++) { with (\["maskbtt…

---

## [AS 3 instance names](https://forum.kirupa.com/t/as-3-instance-names/195617)

<div class="topic-metadata">

**Author:** [@infect](https://forum.kirupa.com/u/infect)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 10:59pm UTC](https://forum.kirupa.com/t/as-3-instance-names/195617 "2006-08-01T22:59:10Z")

</div>

I know that you can add a movie clip to the stage using the addChild() function but my question is how can you give a instance name to a dynamicly placed MovieClip? \[beer\]

---

## [AS2 Classes](https://forum.kirupa.com/t/as2-classes/195613)

<div class="topic-metadata">

**Author:** [@function82](https://forum.kirupa.com/u/function82)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 10:19pm UTC](https://forum.kirupa.com/t/as2-classes/195613 "2006-08-01T22:19:30Z")

</div>

I'm new to AS2 Classes, I usually use object prototypes, but im trying to learn something new. Is there a simpler way to write this bit of code that scales a rounded box as a class? right now i have to declare each i…

---

## [How to apply actions to this?](https://forum.kirupa.com/t/how-to-apply-actions-to-this/195611)

<div class="topic-metadata">

**Author:** [@bennymartensson](https://forum.kirupa.com/u/bennymartensson)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 10:06pm UTC](https://forum.kirupa.com/t/how-to-apply-actions-to-this/195611 "2006-08-01T22:06:17Z")

</div>

This is the code and my question is, where and HOW do i write my actions? My submenu sections is some external swf's called sub1.swf, sub2.swf, sub3.swf etc. Cascading Menu v1.0 Simon Coulton (s\_coulton@hotmail.com) -…

---

## [Photoshop CS2 flash gallery integration with Flash 8...help, please? :)](https://forum.kirupa.com/t/photoshop-cs2-flash-gallery-integration-with-flash-8-help-please/195610)

<div class="topic-metadata">

**Author:** [@hadez](https://forum.kirupa.com/u/hadez)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 10:04pm UTC](https://forum.kirupa.com/t/photoshop-cs2-flash-gallery-integration-with-flash-8-help-please/195610 "2006-08-01T22:04:42Z")

</div>

OK...so i took a shortcut and created a really nice looking flash gallery that is xml driven...all done in photoshop CS2. The problem: I am an intermediate flash user, but the task of implementing this gallery into an …

---

## [Attach and then remove mc's with same button?](https://forum.kirupa.com/t/attach-and-then-remove-mcs-with-same-button/195599)

<div class="topic-metadata">

**Author:** [@Fingers](https://forum.kirupa.com/u/Fingers)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 8:39pm UTC](https://forum.kirupa.com/t/attach-and-then-remove-mcs-with-same-button/195599 "2006-08-01T20:39:45Z")

</div>

I’ve been trying to figure this out all day. What I want to have happen is for the mc’s to be attached to the stage and pushed into an array one at a time, and then, when all of them have been added, to remove them from …

---

## [Laggy presentation](https://forum.kirupa.com/t/laggy-presentation/195598)

<div class="topic-metadata">

**Author:** [@xelaxam](https://forum.kirupa.com/u/xelaxam)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 8:37pm UTC](https://forum.kirupa.com/t/laggy-presentation/195598 "2006-08-01T20:37:49Z")

</div>

Ok here's my problem i made some big presentations, it's all 1360 x 768. They are all working fine on my computer (Ibook g4). But the presentation must play full screen at start with no mouse (I had 3 line of code in the…

---

## [\[Flash8\] Need help duplicating instances](https://forum.kirupa.com/t/flash8-need-help-duplicating-instances/195597)

<div class="topic-metadata">

**Author:** [@pavers355](https://forum.kirupa.com/u/pavers355)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 8:33pm UTC](https://forum.kirupa.com/t/flash8-need-help-duplicating-instances/195597 "2006-08-01T20:33:39Z")

</div>

I am writing a maze program for school. I am using a 2d array to represent to location of walls for the maze. The background (for figuring out where a player can move) is not the problem. I am using this algorithm for …

---

## [XML sending variable back to Flash?](https://forum.kirupa.com/t/xml-sending-variable-back-to-flash/195591)

<div class="topic-metadata">

**Author:** [@UNinspired](https://forum.kirupa.com/u/UNinspired)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 8:02pm UTC](https://forum.kirupa.com/t/xml-sending-variable-back-to-flash/195591 "2006-08-01T20:02:53Z")

</div>

Issit possible for XML pages to send variables back to flash? Say my XML page has a image scr inside.. Can i make it clickable and when i click, send a variable, maybe \_root.myFlag = 1 back to flash? Thanks.

---

## [AS technique for fading in/out a MC](https://forum.kirupa.com/t/as-technique-for-fading-in-out-a-mc/195588)

<div class="topic-metadata">

**Author:** [@mikedkap](https://forum.kirupa.com/u/mikedkap)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 7:52pm UTC](https://forum.kirupa.com/t/as-technique-for-fading-in-out-a-mc/195588 "2006-08-01T19:52:48Z")

</div>

Does anybody have a good actionscript method for fading in and out a MC with a timed pause in the middle? Any help would be great!

---

## [scaleTo problem!](https://forum.kirupa.com/t/scaleto-problem/195586)

<div class="topic-metadata">

**Author:** [@this](https://forum.kirupa.com/u/this)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 7:50pm UTC](https://forum.kirupa.com/t/scaleto-problem/195586 "2006-08-01T19:50:34Z")

</div>

i wanna that the clips on mouse roll over these scale x and y to 100% and roll out scale to initial %.... below my tryed code: var clipAr:Array = \[clip1,clip2,clip3,clip4,clip5\]; // scale var rAl:Array = \[100,60,75,80…

---

## [Webcam Hit Detection](https://forum.kirupa.com/t/webcam-hit-detection/195583)

<div class="topic-metadata">

**Author:** [@Katocan](https://forum.kirupa.com/u/Katocan)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 7:12pm UTC](https://forum.kirupa.com/t/webcam-hit-detection/195583 "2006-08-01T19:12:58Z")

</div>

\[LEFT\]Hey everyone, I've got the webcam displayed but I want to know, how would I make it so that when motion is detected on a movieclip that an action is triggered? Thanks for any help \[smile\] \[/LEFT\]

---

## [External.swf doesn't play inside main one](https://forum.kirupa.com/t/external-swf-doesnt-play-inside-main-one/195582)

<div class="topic-metadata">

**Author:** [@foxandsoul](https://forum.kirupa.com/u/foxandsoul)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 6:52pm UTC](https://forum.kirupa.com/t/external-swf-doesnt-play-inside-main-one/195582 "2006-08-01T18:52:58Z")

</div>

\[FONT=Times New Roman\] I want to load my swf external file into my main file via empty movie clip. I did everything correct. And for some reasons my external file doesn’t play inside my main file. It shows up, plays al…

---

## [Best way to store data in flash?](https://forum.kirupa.com/t/best-way-to-store-data-in-flash/195581)

<div class="topic-metadata">

**Author:** [@stevs102](https://forum.kirupa.com/u/stevs102)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 6:30pm UTC](https://forum.kirupa.com/t/best-way-to-store-data-in-flash/195581 "2006-08-01T18:30:53Z")

</div>

I'm having trouble figureing out the best way to store data. I'm creating a Flash application for work and basically it's a module to add a medication to a patients chart. There is a screen with drug name, drug class, do…

---

## [Make music player play in random order?](https://forum.kirupa.com/t/make-music-player-play-in-random-order/195578)

<div class="topic-metadata">

**Author:** [@HekG](https://forum.kirupa.com/u/HekG)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 6:11pm UTC](https://forum.kirupa.com/t/make-music-player-play-in-random-order/195578 "2006-08-01T18:11:27Z")

</div>

I have an mp3 player which is driven by an XML playlist which currently plays from frist song to last song but I'd like to be able set it up so songs in the xml playlist play in random order. Any suggestions? Thanks \[…

---

## [Help with Photo Type Album](https://forum.kirupa.com/t/help-with-photo-type-album/195575)

<div class="topic-metadata">

**Author:** [@GarretB](https://forum.kirupa.com/u/GarretB)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 5:51pm UTC](https://forum.kirupa.com/t/help-with-photo-type-album/195575 "2006-08-01T17:51:17Z")

</div>

I know this should be easy, but I am having a brain cramp. I need a self contained movie (no external XML) to display 8 thumbnails of people's faces with their names listed below each pic (link). While mousing over th…

---

## [Help with writing a function](https://forum.kirupa.com/t/help-with-writing-a-function/195567)

<div class="topic-metadata">

**Author:** [@mikedkap](https://forum.kirupa.com/u/mikedkap)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 5:08pm UTC](https://forum.kirupa.com/t/help-with-writing-a-function/195567 "2006-08-01T17:08:39Z")

</div>

I want to make these 7 events into one function that I can put on a few different buttons' onPress function so that I don't need to have those seven lines of code on every button, just one line instead: tour\_mc.un…

---

## [Liquid Flash Layout (Bottom Left Q)](https://forum.kirupa.com/t/liquid-flash-layout-bottom-left-q/195565)

<div class="topic-metadata">

**Author:** [@atlemo](https://forum.kirupa.com/u/atlemo)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 4:55pm UTC](https://forum.kirupa.com/t/liquid-flash-layout-bottom-left-q/195565 "2006-08-01T16:55:11Z")

</div>

Hi There! I came across this tutorial on Liquid Flash Layouts: http://www.tutorio.com/tutorial/liquid-flash-layout Which is awesome. I learned a lot from it. But what I cannot understand is how to make it all work as…

---

## [Photo gallery XML tutorial - grid thumbnails version?](https://forum.kirupa.com/t/photo-gallery-xml-tutorial-grid-thumbnails-version/195563)

<div class="topic-metadata">

**Author:** [@Tinuviel](https://forum.kirupa.com/u/Tinuviel)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 4:34pm UTC](https://forum.kirupa.com/t/photo-gallery-xml-tutorial-grid-thumbnails-version/195563 "2006-08-01T16:34:37Z")

</div>

I saw the tutorial here on how to make a Flash XML photo gallery with a scrolling thumbnail bar. Awesome! The thing is, the example he DIDN'T choose to illustrate is the one I want make - exactly. That is, the grid …

---

## [ActionScript 2.0 - MovieClip Events as Class Functions](https://forum.kirupa.com/t/actionscript-2-0-movieclip-events-as-class-functions/195559)

<div class="topic-metadata">

**Author:** [@Case\_Sensitive](https://forum.kirupa.com/u/Case_Sensitive)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 4:11pm UTC](https://forum.kirupa.com/t/actionscript-2-0-movieclip-events-as-class-functions/195559 "2006-08-01T16:11:34Z")

</div>

Hi I was wondering if you code help me out with Actionscript 2.0 and classes. I have built a movie which has some nested movies within. I have created a class called ButtonMc in a .as file and used linkage to connect…

---

## [MP3 Player with Load and Location Bar](https://forum.kirupa.com/t/mp3-player-with-load-and-location-bar/195554)

<div class="topic-metadata">

**Author:** [@Butters](https://forum.kirupa.com/u/Butters)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 3:44pm UTC](https://forum.kirupa.com/t/mp3-player-with-load-and-location-bar/195554 "2006-08-01T15:44:02Z")

</div>

Ok I have a new client who wants a small MP3 player with stop and play buttons, as well as a bar that shows the load status and the location of the sound... How can I get this done, I know how to do it just not with th…

---

## [XML pg mx:whats wrong for Flash 8](https://forum.kirupa.com/t/xml-pg-mx-whats-wrong-for-flash-8/195550)

<div class="topic-metadata">

**Author:** [@Bixi](https://forum.kirupa.com/u/Bixi)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 3:30pm UTC](https://forum.kirupa.com/t/xml-pg-mx-whats-wrong-for-flash-8/195550 "2006-08-01T15:30:55Z")

</div>

Hello all, (please excuse me all for my bad english: I'm italian.) I use Kirupas XML pg mx tutorial for my website. I have Flash 8, but the previous button doesn't work!!!! The keys navigtion works perfectly! I alr…

---

## [Dynamically Resize Movieclip](https://forum.kirupa.com/t/dynamically-resize-movieclip/195546)

<div class="topic-metadata">

**Author:** [@evilcoathanger](https://forum.kirupa.com/u/evilcoathanger)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 3:16pm UTC](https://forum.kirupa.com/t/dynamically-resize-movieclip/195546 "2006-08-01T15:16:31Z")

</div>

Hey guys, question for ya. I'm looking for a way to load an image through XML, and resize it to fit to a certain box size I specify. Heres what I have so far: ///////////////////////// function loadXML(loaded) { if …

---

## [Html Navigation with flash](https://forum.kirupa.com/t/html-navigation-with-flash/195535)

<div class="topic-metadata">

**Author:** [@medicineuk](https://forum.kirupa.com/u/medicineuk)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 2:05pm UTC](https://forum.kirupa.com/t/html-navigation-with-flash/195535 "2006-08-01T14:05:46Z")

</div>

Hi new user to these forums here. I have been looking for away to have a flash nav like this one http://www.dashboardconfessional.com/ . Would any body know how to recreate this? I have got as far as having a menu with i…

---

## [SWF to JPEG online conversion](https://forum.kirupa.com/t/swf-to-jpeg-online-conversion/195534)

<div class="topic-metadata">

**Author:** [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 1:39pm UTC](https://forum.kirupa.com/t/swf-to-jpeg-online-conversion/195534 "2006-08-01T13:39:15Z")

</div>

a quick newbie question: is it possible, with or without the aid of a third party application, to dynamically (ie on the fly) export a movie clip as a jpeg?

---

## [Best way to put pauses in a movie?](https://forum.kirupa.com/t/best-way-to-put-pauses-in-a-movie/195533)

<div class="topic-metadata">

**Author:** [@pixlemech](https://forum.kirupa.com/u/pixlemech)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 1:38pm UTC](https://forum.kirupa.com/t/best-way-to-put-pauses-in-a-movie/195533 "2006-08-01T13:38:31Z")

</div>

Hi there. I'm fairly inexperienced with Flash. I'm doing looping presentation for a kiosk, and there are 3 or 4 times when I want the presentation to pause for 5 seconds or so each time. I'm using this fairly simple func…

---

## [High CPU Usage!](https://forum.kirupa.com/t/high-cpu-usage/195531)

<div class="topic-metadata">

**Author:** [@Butters](https://forum.kirupa.com/u/Butters)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 1:22pm UTC](https://forum.kirupa.com/t/high-cpu-usage/195531 "2006-08-01T13:22:10Z")

</div>

Ok continuning from this topic in C&C: Seirously, why the hell is it using so much of the CPU? It uses like 40% when i’m not even running anything else. Surly it must be something in the code, I don’t know becuase I …

---

## [Sound issues](https://forum.kirupa.com/t/sound-issues/195528)

<div class="topic-metadata">

**Author:** [@chrisclick](https://forum.kirupa.com/u/chrisclick)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 11:54am UTC](https://forum.kirupa.com/t/sound-issues/195528 "2006-08-01T11:54:43Z")

</div>

Ok Cut a long story short. When I play music of WMP or MSN sounds for alerts I hear the sound perfectly. But in games on the runescape and BBC i hear absolutly nothing. What is wrong with my PC. I see a speaker icon …

---

## [Exporting then importing with Alpha channel](https://forum.kirupa.com/t/exporting-then-importing-with-alpha-channel/195525)

<div class="topic-metadata">

**Author:** [@theSchtickler](https://forum.kirupa.com/u/theSchtickler)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 11:00am UTC](https://forum.kirupa.com/t/exporting-then-importing-with-alpha-channel/195525 "2006-08-01T11:00:16Z")

</div>

Hi there, I have a flash file that has so many objects, that rendering it as video and bringing it back in is the only solution, albeit with a loss of quality... Anyhow, I can export my flash movie as a Quicktime Mov…

---

## [HELP! Validation of the contact form](https://forum.kirupa.com/t/help-validation-of-the-contact-form/195524)

<div class="topic-metadata">

**Author:** [@pinkhooch](https://forum.kirupa.com/u/pinkhooch)\
**Replies:** 0\
**Last updated:** [August 1, 2006, 10:58am UTC](https://forum.kirupa.com/t/help-validation-of-the-contact-form/195524 "2006-08-01T10:58:31Z")

</div>

Hi guys, i need help badly. :toad: Anyone can help me with the validation of the contact form in this tutorial... example: when someone didn't type in their First Name, there will be a pop up message asking them to fi…

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

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