# Latest

**URL:** https://forum.kirupa.com/latest.md?page=1007

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

**Page:** 1008

---

## [Speed: if and while vs. if When Condition is False](https://forum.kirupa.com/t/speed-if-and-while-vs-if-when-condition-is-false/304314)

<div class="topic-metadata">

**Author:** [@TheCanadian](https://forum.kirupa.com/u/TheCanadian)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 9:08am UTC](https://forum.kirupa.com/t/speed-if-and-while-vs-if-when-condition-is-false/304314 "2010-02-05T09:08:30Z")

</div>

So, if the condition is false, which would be faster: if(condition) while(condition) or just while(condition) ??

---

## [Movement restriction](https://forum.kirupa.com/t/movement-restriction/304313)

<div class="topic-metadata">

**Author:** [@SangHee](https://forum.kirupa.com/u/SangHee)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 8:53am UTC](https://forum.kirupa.com/t/movement-restriction/304313 "2010-02-05T08:53:35Z")

</div>

Hi, I've made a sort of sliding menu which is basically a movie clip that has a function assigned to it that if the cursor goes over a button it starts moving in a direction. \_root.right.onRollOver = function() { …

---

## [Document class / singleton question](https://forum.kirupa.com/t/document-class-singleton-question/304312)

<div class="topic-metadata">

**Author:** [@Stratboy](https://forum.kirupa.com/u/Stratboy)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 8:41am UTC](https://forum.kirupa.com/t/document-class-singleton-question/304312 "2010-02-05T08:41:13Z")

</div>

Hi! Suppose I have a test.fla with a document class associated, say DocTestClass.as. Normally I load the test.swf and DocTestClass is automatically instantiated. But I'm curious. What if I make some other instances o…

---

## [Some help with contact form please](https://forum.kirupa.com/t/some-help-with-contact-form-please/304311)

<div class="topic-metadata">

**Author:** [@iorgobe2](https://forum.kirupa.com/u/iorgobe2)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 8:31am UTC](https://forum.kirupa.com/t/some-help-with-contact-form-please/304311 "2010-02-05T08:31:38Z")

</div>

How can I change my email address from text into an image? Someone told me that this way it won't be picked up by spam bots and it will reduce spam.

---

## [Should I use e.stopImmediatePropagation(); alot?](https://forum.kirupa.com/t/should-i-use-e-stopimmediatepropagation-alot/304309)

<div class="topic-metadata">

**Author:** [@Shaedo](https://forum.kirupa.com/u/Shaedo)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 7:15am UTC](https://forum.kirupa.com/t/should-i-use-e-stopimmediatepropagation-alot/304309 "2010-02-05T07:15:16Z")

</div>

If I have only one destination for my event, does it then make sense to use function someFunction(e:Event):void { e.stopImmediatePropagation(); //more code } or does it not make any difference? In my mind if the …

---

## [Design Update - Thoughts?](https://forum.kirupa.com/t/design-update-thoughts/304308)

<div class="topic-metadata">

**Author:** [@andrewfitz](https://forum.kirupa.com/u/andrewfitz)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 7:09am UTC](https://forum.kirupa.com/t/design-update-thoughts/304308 "2010-02-05T07:09:51Z")

</div>

Hey guys, I've been spending the last few weeks trying to make my site look professional, original, and still beautiful, while adding in content that people want to see; like demos, tutorials, videos, etc. I incorporated…

---

## [Fluid/Fixed layout](https://forum.kirupa.com/t/fluid-fixed-layout/304307)

<div class="topic-metadata">

**Author:** [@arundracula](https://forum.kirupa.com/u/arundracula)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 6:42am UTC](https://forum.kirupa.com/t/fluid-fixed-layout/304307 "2010-02-05T06:42:51Z")

</div>

How to do the layout like this template? http://www.templatemonster.com/website-templates/27555.html (Click on the advanced full size preview) In this the body bg is a gradient. And there are two bubble image contain…

---

## [Advanced as3 buttons](https://forum.kirupa.com/t/advanced-as3-buttons/304306)

<div class="topic-metadata">

**Author:** [@Danief](https://forum.kirupa.com/u/Danief)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 6:36am UTC](https://forum.kirupa.com/t/advanced-as3-buttons/304306 "2010-02-05T06:36:42Z")

</div>

Okay. I have a button that looks like this: http://www.swfcabin.com/open/1265348657 so when you rollover, it plays an animation, and when you rollout, it plays the exit animation. And if you rollout before the the en…

---

## [Similar layout to this site](https://forum.kirupa.com/t/similar-layout-to-this-site/304305)

<div class="topic-metadata">

**Author:** [@chockybickyman](https://forum.kirupa.com/u/chockybickyman)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 5:53am UTC](https://forum.kirupa.com/t/similar-layout-to-this-site/304305 "2010-02-05T05:53:42Z")

</div>

I was looking at making a site similar to this http://au.roxy.com/ The way the white frame scales into whatever the screen res is with no distortion and the center movie I have code to allow that to stay centered, but…

---

## [Help with nested loops](https://forum.kirupa.com/t/help-with-nested-loops/304304)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 5:33am UTC](https://forum.kirupa.com/t/help-with-nested-loops/304304 "2010-02-05T05:33:32Z")

</div>

I am creating a method that creates all possible combinations of a given series and stores them in an array (i.e. all the possible combinations to a bicycle combo lock). The way I am going about doing this is to first ra…

---

## [How to test movie, and not have it cut off](https://forum.kirupa.com/t/how-to-test-movie-and-not-have-it-cut-off/304303)

<div class="topic-metadata">

**Author:** [@Evangelizes](https://forum.kirupa.com/u/Evangelizes)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 3:54am UTC](https://forum.kirupa.com/t/how-to-test-movie-and-not-have-it-cut-off/304303 "2010-02-05T03:54:02Z")

</div>

Hi, I made a flash website with dimensions of 981 x 737. I read somewhere these were good dimensions so that someone previewing my site would not have to scroll to see everything. When I try to test my movie The top nav …

---

## [As3 sling or catapult? (Drag on the ball release it and its shoots )](https://forum.kirupa.com/t/as3-sling-or-catapult-drag-on-the-ball-release-it-and-its-shoots/304302)

<div class="topic-metadata">

**Author:** [@kingsta](https://forum.kirupa.com/u/kingsta)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 3:06am UTC](https://forum.kirupa.com/t/as3-sling-or-catapult-drag-on-the-ball-release-it-and-its-shoots/304302 "2010-02-05T03:06:06Z")

</div>

I want to make a basket ball. Drag on the ball release it and its shoots far depending on how far you drag it back.. Anyone have a quick code to share? of tutorials for this??? thx

---

## [Help modify fade in AS 2.0](https://forum.kirupa.com/t/help-modify-fade-in-as-2-0/304301)

<div class="topic-metadata">

**Author:** [@TerraAustralia](https://forum.kirupa.com/u/TerraAustralia)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 2:55am UTC](https://forum.kirupa.com/t/help-modify-fade-in-as-2-0/304301 "2010-02-05T02:55:06Z")

</div>

The following AS works fine but I seek the wisdom of an AS guru to modify the action. I have a tweened movie which plays on a loop. A click on the image area stops the movie and the image fades nicely from alpha 100 to…

---

## [N iterations of K function calls, or K function calls of N iterations?](https://forum.kirupa.com/t/n-iterations-of-k-function-calls-or-k-function-calls-of-n-iterations/304300)

<div class="topic-metadata">

**Author:** [@KomodoDave](https://forum.kirupa.com/u/KomodoDave)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 2:34am UTC](https://forum.kirupa.com/t/n-iterations-of-k-function-calls-or-k-function-calls-of-n-iterations/304300 "2010-02-05T02:34:14Z")

</div>

Hi guys, I wish to implement a constraints solver in a physical simulation, and wish to model each constraint as a Function object. I'm wondering whether it's best to have each constraint operate on a full set of dat…

---

## [Simple question on variable naming](https://forum.kirupa.com/t/simple-question-on-variable-naming/304299)

<div class="topic-metadata">

**Author:** [@RollingSton3](https://forum.kirupa.com/u/RollingSton3)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 2:09am UTC](https://forum.kirupa.com/t/simple-question-on-variable-naming/304299 "2010-02-05T02:09:31Z")

</div>

Believe it or not, I can't find the answer to this simple question. Could be I can't figure out the correct search string. What are rules for legal variables names? ie: A-Za-z0-9, hyphen, underscore, etc. must start w…

---

## [Passing sessions](https://forum.kirupa.com/t/passing-sessions/304298)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 2:05am UTC](https://forum.kirupa.com/t/passing-sessions/304298 "2010-02-05T02:05:17Z")

</div>

Hey Guys, I am having problems getting a session to pass from the login page to the actual CMS. I am using PHP5 I am using 1and1.com hosting services I have done 2 other CMS's with no problem until this 3rd one. H…

---

## [AS2/User Error Troubleshooting](https://forum.kirupa.com/t/as2-user-error-troubleshooting/304297)

<div class="topic-metadata">

**Author:** [@tyoelin](https://forum.kirupa.com/u/tyoelin)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 12:52am UTC](https://forum.kirupa.com/t/as2-user-error-troubleshooting/304297 "2010-02-05T00:52:56Z")

</div>

My troubles began when my contact form broke down (in the PHP forum), but now it just seems as if actionscript that once previously worked for me, just isn't working anymore! I recently made an actionscript password ch…

---

## [Isometric engine -- screen pixel coord to isometric tile (X,Y)](https://forum.kirupa.com/t/isometric-engine-screen-pixel-coord-to-isometric-tile-x-y/304296)

<div class="topic-metadata">

**Author:** [@Anogar](https://forum.kirupa.com/u/Anogar)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 12:44am UTC](https://forum.kirupa.com/t/isometric-engine-screen-pixel-coord-to-isometric-tile-x-y/304296 "2010-02-05T00:44:12Z")

</div>

What I'm trying to do is convert a mouse location (something like x : -400 y: 1200) to a particular tile... something like (10, 13). It's easy to go the other direction and get the origin of the tile, but I'm not havin…

---

## [Flex Component Kit](https://forum.kirupa.com/t/flex-component-kit/304295)

<div class="topic-metadata">

**Author:** [@pardoner](https://forum.kirupa.com/u/pardoner)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 12:37am UTC](https://forum.kirupa.com/t/flex-component-kit/304295 "2010-02-05T00:37:35Z")

</div>

I'm having a hard time export a movie clip symbol to a swc for use in a Flex project. It seems pretty straight forward but I can't seem to get it to work. I'm using Flash CS4 and I've installed the "Flex Component Kit"…

---

## [Loading and Store Images Externally](https://forum.kirupa.com/t/loading-and-store-images-externally/304294)

<div class="topic-metadata">

**Author:** [@waverider303](https://forum.kirupa.com/u/waverider303)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 12:14am UTC](https://forum.kirupa.com/t/loading-and-store-images-externally/304294 "2010-02-05T00:14:54Z")

</div>

I have the jist of how to load external images into as3. One thing that I do not understand is how to pull all the images needed and store them so that when you want to view a specific image it is not loading the image a…

---

## [AS3 Button Events to load external SWF's into mc on stage](https://forum.kirupa.com/t/as3-button-events-to-load-external-swfs-into-mc-on-stage/304293)

<div class="topic-metadata">

**Author:** [@ShareeNeff](https://forum.kirupa.com/u/ShareeNeff)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 12:02am UTC](https://forum.kirupa.com/t/as3-button-events-to-load-external-swfs-into-mc-on-stage/304293 "2010-02-05T00:02:38Z")

</div>

Hi, I have been trying to pick up more as3 lately, also have been converting some of my sites from as2 to as3. So I've seen alot of threads regarding my problem, but no clear concise solution. Here's what I desperately n…

---

## [(HELP) walk and jump game](https://forum.kirupa.com/t/help-walk-and-jump-game/304292)

<div class="topic-metadata">

**Author:** [@sparol](https://forum.kirupa.com/u/sparol)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 11:14pm UTC](https://forum.kirupa.com/t/help-walk-and-jump-game/304292 "2010-02-04T23:14:47Z")

</div>

\[COLOR=black\]\[FONT=Verdana\]Hi guys\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Verdana\] \[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Verdana\]I’m making a walk and jump game and need some help\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Verdana\] \[/FON…

---

## [Nav buttons work once, not twice](https://forum.kirupa.com/t/nav-buttons-work-once-not-twice/304290)

<div class="topic-metadata">

**Author:** [@inconceivable](https://forum.kirupa.com/u/inconceivable)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 10:50pm UTC](https://forum.kirupa.com/t/nav-buttons-work-once-not-twice/304290 "2010-02-04T22:50:26Z")

</div>

if i'm on the home page of this flash site, a button on the nav menu loads the correct scene the first time it's clicked, but if you nav to another scene and click the first one agin to return to it, nothing happens. why…

---

## [Omniture Tracking with SWFAddress 2.2](https://forum.kirupa.com/t/omniture-tracking-with-swfaddress-2-2/304289)

<div class="topic-metadata">

**Author:** [@creatify](https://forum.kirupa.com/u/creatify)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 10:30pm UTC](https://forum.kirupa.com/t/omniture-tracking-with-swfaddress-2-2/304289 "2010-02-04T22:30:27Z")

</div>

Has anyone ever set up omniture tracking via SWFAddress 2.2? I can't find a great deal of information about this. Looking for tips, advice, direction etc. Thanks!

---

## [Snake Game in Flash](https://forum.kirupa.com/t/snake-game-in-flash/304288)

<div class="topic-metadata">

**Author:** [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 10:10pm UTC](https://forum.kirupa.com/t/snake-game-in-flash/304288 "2010-02-04T22:10:17Z")

</div>

Hi A client of mine ask me for a flash game like Snake. Here is a link of something that looks and work similar: http://www.1pagedesign.com/games/flash\_snake/flash\_snake.php#game\_code Hi would like to ask to the comm…

---

## [Accessibility, tabbing through UI elements](https://forum.kirupa.com/t/accessibility-tabbing-through-ui-elements/304287)

<div class="topic-metadata">

**Author:** [@e\_v](https://forum.kirupa.com/u/e_v)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 10:00pm UTC](https://forum.kirupa.com/t/accessibility-tabbing-through-ui-elements/304287 "2010-02-04T22:00:17Z")

</div>

I am trying to set up a UI that can be navigated through keyboard only. When I tab through various UI elements, I see the yellow box, but is there a simple, global way to make a UI element "clicked" when Enter is presse…

---

## [Advice on: Flv or mp4](https://forum.kirupa.com/t/advice-on-flv-or-mp4/304286)

<div class="topic-metadata">

**Author:** [@mikkelwurtz](https://forum.kirupa.com/u/mikkelwurtz)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 9:57pm UTC](https://forum.kirupa.com/t/advice-on-flv-or-mp4/304286 "2010-02-04T21:57:18Z")

</div>

Hello! I'm about to do a website with some fullscreen streaming video, but don't know to play mp4, flv or f4v. I seems like flash can read/load it all. Thanks!

---

## [Dyamically create textfields](https://forum.kirupa.com/t/dyamically-create-textfields/304285)

<div class="topic-metadata">

**Author:** [@waverider303](https://forum.kirupa.com/u/waverider303)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 9:49pm UTC](https://forum.kirupa.com/t/dyamically-create-textfields/304285 "2010-02-04T21:49:33Z")

</div>

I have a list of names in a database and I want to pull these names and put them in text fields that will change colors on rollover states. I get the names all pulled from the database and put into text fields dynamica…

---

## [matrix3d local to global coordinates for rotation problem](https://forum.kirupa.com/t/matrix3d-local-to-global-coordinates-for-rotation-problem/304284)

<div class="topic-metadata">

**Author:** [@navandv](https://forum.kirupa.com/u/navandv)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 9:15pm UTC](https://forum.kirupa.com/t/matrix3d-local-to-global-coordinates-for-rotation-problem/304284 "2010-02-04T21:15:30Z")

</div>

Hello. I made a cube with as3. I wanted it to rotate in the Y Axis according to the horizontal mouse movement. It works nice when this is all I want. But if I try to also make it rotate on the X axis with the vertical …

---

## [AddEventListener Assigned More Than Once](https://forum.kirupa.com/t/addeventlistener-assigned-more-than-once/304283)

<div class="topic-metadata">

**Author:** [@gkp\_gaurav1](https://forum.kirupa.com/u/gkp_gaurav1)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 9:14pm UTC](https://forum.kirupa.com/t/addeventlistener-assigned-more-than-once/304283 "2010-02-04T21:14:54Z")

</div>

If in a situation, the addEventListener is being assigned more than once for same action, what will happen then? Suppose on frame 5 there is sample\_btn.addEventListener(MouseEvent.CLICK......... and when user navigates t…

[Previous page](https://forum.kirupa.com/latest.md?page=1006)

[Next page](https://forum.kirupa.com/latest.md?page=1008)
