# flash

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

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

**Page:** 924

---

## [\[as2\] array loop help](https://forum.kirupa.com/t/as2-array-loop-help/264536)

<div class="topic-metadata">

**Author:** [@craigashby](https://forum.kirupa.com/u/craigashby)\
**Replies:** 1\
**Last updated:** [June 27, 2008, 12:26am UTC](https://forum.kirupa.com/t/as2-array-loop-help/264536 "2008-06-27T00:26:18Z")

</div>

i have a number of buttons that use tweens for rollovers. instead of making a rollover function for each button, i made a generic rollover that uses an array. everything works perfect when building the array manually, …

---

## [Timers and Performance Q - Games](https://forum.kirupa.com/t/timers-and-performance-q-games/264538)

<div class="topic-metadata">

**Author:** [@DesignerMichael](https://forum.kirupa.com/u/DesignerMichael)\
**Replies:** 0\
**Last updated:** [June 26, 2008, 10:55pm UTC](https://forum.kirupa.com/t/timers-and-performance-q-games/264538 "2008-06-26T22:55:08Z")

</div>

I am wondering if anyone can share with me what they set their Timers to. I'm doing multiplayer games, so I am not using onEnterFrame. I have set my flash player default setting to 70FPS, which will probably average …

---

## [First AS3 Project - How to communicate between custom classes?](https://forum.kirupa.com/t/first-as3-project-how-to-communicate-between-custom-classes/264477)

<div class="topic-metadata">

**Author:** [@Nym](https://forum.kirupa.com/u/Nym)\
**Replies:** 5\
**Last updated:** [June 26, 2008, 10:33pm UTC](https://forum.kirupa.com/t/first-as3-project-how-to-communicate-between-custom-classes/264477 "2008-06-26T22:33:14Z")

</div>

Hi everyone! I've started to work with Actionscript 3.0 for a couple of weeks and I've just started my very first "top-to-bottom" AS3 project which I'll be delivering (a "demo") next Monday. However, some basic compl…

---

## [HELP! Looping Problem](https://forum.kirupa.com/t/help-looping-problem/264162)

<div class="topic-metadata">

**Author:** [@prosody](https://forum.kirupa.com/u/prosody)\
**Replies:** 1\
**Last updated:** [June 26, 2008, 10:22pm UTC](https://forum.kirupa.com/t/help-looping-problem/264162 "2008-06-26T22:22:40Z")

</div>

here's the deal... i have this VERY simple header. 2 layers... one layer is a logo. doesn't do anything... just sits there static. the other layer has an embedded video (banner.flv) in it. that is it. all i want is f…

---

## [Upload php error 403](https://forum.kirupa.com/t/upload-php-error-403/264475)

<div class="topic-metadata">

**Author:** [@Genius\_cd](https://forum.kirupa.com/u/Genius_cd)\
**Replies:** 2\
**Last updated:** [June 26, 2008, 9:49pm UTC](https://forum.kirupa.com/t/upload-php-error-403/264475 "2008-06-26T21:49:08Z")

</div>

hey all. i have a html file called index.html \<form enctype="multipart/form-data" action="uploader.php" method="POST"\> \<input type="hidden" name="MAX\_FILE\_SIZE" value="100000" /\> Choose a file to upload: \<input nam…

---

## [Which for loop is faster?](https://forum.kirupa.com/t/which-for-loop-is-faster/264419)

<div class="topic-metadata">

**Author:** [@DesignerMichael](https://forum.kirupa.com/u/DesignerMichael)\
**Replies:** 8\
**Last updated:** [June 26, 2008, 9:10pm UTC](https://forum.kirupa.com/t/which-for-loop-is-faster/264419 "2008-06-26T21:10:02Z")

</div>

for (var u=0; u \< users.length; u ++) { //do stuff on users } vs var uLength = users.length; for (var u=0; u \< uLength; u ++) { //do stuff on users } I know that in PHP the second one is faster…

---

## [Headache with classes... (Can they access any timeline variables?)](https://forum.kirupa.com/t/headache-with-classes-can-they-access-any-timeline-variables/264518)

<div class="topic-metadata">

**Author:** [@DesignerMichael](https://forum.kirupa.com/u/DesignerMichael)\
**Replies:** 1\
**Last updated:** [June 26, 2008, 8:35pm UTC](https://forum.kirupa.com/t/headache-with-classes-can-they-access-any-timeline-variables/264518 "2008-06-26T20:35:02Z")

</div>

Heres my problem. In my main movie all of my code is on the first frame of the main timeline. Now, I need to do a hittest on myLevelBitmap.bitmapData on the main timeline from my class. Is that possible? I have tried a…

---

## [The Infamous 'Loader()' and Event Handling](https://forum.kirupa.com/t/the-infamous-loader-and-event-handling/264175)

<div class="topic-metadata">

**Author:** [@chadian22](https://forum.kirupa.com/u/chadian22)\
**Replies:** 5\
**Last updated:** [June 26, 2008, 7:36pm UTC](https://forum.kirupa.com/t/the-infamous-loader-and-event-handling/264175 "2008-06-26T19:36:23Z")

</div>

Hello everyone. First post. I've researched this topic pretty detailed for 2 days now. I've come up with the conclusion that this is the best way to go. Loader(), we use it get external images/swfs. To access its prope…

---

## [Want SWF load and unload info when debugging in browser](https://forum.kirupa.com/t/want-swf-load-and-unload-info-when-debugging-in-browser/264515)

<div class="topic-metadata">

**Author:** [@anroy](https://forum.kirupa.com/u/anroy)\
**Replies:** 0\
**Last updated:** [June 26, 2008, 7:29pm UTC](https://forum.kirupa.com/t/want-swf-load-and-unload-info-when-debugging-in-browser/264515 "2008-06-26T19:29:48Z")

</div>

I need to debug my work from a browser in some situations. I found this excellent resource that shows how your trace() output can be directed to a text file, flashlog.txt, when you run your Flash content in a browser u…

---

## [Getting rid of variables from memory?](https://forum.kirupa.com/t/getting-rid-of-variables-from-memory/264492)

<div class="topic-metadata">

**Author:** [@sekasi](https://forum.kirupa.com/u/sekasi)\
**Replies:** 7\
**Last updated:** [June 26, 2008, 7:11pm UTC](https://forum.kirupa.com/t/getting-rid-of-variables-from-memory/264492 "2008-06-26T19:11:13Z")

</div>

I know this might seem overkill but how come this throws a strict warning? var hi2u:int = 25; // code hi2u = null; Was under the impression that variables that are nulled are subject to the GC sweep.

---

## [Help making driving movements in as3 flash game](https://forum.kirupa.com/t/help-making-driving-movements-in-as3-flash-game/264499)

<div class="topic-metadata">

**Author:** [@thejoeknows\_com](https://forum.kirupa.com/u/thejoeknows_com)\
**Replies:** 3\
**Last updated:** [June 26, 2008, 6:57pm UTC](https://forum.kirupa.com/t/help-making-driving-movements-in-as3-flash-game/264499 "2008-06-26T18:57:17Z")

</div>

I want to create a game in which the hero is an overhead car view. I want the car to be a movie-clip called from the .as file, with turning, reverse, gas, and friction. I found ---this--- which is perfect but…

---

## [Is there a way to handle events with two simultaneous keys (Ctrl + other key)?](https://forum.kirupa.com/t/is-there-a-way-to-handle-events-with-two-simultaneous-keys-ctrl-other-key/264413)

<div class="topic-metadata">

**Author:** [@enb141](https://forum.kirupa.com/u/enb141)\
**Replies:** 7\
**Last updated:** [June 26, 2008, 6:34pm UTC](https://forum.kirupa.com/t/is-there-a-way-to-handle-events-with-two-simultaneous-keys-ctrl-other-key/264413 "2008-06-26T18:34:26Z")

</div>

Hi I got this code stage.addEventListener (KeyboardEvent.KEY\_DOWN, keyDownHandler); stage.addEventListener (KeyboardEvent.KEY\_UP, keyUpHandler); function keyDownHandler (e:KeyboardEvent):void { trace ( "Key c…

---

## [AS3 coding environment](https://forum.kirupa.com/t/as3-coding-environment/263565)

<div class="topic-metadata">

**Author:** [@powerflasher](https://forum.kirupa.com/u/powerflasher)\
**Replies:** 5\
**Last updated:** [June 26, 2008, 6:28pm UTC](https://forum.kirupa.com/t/as3-coding-environment/263565 "2008-06-26T18:28:10Z")

</div>

Hey folks!! my name is Frank, and I am writing you from Germany, Europe. I am Product Manager for FDT 3.0 (fdt.powerflasher.com), the right now most professional coding environment for AS3. We have recently visited a l…

---

## [onRelease on a tablet PC](https://forum.kirupa.com/t/onrelease-on-a-tablet-pc/264503)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [June 26, 2008, 5:46pm UTC](https://forum.kirupa.com/t/onrelease-on-a-tablet-pc/264503 "2008-06-26T17:46:41Z")

</div>

I am creating an application for a Nokia N800 tablet PC and for some reason their is this one button that you have to double click(double tap with the pen) in order for it to work..I cant figure out why. And you dont ev…

---

## [Flash 8 upload help](https://forum.kirupa.com/t/flash-8-upload-help/201081)

<div class="topic-metadata">

**Author:** [@paul\_ferrie](https://forum.kirupa.com/u/paul_ferrie)\
**Replies:** 4\
**Last updated:** [June 26, 2008, 5:18pm UTC](https://forum.kirupa.com/t/flash-8-upload-help/201081 "2008-06-26T17:18:15Z")

</div>

Hi guys, i have been working on flash 8 uploader. I had this all working on win2003 server though that should not make a diffrence. I am using the same scripts and swf's on a linux system but now i am getting a 403 err…

---

## [hitTest and Collision problems](https://forum.kirupa.com/t/hittest-and-collision-problems/264098)

<div class="topic-metadata">

**Author:** [@jeremywilms](https://forum.kirupa.com/u/jeremywilms)\
**Replies:** 3\
**Last updated:** [June 26, 2008, 4:12pm UTC](https://forum.kirupa.com/t/hittest-and-collision-problems/264098 "2008-06-26T16:12:47Z")

</div>

I'm having a lot of trouble with this hitTest method. Well... I'll explain it to you. I made a wall, and if my player collides into that wall I want him to stop and not be able to move. So I can check for a hitTest befor…

---

## [FileReference.download()](https://forum.kirupa.com/t/filereference-download/264495)

<div class="topic-metadata">

**Author:** [@pyromunky](https://forum.kirupa.com/u/pyromunky)\
**Replies:** 0\
**Last updated:** [June 26, 2008, 4:09pm UTC](https://forum.kirupa.com/t/filereference-download/264495 "2008-06-26T16:09:22Z")

</div>

I'm setting up a small flash app to download files. Boss wants to obscure the file path as much as possible. It works locally, but not on the remote sever. I've heard of issues regarding same domains. But I've also tried…

---

## [Borderless Flash Site?](https://forum.kirupa.com/t/borderless-flash-site/264488)

<div class="topic-metadata">

**Author:** [@veraCreative](https://forum.kirupa.com/u/veraCreative)\
**Replies:** 1\
**Last updated:** [June 26, 2008, 3:34pm UTC](https://forum.kirupa.com/t/borderless-flash-site/264488 "2008-06-26T15:34:07Z")

</div>

Hi all, I'm tryin to create a borderless Flash site...As done here: http://simonemoreno.com/ In essence, I would like the scrolling to be disabled, the background image to resize as the window is resized...Sorry if i…

---

## [Smoothness Issue](https://forum.kirupa.com/t/smoothness-issue/264487)

<div class="topic-metadata">

**Author:** [@comydow](https://forum.kirupa.com/u/comydow)\
**Replies:** 1\
**Last updated:** [June 26, 2008, 3:19pm UTC](https://forum.kirupa.com/t/smoothness-issue/264487 "2008-06-26T15:19:37Z")

</div>

Hello, I built the website: www.cherokeefurnitureoutlet.com and on the main screen where there is the image scroller, I built it using a simple tween. My question is this: Is there a way to get it any smoother? Thanks …

---

## [Uploading Files using FileReference Tutorial](https://forum.kirupa.com/t/uploading-files-using-filereference-tutorial/215308)

<div class="topic-metadata">

**Author:** [@DeepSoul](https://forum.kirupa.com/u/DeepSoul)\
**Replies:** 1\
**Last updated:** [June 26, 2008, 3:07pm UTC](https://forum.kirupa.com/t/uploading-files-using-filereference-tutorial/215308 "2008-06-26T15:07:21Z")

</div>

I've done the tutorial "Uploading Files using FileReference" , and i think i did all good..the actionscript is this: \[COLOR=blue\]import flash.net.FileReference; var progressBar:MovieClip; var reference:FileReference =…

---

## [Actionscript 3 pop-up help](https://forum.kirupa.com/t/actionscript-3-pop-up-help/264485)

<div class="topic-metadata">

**Author:** [@Johnnymac](https://forum.kirupa.com/u/Johnnymac)\
**Replies:** 0\
**Last updated:** [June 26, 2008, 3:07pm UTC](https://forum.kirupa.com/t/actionscript-3-pop-up-help/264485 "2008-06-26T15:07:15Z")

</div>

Hi, I'm totally new with actionscript 3 and wondered if anyone could give me some pointers with a problem I have. I've basically got an flv player i've designed in as3 and just want a simple popup that will appear t…

---

## [as2 flash8 + php + write file](https://forum.kirupa.com/t/as2-flash8-php-write-file/264482)

<div class="topic-metadata">

**Author:** [@thosecars82](https://forum.kirupa.com/u/thosecars82)\
**Replies:** 0\
**Last updated:** [June 26, 2008, 2:43pm UTC](https://forum.kirupa.com/t/as2-flash8-php-write-file/264482 "2008-06-26T14:43:57Z")

</div>

\[COLOR=#2f2928\]\[FONT=verdana\]Hello there I know that my apache server is working. If I browse my script.php file locally through my browser, my script.php file which is in my pc is run and it writes a test.htm file loc…

---

## [Package/Function Help](https://forum.kirupa.com/t/package-function-help/264479)

<div class="topic-metadata">

**Author:** [@partimer](https://forum.kirupa.com/u/partimer)\
**Replies:** 0\
**Last updated:** [June 26, 2008, 2:33pm UTC](https://forum.kirupa.com/t/package-function-help/264479 "2008-06-26T14:33:03Z")

</div>

Hi all, If anyone can give me a hand trying to get my head around this code I'd be eternally grateful! I've the following package that display some graphics and some formatted text fields (below). I'm trying to get…

---

## [Load different XML files with different buttons](https://forum.kirupa.com/t/load-different-xml-files-with-different-buttons/264302)

<div class="topic-metadata">

**Author:** [@cortezcreations](https://forum.kirupa.com/u/cortezcreations)\
**Replies:** 9\
**Last updated:** [June 26, 2008, 2:21pm UTC](https://forum.kirupa.com/t/load-different-xml-files-with-different-buttons/264302 "2008-06-26T14:21:06Z")

</div>

Hello All. Trying to make a multi-lingual flash application. First Frame has Different language btns and I'd like to load the XML file desired by hitting the buttons. After hours of searching online I managed to find…

---

## [Sync timeline animation to flv](https://forum.kirupa.com/t/sync-timeline-animation-to-flv/264469)

<div class="topic-metadata">

**Author:** [@SmoothDime](https://forum.kirupa.com/u/SmoothDime)\
**Replies:** 1\
**Last updated:** [June 26, 2008, 1:52pm UTC](https://forum.kirupa.com/t/sync-timeline-animation-to-flv/264469 "2008-06-26T13:52:18Z")

</div>

I have a 70 second FLV with 3d rendered graphics and audio. I also have a user generated head movieclip that i need to sync up with the characters head in the FLV. The framerate for the FLV and the FLA are both 30 fps. …

---

## [Flash+PHP File Upload Script](https://forum.kirupa.com/t/flash-php-file-upload-script/262630)

<div class="topic-metadata">

**Author:** [@NovemberRain](https://forum.kirupa.com/u/NovemberRain)\
**Replies:** 1\
**Last updated:** [June 26, 2008, 1:45pm UTC](https://forum.kirupa.com/t/flash-php-file-upload-script/262630 "2008-06-26T13:45:23Z")

</div>

Hi, I'm looking for a flash front end + PHP file upload script. Any reference or download link would be very helpful :tired: thanks in advance :thumb2:

---

## [Calling a Function from Inside a MovieClip](https://forum.kirupa.com/t/calling-a-function-from-inside-a-movieclip/264451)

<div class="topic-metadata">

**Author:** [@ChromeDemon](https://forum.kirupa.com/u/ChromeDemon)\
**Replies:** 1\
**Last updated:** [June 26, 2008, 1:38pm UTC](https://forum.kirupa.com/t/calling-a-function-from-inside-a-movieclip/264451 "2008-06-26T13:38:12Z")

</div>

Maybe I am dumb, but I cant get this to work ... I have an MC, inside this MC is a Button which calles a function declared in the Main Timeline ... I dont get it, i always got errors ... Any help much appreciated ch…

---

## [Flash, Actionscript and PHP for file uploading - HELP needed!](https://forum.kirupa.com/t/flash-actionscript-and-php-for-file-uploading-help-needed/259978)

<div class="topic-metadata">

**Author:** [@mojobullfrog](https://forum.kirupa.com/u/mojobullfrog)\
**Replies:** 2\
**Last updated:** [June 26, 2008, 1:09pm UTC](https://forum.kirupa.com/t/flash-actionscript-and-php-for-file-uploading-help-needed/259978 "2008-06-26T13:09:39Z")

</div>

I have some Actionscript code that will hopefully upload multiple files to my web server (via a PHP script). A user simply selects their files by clicking on a "select" button, then uploads them by clicking "upload". Tha…

---

## [Loading a .txt file / Dealing with variables](https://forum.kirupa.com/t/loading-a-txt-file-dealing-with-variables/264336)

<div class="topic-metadata">

**Author:** [@jadarite](https://forum.kirupa.com/u/jadarite)\
**Replies:** 3\
**Last updated:** [June 26, 2008, 12:44pm UTC](https://forum.kirupa.com/t/loading-a-txt-file-dealing-with-variables/264336 "2008-06-26T12:44:38Z")

</div>

I am making a small flash file which will load a .txt file. From that text file, I will check 1 variable to see if it matches what the user will type in a text field. If the they match, then the user will be redirected…

---

## [Exporting Flash CS3 swfs for older player versions](https://forum.kirupa.com/t/exporting-flash-cs3-swfs-for-older-player-versions/264398)

<div class="topic-metadata">

**Author:** [@aujourdhui64](https://forum.kirupa.com/u/aujourdhui64)\
**Replies:** 2\
**Last updated:** [June 26, 2008, 12:10pm UTC](https://forum.kirupa.com/t/exporting-flash-cs3-swfs-for-older-player-versions/264398 "2008-06-26T12:10:12Z")

</div>

I am working on a project for a very large company and was hoping to use a flash interface I designed for the project. However, I recently learned that the company does not allow its employees to upgrade to the newest fl…

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

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