# programming

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

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

**Page:** 553

---

## [Step by Step Learning](https://forum.kirupa.com/t/step-by-step-learning/305346)

<div class="topic-metadata">

**Author:** [@DemonGibi](https://forum.kirupa.com/u/DemonGibi)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 8:41pm UTC](https://forum.kirupa.com/t/step-by-step-learning/305346 "2010-02-23T20:41:12Z")

</div>

Hi there.. I'm new to code stuff. I tried HTML and very very little C# 10 years ago. I don't remember anything about them actually.(Maybe a little bit about HTML of course \[smile\] ) I want to learn ActionScript 3.0 on my…

---

## [ASP (classic)error](https://forum.kirupa.com/t/asp-classic-error/305342)

<div class="topic-metadata">

**Author:** [@wes\_design](https://forum.kirupa.com/u/wes_design)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 8:13pm UTC](https://forum.kirupa.com/t/asp-classic-error/305342 "2010-02-23T20:13:27Z")

</div>

Hey all: I am currently having a problem with a process ASP file in which when I send data to it via a form it redirects to my 404 error page. Has anybody ever had that error before? I know the page is on the server …

---

## [No Looping once preloader was added?](https://forum.kirupa.com/t/no-looping-once-preloader-was-added/305341)

<div class="topic-metadata">

**Author:** [@wingmann13](https://forum.kirupa.com/u/wingmann13)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 8:13pm UTC](https://forum.kirupa.com/t/no-looping-once-preloader-was-added/305341 "2010-02-23T20:13:18Z")

</div>

So I have a looping SWF file that I uploaded on my website. It played perfectly until I decided to add a preloader. I set up the Flash file with 2 Scenes, “Preloader” and “Scene 1” .The Preloader scene will play just fi…

---

## [Tracking Buttons and Advancing Playlists](https://forum.kirupa.com/t/tracking-buttons-and-advancing-playlists/305339)

<div class="topic-metadata">

**Author:** [@kidg](https://forum.kirupa.com/u/kidg)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 7:36pm UTC](https://forum.kirupa.com/t/tracking-buttons-and-advancing-playlists/305339 "2010-02-23T19:36:25Z")

</div>

I'm stumped so I'll try and explain my problem briefly. I've created an XML based video player that incorporates a player window and a scrolling play list of video thumbnails. Videos are selected and loaded in one of…

---

## [ContextMenu closing with strange results](https://forum.kirupa.com/t/contextmenu-closing-with-strange-results/305338)

<div class="topic-metadata">

**Author:** [@chrisstolte](https://forum.kirupa.com/u/chrisstolte)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 7:24pm UTC](https://forum.kirupa.com/t/contextmenu-closing-with-strange-results/305338 "2010-02-23T19:24:37Z")

</div>

Hello, I have a very simple AIR app (Flex 3.4.1, source below...), that has only two things: a canvas with an event listener to trace the mouse location a simple context menu I notice that the event listener for t…

---

## [Use same variable in different functions?](https://forum.kirupa.com/t/use-same-variable-in-different-functions/305337)

<div class="topic-metadata">

**Author:** [@Zenor](https://forum.kirupa.com/u/Zenor)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 7:15pm UTC](https://forum.kirupa.com/t/use-same-variable-in-different-functions/305337 "2010-02-23T19:15:14Z")

</div>

Hello everyone, I have a function that includes a variable which I need to use in a different function after some effects occur. Is this possible? If I try to use it it doesn't recognize it.

---

## [Help with converting to and using AIR](https://forum.kirupa.com/t/help-with-converting-to-and-using-air/305334)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 6:23pm UTC](https://forum.kirupa.com/t/help-with-converting-to-and-using-air/305334 "2010-02-23T18:23:11Z")

</div>

I have an AS3 application that takes user input and TRACES out a block of XML code. I created it before I had CS4 and the AIR add-on. Can I just copy and paste the same AS3 code over into an AIR document? I ultimately wa…

---

## [Problem with removeChild](https://forum.kirupa.com/t/problem-with-removechild/305332)

<div class="topic-metadata">

**Author:** [@Rubenos](https://forum.kirupa.com/u/Rubenos)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 5:56pm UTC](https://forum.kirupa.com/t/problem-with-removechild/305332 "2010-02-23T17:56:22Z")

</div>

Hi, First post here, read some stuff and tips but I'd like your help! package { import flash.display.Sprite; import flash.events.MouseEvent; import flash.events.Event; public class Main extends …

---

## [Movie clip button:Down state](https://forum.kirupa.com/t/movie-clip-button-down-state/305331)

<div class="topic-metadata">

**Author:** [@Luigi\_Vercotti](https://forum.kirupa.com/u/Luigi_Vercotti)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 5:09pm UTC](https://forum.kirupa.com/t/movie-clip-button-down-state/305331 "2010-02-23T17:09:19Z")

</div>

Hello guys I've got button made from movieclip 1) I don't get the MouseEvent.MOUSE\_DOWN or CLICK? 2)If I click my button either btn\_BMC.addEventListener (MouseEvent.MOUSE\_DOWN, buttonClick); btn\_BMC.addEventLi…

---

## [Bitmap Coloring Book?](https://forum.kirupa.com/t/bitmap-coloring-book/305329)

<div class="topic-metadata">

**Author:** [@monarchgg](https://forum.kirupa.com/u/monarchgg)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 4:26pm UTC](https://forum.kirupa.com/t/bitmap-coloring-book/305329 "2010-02-23T16:26:36Z")

</div>

Is there way to use \*bitmap fills \*instead of solid colors for the Coloring Book by Zelwyn? I want to color shapes with bitmap fills. If the user changes his mind, then he could recolor the shape with a new bitmap. I…

---

## [loadMovie within borders](https://forum.kirupa.com/t/loadmovie-within-borders/305326)

<div class="topic-metadata">

**Author:** [@Roland684](https://forum.kirupa.com/u/Roland684)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 3:36pm UTC](https://forum.kirupa.com/t/loadmovie-within-borders/305326 "2010-02-23T15:36:19Z")

</div>

I need to load a flash movie within an other flash movie, but I want to confine the loaded movie to some borders. When I play the movie to be loaded as stand alone, it looks fine, but when loaded from a flash movie, st…

---

## [Flash Lite App, Help!](https://forum.kirupa.com/t/flash-lite-app-help/305317)

<div class="topic-metadata">

**Author:** [@BeechyBoy](https://forum.kirupa.com/u/BeechyBoy)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 1:46pm UTC](https://forum.kirupa.com/t/flash-lite-app-help/305317 "2010-02-23T13:46:30Z")

</div>

The Flash Lite App I'm creating is a questionnaire and will standalone on the mobile device. At the end of the questionnaire I need to send the collected data to an online database. What is the best way to do this in Fla…

---

## [How do compilers read your code](https://forum.kirupa.com/t/how-do-compilers-read-your-code/305316)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 1:43pm UTC](https://forum.kirupa.com/t/how-do-compilers-read-your-code/305316 "2010-02-23T13:43:00Z")

</div>

Hi, I should probably know this by now and think I read this somewhere but I want to hear it from the experts in a clear way. I believe compliers read (flash on my case) Actionscript 3.0 code from top to bottom right…

---

## [Fullscreen window alignment](https://forum.kirupa.com/t/fullscreen-window-alignment/305315)

<div class="topic-metadata">

**Author:** [@valensen](https://forum.kirupa.com/u/valensen)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 1:33pm UTC](https://forum.kirupa.com/t/fullscreen-window-alignment/305315 "2010-02-23T13:33:54Z")

</div>

Hi guys, I'm planning to provide the visitors of my website an option to toggle between their normal window and an optional fullscreen window. I just don't know how to align a simple movieclip to the left bottom of my …

---

## [System Date](https://forum.kirupa.com/t/system-date/305314)

<div class="topic-metadata">

**Author:** [@Tazbo](https://forum.kirupa.com/u/Tazbo)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 12:48pm UTC](https://forum.kirupa.com/t/system-date/305314 "2010-02-23T12:48:03Z")

</div>

I am trying to do something a little different with flash AS3 and hope that it is possible. I have 10 swf files and a place on my site for them to go. They are identical in dimensions the only difference is the content…

---

## [AS3/PHP Woes](https://forum.kirupa.com/t/as3-php-woes/305313)

<div class="topic-metadata">

**Author:** [@Signy](https://forum.kirupa.com/u/Signy)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 12:32pm UTC](https://forum.kirupa.com/t/as3-php-woes/305313 "2010-02-23T12:32:51Z")

</div>

Hi all, I've been searching far and wide for solid documentation on loading variables from a php file into as3. Although I've found a few bits and bobs I've not manage to come up with anything that works yet. PHP \<…

---

## [XML elements problem](https://forum.kirupa.com/t/xml-elements-problem/305312)

<div class="topic-metadata">

**Author:** [@revo999](https://forum.kirupa.com/u/revo999)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 11:26am UTC](https://forum.kirupa.com/t/xml-elements-problem/305312 "2010-02-23T11:26:49Z")

</div>

I am unable to access 2nd element and 3rd element (I can acces 1st element xml : \<data\> \<text1\> text1 \</text1\> \<text2\> text2 \</text2\> \<text3\> text3 \</text3\> \</data\> as 2.0 : var text\_xml = new XML(); t…

---

## [Best practice for initialization validation](https://forum.kirupa.com/t/best-practice-for-initialization-validation/305309)

<div class="topic-metadata">

**Author:** [@Mugsy](https://forum.kirupa.com/u/Mugsy)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 10:54am UTC](https://forum.kirupa.com/t/best-practice-for-initialization-validation/305309 "2010-02-23T10:54:47Z")

</div>

I am writting an flash app where the user can rearange items on an board. When the user closes the app, I store the current configuration. When he reuses the app he expects to see the same configuration he left the…

---

## [Pack .swf with all asset files into an .exe](https://forum.kirupa.com/t/pack-swf-with-all-asset-files-into-an-exe/305306)

<div class="topic-metadata">

**Author:** [@martinadhie](https://forum.kirupa.com/u/martinadhie)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 9:53am UTC](https://forum.kirupa.com/t/pack-swf-with-all-asset-files-into-an-exe/305306 "2010-02-23T09:53:21Z")

</div>

Hi, I've requirement that have to pack/compile 2 .swf files and 1 .flv movie file into single .exe for CD multimedia. I've tried FlashPackager it works nicely but is not really free, come out banner screen if you nev…

---

## [Flash button to URL](https://forum.kirupa.com/t/flash-button-to-url/305305)

<div class="topic-metadata">

**Author:** [@shaildeogam](https://forum.kirupa.com/u/shaildeogam)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 9:37am UTC](https://forum.kirupa.com/t/flash-button-to-url/305305 "2010-02-23T09:37:36Z")

</div>

Hi, I am trying to add a script to button which will direct me to another webpage. It is working when I run the swf file. But when I include this swf file to my webpage, nothing happens when I click that button. my s…

---

## [Shift focus between pop-up windows](https://forum.kirupa.com/t/shift-focus-between-pop-up-windows/305299)

<div class="topic-metadata">

**Author:** [@newtome](https://forum.kirupa.com/u/newtome)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 3:42am UTC](https://forum.kirupa.com/t/shift-focus-between-pop-up-windows/305299 "2010-02-23T03:42:23Z")

</div>

I have an application which run in the standalone flash player and it creates several pop-up windows. I need to bring a specific window to the "front" in code - give it focus - but I don't know how or even if it's possib…

---

## [Tiles from Arrays Help](https://forum.kirupa.com/t/tiles-from-arrays-help/305295)

<div class="topic-metadata">

**Author:** [@MossyStump](https://forum.kirupa.com/u/MossyStump)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 1:08am UTC](https://forum.kirupa.com/t/tiles-from-arrays-help/305295 "2010-02-23T01:08:47Z")

</div>

I have returned form the depths of nowhere in particular to once again, seek ActionScript help \[smiley\] (if anyone even remembers me, I wasn't about long ;-; ANYWHO. Seeking some help with a little tile-based progra…

---

## [How to pass arguments from an event listener in AS3 - SIMPLE](https://forum.kirupa.com/t/how-to-pass-arguments-from-an-event-listener-in-as3-simple/305293)

<div class="topic-metadata">

**Author:** [@davidbarile](https://forum.kirupa.com/u/davidbarile)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 11:42pm UTC](https://forum.kirupa.com/t/how-to-pass-arguments-from-an-event-listener-in-as3-simple/305293 "2010-02-22T23:42:48Z")

</div>

In AS2, I often found it useful to pass arguments to a function on a button press like so: \[COLOR=Blue\]btn.onRelease = function(){ doSomething("arg1", "arg2", "arg3"); }\[/COLOR\] I searched the interweb for DA…

---

## [Closing Forms problem](https://forum.kirupa.com/t/closing-forms-problem/305292)

<div class="topic-metadata">

**Author:** [@spectator](https://forum.kirupa.com/u/spectator)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 11:32pm UTC](https://forum.kirupa.com/t/closing-forms-problem/305292 "2010-02-22T23:32:43Z")

</div>

Hello :). Have you ever had problems with closing forms? I have application with one form which is being created at runtime. The problem is that if the user closes the form the application process still stays. private…

---

## [\[AS 2.0\] refering to multiple objects! HELP!](https://forum.kirupa.com/t/as-2-0-refering-to-multiple-objects-help/305288)

<div class="topic-metadata">

**Author:** [@zapp](https://forum.kirupa.com/u/zapp)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 9:18pm UTC](https://forum.kirupa.com/t/as-2-0-refering-to-multiple-objects-help/305288 "2010-02-22T21:18:05Z")

</div>

\[FONT=Arial\] edit: this problem has been solved. thank you. i only had to remove the "else{ return false;}" bit. hey all! fist post...! I'm an animator who kinda wants to be able to do some actionscript but who isn…

---

## [Which AS3 3D Engine do I use](https://forum.kirupa.com/t/which-as3-3d-engine-do-i-use/305287)

<div class="topic-metadata">

**Author:** [@biznuge](https://forum.kirupa.com/u/biznuge)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 8:42pm UTC](https://forum.kirupa.com/t/which-as3-3d-engine-do-i-use/305287 "2010-02-22T20:42:23Z")

</div>

lo all, If anyone could give me some feedback. I'm currently pretty able with papervision but lately it's been annoying me with things like texture overlap and pretty slow rendering. I've heard good things briefly a…

---

## [First Time Flasher Needs Help With computeSpectrum AS3 Problems](https://forum.kirupa.com/t/first-time-flasher-needs-help-with-computespectrum-as3-problems/305286)

<div class="topic-metadata">

**Author:** [@MightyMutt](https://forum.kirupa.com/u/MightyMutt)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 8:00pm UTC](https://forum.kirupa.com/t/first-time-flasher-needs-help-with-computespectrum-as3-problems/305286 "2010-02-22T20:00:46Z")

</div>

Hi guys (& girls) new to the forums and new to flash. Trying to teach myself Flash and without someone to ask questions can be tricky. While my knowledge of Flash is minimal (and I am therefore unlikely to be able anyone…

---

## [Remoting: Button to load data from MySQL](https://forum.kirupa.com/t/remoting-button-to-load-data-from-mysql/305284)

<div class="topic-metadata">

**Author:** [@fxj56911](https://forum.kirupa.com/u/fxj56911)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 7:40pm UTC](https://forum.kirupa.com/t/remoting-button-to-load-data-from-mysql/305284 "2010-02-22T19:40:32Z")

</div>

Hey guys, I'm working on a new project and I'm stuck on this code. var nc:NetConnection=new NetConnection(); nc.connect("http://localhost/amfphp/gateway.php"); var res:Responder=new Responder(onResult,onError); goBtn.…

---

## ['Ribbons' Or 'Snake' effect class](https://forum.kirupa.com/t/ribbons-or-snake-effect-class/305281)

<div class="topic-metadata">

**Author:** [@armyvisual](https://forum.kirupa.com/u/armyvisual)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 7:22pm UTC](https://forum.kirupa.com/t/ribbons-or-snake-effect-class/305281 "2010-02-22T19:22:25Z")

</div>

Hey Guys, I'm working on writing a class that kind of creates a ribbon/snake effect. The class itself just needs to draw a box when initiated. I'm having trouble with some of the math though. I'm going to be pas…

---

## [Is there a significant performance hit for scaling a vector animation?](https://forum.kirupa.com/t/is-there-a-significant-performance-hit-for-scaling-a-vector-animation/305280)

<div class="topic-metadata">

**Author:** [@Anogar](https://forum.kirupa.com/u/Anogar)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 7:09pm UTC](https://forum.kirupa.com/t/is-there-a-significant-performance-hit-for-scaling-a-vector-animation/305280 "2010-02-22T19:09:05Z")

</div>

So, the actual act of scaling a vector object has a bit of a cost to the CPU, and so animating an object from one size to another has a significant cost -- but is there any additional cost for simply playing an animation…

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

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