# programming

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

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

**Page:** 753

---

## [Compiling quiz](https://forum.kirupa.com/t/compiling-quiz/292590)

<div class="topic-metadata">

**Author:** [@dilpreet](https://forum.kirupa.com/u/dilpreet)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 5:39am UTC](https://forum.kirupa.com/t/compiling-quiz/292590 "2009-07-16T05:39:47Z")

</div>

Hey guys i have 4 text fields for answers for a quiz i am making. In my quiz u put in the answers and the question then compile it. So i want to know that how i can get the answers from those 4 textfield and compile th…

---

## [Pls verify my process](https://forum.kirupa.com/t/pls-verify-my-process/292586)

<div class="topic-metadata">

**Author:** [@resting](https://forum.kirupa.com/u/resting)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 4:23am UTC](https://forum.kirupa.com/t/pls-verify-my-process/292586 "2009-07-16T04:23:57Z")

</div>

I’m building a PHP based CMS. However, the gallery will run under flash. Update/create/delete of the sections and images in the gallery will all be done in PHP and MYSQL. I found this tutorial, kirupa.com - Learn How…

---

## [Any investigation on shape rendering efficiency?](https://forum.kirupa.com/t/any-investigation-on-shape-rendering-efficiency/292581)

<div class="topic-metadata">

**Author:** [@awflasher](https://forum.kirupa.com/u/awflasher)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 1:34am UTC](https://forum.kirupa.com/t/any-investigation-on-shape-rendering-efficiency/292581 "2009-07-16T01:34:09Z")

</div>

Say I have a shape like this: \[image\] I have thought about some solutions: 1 - One mixed shape \[image\] 2 - Two different shapes \[image\] 3 - Two different symbol with many layers and many instances: \[image\] Wh…

---

## [Any other heavily populated AS3 forums?](https://forum.kirupa.com/t/any-other-heavily-populated-as3-forums/292580)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 12:34am UTC](https://forum.kirupa.com/t/any-other-heavily-populated-as3-forums/292580 "2009-07-16T00:34:34Z")

</div>

First, I would like to thank everyone responsible for the forums. First, kirupa.com (whoever he/they is/are in real life), as well as everyone who makes up the forums. :thumb: I'd also like to thank whoever kills those s…

---

## [ReferenceError 1065](https://forum.kirupa.com/t/referenceerror-1065/292579)

<div class="topic-metadata">

**Author:** [@mcosta26](https://forum.kirupa.com/u/mcosta26)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 11:40pm UTC](https://forum.kirupa.com/t/referenceerror-1065/292579 "2009-07-15T23:40:20Z")

</div>

I was following a tutorial and input the AS code : \_root.onEnterFrame = function(){ if(root.xmouse\<50){ imgBar.prevFrame(); } } and im getting this : ReferenceError: Error #1065: Variable \_root is not defined. a…

---

## [Help with flashVars in packages](https://forum.kirupa.com/t/help-with-flashvars-in-packages/292578)

<div class="topic-metadata">

**Author:** [@MacMediaMan](https://forum.kirupa.com/u/MacMediaMan)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 10:54pm UTC](https://forum.kirupa.com/t/help-with-flashvars-in-packages/292578 "2009-07-15T22:54:48Z")

</div>

I'm trying to modify a Flash file written with AS3 which sadly I'm not too familar with. I would like to pass variables to it. I can get it to work if I put this line of code in the main script area of the base .fla: v…

---

## [Problems w/ race conditions when using attachmovie](https://forum.kirupa.com/t/problems-w-race-conditions-when-using-attachmovie/292577)

<div class="topic-metadata">

**Author:** [@clem\_c\_rock](https://forum.kirupa.com/u/clem_c_rock)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 10:46pm UTC](https://forum.kirupa.com/t/problems-w-race-conditions-when-using-attachmovie/292577 "2009-07-15T22:46:39Z")

</div>

Hello, I'm having a strange problem w/ race conditions when using attachmovie. I have a class linked to a movie clip that I'm attaching to the stage. The class is fired off when the movie clip is attached but also …

---

## [Movieclip always on top](https://forum.kirupa.com/t/movieclip-always-on-top/292572)

<div class="topic-metadata">

**Author:** [@mr\_Hansen](https://forum.kirupa.com/u/mr_Hansen)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 10:02pm UTC](https://forum.kirupa.com/t/movieclip-always-on-top/292572 "2009-07-15T22:02:31Z")

</div>

Hi guys, Im wondering if its possible to arrange movieclips with addchild in such a way like this?: lets say we have: mc\_1 - mc\_2 - mc\_3 - mc\_4 - mc\_5 - mc\_6 mc\_1 and mc\_2 ALWAYS have to be on top.. mc\_3 - mc\_4 - mc…

---

## [Got the AS3 dumb, please help](https://forum.kirupa.com/t/got-the-as3-dumb-please-help/292571)

<div class="topic-metadata">

**Author:** [@dragonfly](https://forum.kirupa.com/u/dragonfly)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 9:58pm UTC](https://forum.kirupa.com/t/got-the-as3-dumb-please-help/292571 "2009-07-15T21:58:51Z")

</div>

There has got to be something that's sailing over my head here. Event handlers can't send arguments and Button symbols can't have properties added to them, AFAIK. So, we get this hideous looking code below (assume there'…

---

## [Importing .swf into xhtml quick help!](https://forum.kirupa.com/t/importing-swf-into-xhtml-quick-help/292569)

<div class="topic-metadata">

**Author:** [@croz27](https://forum.kirupa.com/u/croz27)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 9:55pm UTC](https://forum.kirupa.com/t/importing-swf-into-xhtml-quick-help/292569 "2009-07-15T21:55:00Z")

</div>

problem solved!

---

## [currentTarget Child movieclip instance name](https://forum.kirupa.com/t/currenttarget-child-movieclip-instance-name/292567)

<div class="topic-metadata">

**Author:** [@djtaylor](https://forum.kirupa.com/u/djtaylor)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 9:05pm UTC](https://forum.kirupa.com/t/currenttarget-child-movieclip-instance-name/292567 "2009-07-15T21:05:20Z")

</div>

Greetings, This my first post asking for assistance with AS3. I've been scouring the web for the past three days trying to find a solution, and I'm stumped! Here is a link to the latest version of my FLA (http://www…

---

## [Image size problem](https://forum.kirupa.com/t/image-size-problem/292564)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 8:21pm UTC](https://forum.kirupa.com/t/image-size-problem/292564 "2009-07-15T20:21:36Z")

</div>

Is there a way to have a 2mb file be shrunk down when uploading? Facebook does it somehow. I can't seem to find any answers searching in Google. Otherwise, I guess I will just have to make people use Picasa or someth…

---

## [Help optimizing bitmapdata code](https://forum.kirupa.com/t/help-optimizing-bitmapdata-code/292562)

<div class="topic-metadata">

**Author:** [@mprzybylski](https://forum.kirupa.com/u/mprzybylski)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 7:55pm UTC](https://forum.kirupa.com/t/help-optimizing-bitmapdata-code/292562 "2009-07-15T19:55:55Z")

</div>

Hello all, I'm not gonna lie, when it comes to BitmapData I have not used it enough to be efficient with it and now I've run into an issue I don't really know how to work myself out of. I don't even necessarily know tha…

---

## [Problem containing 4 .SWF's on site](https://forum.kirupa.com/t/problem-containing-4-swfs-on-site/292559)

<div class="topic-metadata">

**Author:** [@chrisdegrote](https://forum.kirupa.com/u/chrisdegrote)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 7:30pm UTC](https://forum.kirupa.com/t/problem-containing-4-swfs-on-site/292559 "2009-07-15T19:30:31Z")

</div>

Hey all, I've got a problem with containing properly the .swf on my (main menu) site. Because the external .SWF's got a parralax effect it overlaps the swf above also the .swf is not nicely stretched out. This is the e…

---

## [Working with csv array](https://forum.kirupa.com/t/working-with-csv-array/292558)

<div class="topic-metadata">

**Author:** [@cortezcreations](https://forum.kirupa.com/u/cortezcreations)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 7:02pm UTC](https://forum.kirupa.com/t/working-with-csv-array/292558 "2009-07-15T19:02:31Z")

</div>

Hello Thought I had a good handle on this but getting stumped on generating movie clips to the stage using external data from a csv file. I'm using a loader component and have the trace set up perfect. I now need to cre…

---

## [Outline property in IE](https://forum.kirupa.com/t/outline-property-in-ie/292555)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 6:43pm UTC](https://forum.kirupa.com/t/outline-property-in-ie/292555 "2009-07-15T18:43:19Z")

</div>

I'm creating an AJAX tab menu. When someone clicks on a tab, I remove the ugly dotted outline around the tab with: a { outline: none; } This property is not supported in IE. Are there any hacks to make it work …

---

## [\[as2\] Complex Collision Detection](https://forum.kirupa.com/t/as2-complex-collision-detection/292554)

<div class="topic-metadata">

**Author:** [@marcelozep](https://forum.kirupa.com/u/marcelozep)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 6:32pm UTC](https://forum.kirupa.com/t/as2-complex-collision-detection/292554 "2009-07-15T18:32:26Z")

</div>

Hello. I wonder, if there´s a way to do a collision detection for irregular shapes (complex shapes). I know about the g skiner´s class, and I can´t use it, because it needs to put the author´s comments. So, there´s anoth…

---

## [MC property not found?](https://forum.kirupa.com/t/mc-property-not-found/292553)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 6:06pm UTC](https://forum.kirupa.com/t/mc-property-not-found/292553 "2009-07-15T18:06:59Z")

</div>

I have a movie clip that has a property doSelect(). I add the movie clip thus: var obj:MovieClip = new Square(); addChild(obj); obj.addEventListener(MouseEvent.CLICK, objClickListener); function objClickListener(me…

---

## [Image Scroll Help](https://forum.kirupa.com/t/image-scroll-help/292552)

<div class="topic-metadata">

**Author:** [@orinj](https://forum.kirupa.com/u/orinj)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 5:35pm UTC](https://forum.kirupa.com/t/image-scroll-help/292552 "2009-07-15T17:35:43Z")

</div>

\[COLOR=black\]\[FONT=Verdana\]Hello,\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Verdana\] \[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Verdana\]What I want to accomplish is to have an up and down scroll, inside this scroll have thumbnails. Once…

---

## [How to quickly resize banner ads created with tweenlite](https://forum.kirupa.com/t/how-to-quickly-resize-banner-ads-created-with-tweenlite/292551)

<div class="topic-metadata">

**Author:** [@meshedintervals](https://forum.kirupa.com/u/meshedintervals)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 5:34pm UTC](https://forum.kirupa.com/t/how-to-quickly-resize-banner-ads-created-with-tweenlite/292551 "2009-07-15T17:34:47Z")

</div>

Hello all, I was wondering what the easiest way to resize banners that use Tweenlite or any tween class. For instance I have a 300x250 and I need to resize it to 640x480. Is there a quicker way to resize it with out …

---

## [as3 menu](https://forum.kirupa.com/t/as3-menu/292550)

<div class="topic-metadata">

**Author:** [@freshflashlearn](https://forum.kirupa.com/u/freshflashlearn)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 5:21pm UTC](https://forum.kirupa.com/t/as3-menu/292550 "2009-07-15T17:21:12Z")

</div>

how i can create this type of menu pls give me the code i have attached the swf or some one know the tutorial this type of menu Thanks http://uploadfile.org/download.php?id=MUiwfGCjN84QGx3O0YJo

---

## [Full Screen swf](https://forum.kirupa.com/t/full-screen-swf/292546)

<div class="topic-metadata">

**Author:** [@blimpman](https://forum.kirupa.com/u/blimpman)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 3:31pm UTC](https://forum.kirupa.com/t/full-screen-swf/292546 "2009-07-15T15:31:29Z")

</div>

I have spent the last few days trying to work out how to make my swf file scale 100% to the width and height of my browser. So far I've created a canvas size of 1920x1440 (in flash) and before publishing, set my html d…

---

## [CPU usage](https://forum.kirupa.com/t/cpu-usage/292543)

<div class="topic-metadata">

**Author:** [@surf](https://forum.kirupa.com/u/surf)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 3:15pm UTC](https://forum.kirupa.com/t/cpu-usage/292543 "2009-07-15T15:15:27Z")

</div>

hi.... i am using flash to create a dj website... problem occurs when i load a flv file in the back ground ... every thin plays fine the problem is that when its starts the CPU usage is to the max.... i mean i have a 5 y…

---

## [Two questions: Iterate object in an MC? Pass arguments to a function trough an Event?](https://forum.kirupa.com/t/two-questions-iterate-object-in-an-mc-pass-arguments-to-a-function-trough-an-event/292542)

<div class="topic-metadata">

**Author:** [@Veng](https://forum.kirupa.com/u/Veng)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 3:03pm UTC](https://forum.kirupa.com/t/two-questions-iterate-object-in-an-mc-pass-arguments-to-a-function-trough-an-event/292542 "2009-07-15T15:03:19Z")

</div>

In AS2 if I used: for (i in myMC:MovieClip) { trace(myMC\*); or trace(i); } i could get first the path of the other movieClips inside myMC and second just the name of the instance of the movieClips inside my MC. In AS…

---

## [Isometric map data](https://forum.kirupa.com/t/isometric-map-data/292541)

<div class="topic-metadata">

**Author:** [@darnpunk](https://forum.kirupa.com/u/darnpunk)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 2:43pm UTC](https://forum.kirupa.com/t/isometric-map-data/292541 "2009-07-15T14:43:54Z")

</div>

Hi, I've read some articles and tutorials on the different file formats to store isometric map data. They are usually XML or text file. I am wondering what is the best way to store map data in an online game? I am work…

---

## [Inserting Links into TinyMCE](https://forum.kirupa.com/t/inserting-links-into-tinymce/292538)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 2:34pm UTC](https://forum.kirupa.com/t/inserting-links-into-tinymce/292538 "2009-07-15T14:34:26Z")

</div>

Alright, I am wanting to have a drop down menu that lists all of the pages that are in the database. When I select a page that I want and click submit, I would like the name of the page as a link to go into the TinyMC…

---

## [Good custom tween class?](https://forum.kirupa.com/t/good-custom-tween-class/292536)

<div class="topic-metadata">

**Author:** [@CoDe\_ReD](https://forum.kirupa.com/u/CoDe_ReD)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 1:51pm UTC](https://forum.kirupa.com/t/good-custom-tween-class/292536 "2009-07-15T13:51:09Z")

</div>

Hi people, I'm working on a project right now that requires small bits and pieces of tweening. I've got complete freedom in the animation department, so I'm trying to come up with some tween effects that are both styli…

---

## [\_width not reading initially](https://forum.kirupa.com/t/-width-not-reading-initially/292535)

<div class="topic-metadata">

**Author:** [@davidb2002](https://forum.kirupa.com/u/davidb2002)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 1:21pm UTC](https://forum.kirupa.com/t/-width-not-reading-initially/292535 "2009-07-15T13:21:13Z")

</div>

Im modifying an xml slideshow code from: http://www.republicofcode.com/tutorials/flash/slideshow/6.php Because my images are going to be different sizes I am working on ceterning into a fixed stage. However, for some…

---

## [Flash not showing in folders HELP](https://forum.kirupa.com/t/flash-not-showing-in-folders-help/292530)

<div class="topic-metadata">

**Author:** [@putch](https://forum.kirupa.com/u/putch)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 12:01pm UTC](https://forum.kirupa.com/t/flash-not-showing-in-folders-help/292530 "2009-07-15T12:01:20Z")

</div>

I have a client who needs some work done to her site (note: I DID NOT design the site, just doing updates). She wants to password protect a some files, so when I threw them into a folder, I lost the flash. See below. n…

---

## [Create a Font Menu](https://forum.kirupa.com/t/create-a-font-menu/292528)

<div class="topic-metadata">

**Author:** [@ron\_ron](https://forum.kirupa.com/u/ron_ron)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 11:31am UTC](https://forum.kirupa.com/t/create-a-font-menu/292528 "2009-07-15T11:31:32Z")

</div>

It's a Submit Form (name, age, etc...) If I have 4 font types embeded (eg. Arial / Varadana / Comic Sans / Eras) how can I create a drop down list of the fonts where anyone could select - change (runtime) the FONT TYPE…

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

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