# programming

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

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

**Page:** 1038

---

## [Flash on Moble Phone](https://forum.kirupa.com/t/flash-on-moble-phone/273942)

<div class="topic-metadata">

**Author:** [@mleep](https://forum.kirupa.com/u/mleep)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 8:50pm UTC](https://forum.kirupa.com/t/flash-on-moble-phone/273942 "2008-10-22T20:50:51Z")

</div>

Does anyone know what phones support the development of Flash programs on their phone? I want to be able to create my own screensaver, interface, look and feel, etc. I know the iPhone has an SDK, but I'm only looking…

---

## [MySQL Password validation](https://forum.kirupa.com/t/mysql-password-validation/273941)

<div class="topic-metadata">

**Author:** [@vl390](https://forum.kirupa.com/u/vl390)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 8:03pm UTC](https://forum.kirupa.com/t/mysql-password-validation/273941 "2008-10-22T20:03:27Z")

</div>

Hi. I want to create a website with restricted access in form of a password validation system. Only a password should be required to access the website. I have to be able to create valid passwords in a MySQL databa…

---

## [An easy solution that I don't have](https://forum.kirupa.com/t/an-easy-solution-that-i-dont-have/273940)

<div class="topic-metadata">

**Author:** [@brilor04](https://forum.kirupa.com/u/brilor04)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 7:58pm UTC](https://forum.kirupa.com/t/an-easy-solution-that-i-dont-have/273940 "2008-10-22T19:58:28Z")

</div>

Hey Everyone. I've used this site often to get my help with Flash but for once, I'm stumped. I have a project I'm working on that I'm using an image of a map with thumbtacks on it. I've created a button and would li…

---

## [Please help with back "return" button!](https://forum.kirupa.com/t/please-help-with-back-return-button/273939)

<div class="topic-metadata">

**Author:** [@wuzzi2ya](https://forum.kirupa.com/u/wuzzi2ya)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 7:55pm UTC](https://forum.kirupa.com/t/please-help-with-back-return-button/273939 "2008-10-22T19:55:08Z")

</div>

I have a project that is going to be a projector on a cd rom. There is an initial movie with a menu of items. Once one item is selected it is directed to another swf. After or during playback of this swf I need the op…

---

## [PHP - write from php to txt](https://forum.kirupa.com/t/php-write-from-php-to-txt/273938)

<div class="topic-metadata">

**Author:** [@jibble](https://forum.kirupa.com/u/jibble)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 7:47pm UTC](https://forum.kirupa.com/t/php-write-from-php-to-txt/273938 "2008-10-22T19:47:24Z")

</div>

im trying to have a php file write to a txt file for use later with flash...but im having issues writing from php to txt... im going from this site here http://www.tizag.com/phpT/filewrite.php but it doesn't seem to …

---

## [Having problems with mailscript for my flash site :(](https://forum.kirupa.com/t/having-problems-with-mailscript-for-my-flash-site/273936)

<div class="topic-metadata">

**Author:** [@xxsassxx31](https://forum.kirupa.com/u/xxsassxx31)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 7:33pm UTC](https://forum.kirupa.com/t/having-problems-with-mailscript-for-my-flash-site/273936 "2008-10-22T19:33:52Z")

</div>

I want to say hello to all and thanks for letting me a part of this great forum. I am having some problems with my flash site (\[COLOR=#005177\]www.alliancedirect.net\[/COLOR\]) and I am using Adobe Flash CS4 now with my sit…

---

## [getURL popup doesnt work locally](https://forum.kirupa.com/t/geturl-popup-doesnt-work-locally/273935)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 7:08pm UTC](https://forum.kirupa.com/t/geturl-popup-doesnt-work-locally/273935 "2008-10-22T19:08:15Z")

</div>

I am having a problem opeing a popup window when run in a browser locally. If I put it online, it popups fine. The issue is this is going on a DVD and needs to be able to run locally. Here is my getURL code: getURL(…

---

## [Preloading pure AS3 SWFs -- do they play before loading?](https://forum.kirupa.com/t/preloading-pure-as3-swfs-do-they-play-before-loading/273933)

<div class="topic-metadata">

**Author:** [@krazykat](https://forum.kirupa.com/u/krazykat)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 6:22pm UTC](https://forum.kirupa.com/t/preloading-pure-as3-swfs-do-they-play-before-loading/273933 "2008-10-22T18:22:07Z")

</div>

Here's something the I and the other AS developer here never really grokked, although it seems like it should be super basic. :h: I've got a large (2 month) project written entirely in AS3 (i.e. no IDE). Someone else…

---

## [Hardware Acceleration in Flash? Games become bigger and faster?](https://forum.kirupa.com/t/hardware-acceleration-in-flash-games-become-bigger-and-faster/273932)

<div class="topic-metadata">

**Author:** [@Lemuel](https://forum.kirupa.com/u/Lemuel)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 6:06pm UTC](https://forum.kirupa.com/t/hardware-acceleration-in-flash-games-become-bigger-and-faster/273932 "2008-10-22T18:06:13Z")

</div>

To enable the SWF file to use hardware acceleration, select one of the following options from the Hardware Acceleration menu: Level 1 - Direct Direct mode improves playback performance by allowing Flash Player to dra…

---

## [Error 5005: Unknown error optimizing byte code](https://forum.kirupa.com/t/error-5005-unknown-error-optimizing-byte-code/273931)

<div class="topic-metadata">

**Author:** [@bonnieraymond](https://forum.kirupa.com/u/bonnieraymond)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 5:16pm UTC](https://forum.kirupa.com/t/error-5005-unknown-error-optimizing-byte-code/273931 "2008-10-22T17:16:51Z")

</div>

I got this annoying problem when working with a large project in Flash CS4, while it was work fine in CS3. Can anybody help me with this error? btw: I know CS4 have improved a lot, but seriouly it's getting worse! My pro…

---

## [When to use parameters?](https://forum.kirupa.com/t/when-to-use-parameters/273929)

<div class="topic-metadata">

**Author:** [@cloud\_9ine](https://forum.kirupa.com/u/cloud_9ine)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 5:05pm UTC](https://forum.kirupa.com/t/when-to-use-parameters/273929 "2008-10-22T17:05:05Z")

</div>

When I am making a method for a class, I othen run into some inconsistencys with this and I would liek to know how it sohlu be done. When should you use parameters or properties in a method for a class? Thancz. :love\_he…

---

## [AS2\> Breaking Masks](https://forum.kirupa.com/t/as2-breaking-masks/273928)

<div class="topic-metadata">

**Author:** [@byoung618](https://forum.kirupa.com/u/byoung618)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 4:55pm UTC](https://forum.kirupa.com/t/as2-breaking-masks/273928 "2008-10-22T16:55:13Z")

</div>

I am loadling in xml (text) that loads into a movieclip in which I can scroll. The text loads in fine and my scroll bar works. I have the scroll bar and loaded text in a movieclip called mcContent. I have a dynamically s…

---

## [Graphics in Flash](https://forum.kirupa.com/t/graphics-in-flash/273927)

<div class="topic-metadata">

**Author:** [@Range](https://forum.kirupa.com/u/Range)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 4:49pm UTC](https://forum.kirupa.com/t/graphics-in-flash/273927 "2008-10-22T16:49:24Z")

</div>

Hi, My question is this: I have a logo on a website that was built in Flash. The site is built to stretch to 100% and fill the screen. The logo is a graphic and so when viewing on a large monitor the logo becomes pixelat…

---

## [Resizing Air Widow](https://forum.kirupa.com/t/resizing-air-widow/273924)

<div class="topic-metadata">

**Author:** [@nitroplonker](https://forum.kirupa.com/u/nitroplonker)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 4:14pm UTC](https://forum.kirupa.com/t/resizing-air-widow/273924 "2008-10-22T16:14:08Z")

</div>

I have a problem in that i have an air app which loads in an swf, what i want is so that when the air window is maximized the swf is maximized too. At the moment you can see the surrounding area of the swf. Is there …

---

## [Problem with setTimeout](https://forum.kirupa.com/t/problem-with-settimeout/273923)

<div class="topic-metadata">

**Author:** [@NegroArg](https://forum.kirupa.com/u/NegroArg)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 4:07pm UTC](https://forum.kirupa.com/t/problem-with-settimeout/273923 "2008-10-22T16:07:57Z")

</div>

Hi, i need some help with a script i'm trying to make... I have a php code that gets information from a database, this code is inside a table so the information appears in one cell in particular. I'm trying to make th…

---

## [AS2: drop target](https://forum.kirupa.com/t/as2-drop-target/273921)

<div class="topic-metadata">

**Author:** [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 3:42pm UTC](https://forum.kirupa.com/t/as2-drop-target/273921 "2008-10-22T15:42:09Z")

</div>

I've been making this drag and drop game where you have 11 cards (the drag items) and 4 drop spots (Any of the 11 cards can go onto the 4 drops) - I need to make it so that once any of the 11 cards has hit the drop spot …

---

## [Random array function buggy](https://forum.kirupa.com/t/random-array-function-buggy/273920)

<div class="topic-metadata">

**Author:** [@convrgr](https://forum.kirupa.com/u/convrgr)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 3:33pm UTC](https://forum.kirupa.com/t/random-array-function-buggy/273920 "2008-10-22T15:33:23Z")

</div>

(as2/cs3) I put this script into my fla before the movie starts. mcName equals a frame label, mcText equals dynamic text shown inside a movieclip, and url is the link on each movieclip. So it's supposed to load a random…

---

## [Publishing problem ! Pls help](https://forum.kirupa.com/t/publishing-problem-pls-help/273918)

<div class="topic-metadata">

**Author:** [@Sketches](https://forum.kirupa.com/u/Sketches)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 3:10pm UTC](https://forum.kirupa.com/t/publishing-problem-pls-help/273918 "2008-10-22T15:10:30Z")

</div>

In my fla , i have imported a class . I used addChild method to add it on the stage . When i hit Test Movie , all the flas works perfectly . BUT when i publish the file , the class part ( gallery ) is not working anymore…

---

## [Help with print functionality for use within a projector!](https://forum.kirupa.com/t/help-with-print-functionality-for-use-within-a-projector/273917)

<div class="topic-metadata">

**Author:** [@wuzzi2ya](https://forum.kirupa.com/u/wuzzi2ya)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 3:03pm UTC](https://forum.kirupa.com/t/help-with-print-functionality-for-use-within-a-projector/273917 "2008-10-22T15:03:44Z")

</div>

I am looking to add a print functionality to my projector movie. I have found several examples yet none have had the exact function i am needing. I will have several static pdfs (placed within a scrollpane component) t…

---

## [Loading Youtube videos strange Problem](https://forum.kirupa.com/t/loading-youtube-videos-strange-problem/273916)

<div class="topic-metadata">

**Author:** [@adnan794](https://forum.kirupa.com/u/adnan794)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 2:36pm UTC](https://forum.kirupa.com/t/loading-youtube-videos-strange-problem/273916 "2008-10-22T14:36:44Z")

</div>

Hello I am trying to load youtube videos inside a flash. I am passing the emebed swfUrl that points towards the video swf file on you tube. For testing purposes I am loading just two videos. I have attached an fla fi…

---

## [Frankly, The ADDED\_TO\_STAGE is really useless :(](https://forum.kirupa.com/t/frankly-the-added-to-stage-is-really-useless/273914)

<div class="topic-metadata">

**Author:** [@awflasher](https://forum.kirupa.com/u/awflasher)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 2:25pm UTC](https://forum.kirupa.com/t/frankly-the-added-to-stage-is-really-useless/273914 "2008-10-22T14:25:03Z")

</div>

It just mess up my code. Sometimes it just triggers for extra times. Why not just use var s:Sprite = new Sprite(); addChild(s); s.init(); instead setting a "initHandler" function listening to the ADDED\_TO\_STAGE …

---

## [Load Movie from Library into Container Clip on click](https://forum.kirupa.com/t/load-movie-from-library-into-container-clip-on-click/273913)

<div class="topic-metadata">

**Author:** [@bottleHeD](https://forum.kirupa.com/u/bottleHeD)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 1:56pm UTC](https://forum.kirupa.com/t/load-movie-from-library-into-container-clip-on-click/273913 "2008-10-22T13:56:47Z")

</div>

I'm getting back to scripting after a loooong time, and i'm feeling quite rusty. I need a little help with this: I have a contaner clip on stage, along with four buttons. Upon clicking each button, the script should lo…

---

## [3D Objects/Projection](https://forum.kirupa.com/t/3d-objects-projection/273909)

<div class="topic-metadata">

**Author:** [@ZeRaWaReZ](https://forum.kirupa.com/u/ZeRaWaReZ)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 12:20pm UTC](https://forum.kirupa.com/t/3d-objects-projection/273909 "2008-10-22T12:20:22Z")

</div>

I am trying to port my game to CS4. It was using CS3 and some fake parallax (2D objects on 3D planes) it was done via a small scale/position modification. In CS4, I am using the z component and failing miserably. Collsio…

---

## [Can't trace lib assets from base class being extended](https://forum.kirupa.com/t/cant-trace-lib-assets-from-base-class-being-extended/273907)

<div class="topic-metadata">

**Author:** [@watcher](https://forum.kirupa.com/u/watcher)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 11:41am UTC](https://forum.kirupa.com/t/cant-trace-lib-assets-from-base-class-being-extended/273907 "2008-10-22T11:41:33Z")

</div>

Hi folks, this seems such a simple issue, i just made a video of it, check here. \*\[this will be removed when the issue is fixed, so for other folks looking for the trivia, read on\] \* Problem: Using Flash CS3 IDE for …

---

## [Policy file request problem](https://forum.kirupa.com/t/policy-file-request-problem/273905)

<div class="topic-metadata">

**Author:** [@ViktorHesselbom](https://forum.kirupa.com/u/ViktorHesselbom)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 10:45am UTC](https://forum.kirupa.com/t/policy-file-request-problem/273905 "2008-10-22T10:45:29Z")

</div>

Hello I've created a socket server running on a dedicated windows server. From the Flash IDE, or from swf converted to exe, (both these prevent security checks) I can connect to it fine with no problems. When I uploa…

---

## [Help - Submit button dissabled unless form is completed](https://forum.kirupa.com/t/help-submit-button-dissabled-unless-form-is-completed/273903)

<div class="topic-metadata">

**Author:** [@stuartm](https://forum.kirupa.com/u/stuartm)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 9:55am UTC](https://forum.kirupa.com/t/help-submit-button-dissabled-unless-form-is-completed/273903 "2008-10-22T09:55:23Z")

</div>

Hi Guys Im trying to write a little piece of code to stop the submit button of a form be active until the form fields have been completely filled in. The problem im having is im unsure of exactly what it is im suppos…

---

## [TypeError: Error #1006: value is not a function](https://forum.kirupa.com/t/typeerror-error-1006-value-is-not-a-function/273902)

<div class="topic-metadata">

**Author:** [@muflyn](https://forum.kirupa.com/u/muflyn)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 9:52am UTC](https://forum.kirupa.com/t/typeerror-error-1006-value-is-not-a-function/273902 "2008-10-22T09:52:32Z")

</div>

Hi, I've searched in google and read many posts, but still couldn't understand my error message. I changed the name of the function and other solutions in posts, but nothing works. Can anyone tell me what's my function…

---

## [Google API with flash AS3](https://forum.kirupa.com/t/google-api-with-flash-as3/273901)

<div class="topic-metadata">

**Author:** [@Will88](https://forum.kirupa.com/u/Will88)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 9:44am UTC](https://forum.kirupa.com/t/google-api-with-flash-as3/273901 "2008-10-22T09:44:28Z")

</div>

Hi everybody, I need a bit of help, I'm working with this code to get google maps + directions into flash, you can find the code here: http://code.google.com/p/gmaps-samples-flash/source/browse/trunk/samplecode/Direction…

---

## [AS3.0 XML reading an XML](https://forum.kirupa.com/t/as3-0-xml-reading-an-xml/273892)

<div class="topic-metadata">

**Author:** [@kpxnamja](https://forum.kirupa.com/u/kpxnamja)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 6:04am UTC](https://forum.kirupa.com/t/as3-0-xml-reading-an-xml/273892 "2008-10-22T06:04:40Z")

</div>

Hello everyone, I have a specific question geared towards XML. I currently have several documents that have been formated using XML. So for instance, I have multiple documents that are named doc1.xml, doc2.xml, doc3.xml,…

---

## [Timer and setInterval leaks memory](https://forum.kirupa.com/t/timer-and-setinterval-leaks-memory/273890)

<div class="topic-metadata">

**Author:** [@sekasi](https://forum.kirupa.com/u/sekasi)\
**Replies:** 0\
**Last updated:** [October 22, 2008, 4:55am UTC](https://forum.kirupa.com/t/timer-and-setinterval-leaks-memory/273890 "2008-10-22T04:55:34Z")

</div>

Set up a timer to tick every second (or an interval). Monitor the memory usage of your application. You'll see that it tags on like 10kb to the memory usage every 5-6 ticks. This never gets freed. Had something real…

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

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