# programming

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

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

**Page:** 570

---

## [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…

---

## [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…

---

## [Scrubbing External loaded swf using Slider](https://forum.kirupa.com/t/scrubbing-external-loaded-swf-using-slider/304282)

<div class="topic-metadata">

**Author:** [@Hioctane](https://forum.kirupa.com/u/Hioctane)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 8:23pm UTC](https://forum.kirupa.com/t/scrubbing-external-loaded-swf-using-slider/304282 "2010-02-04T20:23:50Z")

</div>

OK, I looked for a couple of hours through Yahoo and google to see if anyone created a simple Scrubber script for controlling an externally loaded swfs, and I found none (only complex classes that use custom XML scripts …

---

## [Somethin up with my css](https://forum.kirupa.com/t/somethin-up-with-my-css/304281)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 8:18pm UTC](https://forum.kirupa.com/t/somethin-up-with-my-css/304281 "2010-02-04T20:18:54Z")

</div>

I am making an overlay window and in IE6 and 7 when it comes on my page shifts up. It works fine in firefox and IE8. Here is the link http://ronnieswietek.com/cc/modal/ here is my css..dimm is the overlay body { …

---

## [How to optimize loaded XML](https://forum.kirupa.com/t/how-to-optimize-loaded-xml/304279)

<div class="topic-metadata">

**Author:** [@qpixo](https://forum.kirupa.com/u/qpixo)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 8:14pm UTC](https://forum.kirupa.com/t/how-to-optimize-loaded-xml/304279 "2010-02-04T20:14:08Z")

</div>

When using to load XML file, I have used Event.COMPLETE, Event.Progress, IOEventListener. Since listeners take up memory ressources. I was wondering if it's a good way and habit to optimize after it has been completed …

---

## [Masking problem actionscript 3](https://forum.kirupa.com/t/masking-problem-actionscript-3/304278)

<div class="topic-metadata">

**Author:** [@rockfish](https://forum.kirupa.com/u/rockfish)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 7:16pm UTC](https://forum.kirupa.com/t/masking-problem-actionscript-3/304278 "2010-02-04T19:16:14Z")

</div>

I am creating a dynamic map of the world. Next to the map I have a zoomed detail area focusing on a particular region. The detailed area is a movieclip drawn on the stage, made a symbol and instanced with the name 'detai…

---

## [Why one "for" loop working, other not?](https://forum.kirupa.com/t/why-one-for-loop-working-other-not/304276)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 7:03pm UTC](https://forum.kirupa.com/t/why-one-for-loop-working-other-not/304276 "2010-02-04T19:03:12Z")

</div>

Why does the first loop work but not the other? for (var i:uint =0; i\<8; i++)//This one works. { this\["popUp" + i\].addEventListener(MouseEvent.CLICK, handleClick); this\["popUp" + i\].buttonMode = true; this\["popUp" …

---

## [Contents on flash site dont display properly](https://forum.kirupa.com/t/contents-on-flash-site-dont-display-properly/304274)

<div class="topic-metadata">

**Author:** [@krizinxgren](https://forum.kirupa.com/u/krizinxgren)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 5:54pm UTC](https://forum.kirupa.com/t/contents-on-flash-site-dont-display-properly/304274 "2010-02-04T17:54:36Z")

</div>

Good day all i am having trouble geting my flash site to display properly on other screens/resolution setting everything displays normal on my laptop but when i preview it on the browser the contents are all over the p…

---

## [\[mc\] replacing a movieclip without changing it's children/depth/tweens](https://forum.kirupa.com/t/mc-replacing-a-movieclip-without-changing-its-children-depth-tweens/304273)

<div class="topic-metadata">

**Author:** [@Roland684](https://forum.kirupa.com/u/Roland684)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 5:50pm UTC](https://forum.kirupa.com/t/mc-replacing-a-movieclip-without-changing-its-children-depth-tweens/304273 "2010-02-04T17:50:11Z")

</div>

I would like to be able to draw a simple box as a background/placeholder, dress it up with buttons and movie clips at design time, and at runtime call a function to replace the simple box with the new design. How would I…

---

## [Actionscirpt Array](https://forum.kirupa.com/t/actionscirpt-array/304269)

<div class="topic-metadata">

**Author:** [@Paperwhale](https://forum.kirupa.com/u/Paperwhale)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 4:39pm UTC](https://forum.kirupa.com/t/actionscirpt-array/304269 "2010-02-04T16:39:09Z")

</div>

Actionscript 2.0 CS3 Hey I want the button to rotate the selected movieclip in the array. Every movieclip in the array has the button with the same name. every time i press the rotate button the 'root.ho' movieclip r…

---

## [Changing color of text in a movieclip on click](https://forum.kirupa.com/t/changing-color-of-text-in-a-movieclip-on-click/304268)

<div class="topic-metadata">

**Author:** [@vigordesign](https://forum.kirupa.com/u/vigordesign)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 4:15pm UTC](https://forum.kirupa.com/t/changing-color-of-text-in-a-movieclip-on-click/304268 "2010-02-04T16:15:41Z")

</div>

Hello, As stated in the title, I'm looking to change the color of text in a movieclip when the user clicks it(IE it'll turn red for wrong, and green for correct). I've set it up so it can do other things, like gotoAnd…

---

## ['inlining' (in the C++ sense) a referenced function - other options?](https://forum.kirupa.com/t/inlining-in-the-c-sense-a-referenced-function-other-options/304266)

<div class="topic-metadata">

**Author:** [@KomodoDave](https://forum.kirupa.com/u/KomodoDave)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 3:57pm UTC](https://forum.kirupa.com/t/inlining-in-the-c-sense-a-referenced-function-other-options/304266 "2010-02-04T15:57:12Z")

</div>

Hi guys, Here's a bit of background info.. I am developing a verlet physics engine with collision detection and support for solving constraints through relaxation. I am aware of existing engines such as Box2D; I'm do…

---

## [SWFAddress not working](https://forum.kirupa.com/t/swfaddress-not-working/304262)

<div class="topic-metadata">

**Author:** [@nate51](https://forum.kirupa.com/u/nate51)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 2:57pm UTC](https://forum.kirupa.com/t/swfaddress-not-working/304262 "2010-02-04T14:57:42Z")

</div>

I have used SWFAddress before on a timeline driven site but now I am trying to do all actionscript and it suddenly doesnt want to work. I am trying to use SWFAddress 2.4 and even got as desperate as to try using all my…

---

## [Video fps vs Project pfs](https://forum.kirupa.com/t/video-fps-vs-project-pfs/304261)

<div class="topic-metadata">

**Author:** [@ravenzan](https://forum.kirupa.com/u/ravenzan)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 2:54pm UTC](https://forum.kirupa.com/t/video-fps-vs-project-pfs/304261 "2010-02-04T14:54:47Z")

</div>

Hey guys! Sorry to be so direct, but i need help! Picture this. A Video-loop at 25fps imported to flash, embedded, plays fine if the project fps also is 25fps. \[LEFT\]But i also want to add a 3D Carousel menu\*\*, \*…

---

## [For Sale New Apple iPhone 3GS 32GB $250USD/Blackberry Onyx 9700 $280USD](https://forum.kirupa.com/t/for-sale-new-apple-iphone-3gs-32gb-250usd-blackberry-onyx-9700-280usd/304260)

<div class="topic-metadata">

**Author:** [@dejiturayo](https://forum.kirupa.com/u/dejiturayo)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 2:52pm UTC](https://forum.kirupa.com/t/for-sale-new-apple-iphone-3gs-32gb-250usd-blackberry-onyx-9700-280usd/304260 "2010-02-04T14:52:19Z")

</div>

WE ARE NOW OPEN & availability for purchase online 24hours / 7days Here is a Telecommunication n Store which we sell all brand of phones and Apple Product, all Unlocked and ready to use as soon as you get it,comes with…

---

## [Find out where on TextField context menu appears](https://forum.kirupa.com/t/find-out-where-on-textfield-context-menu-appears/304259)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 2:28pm UTC](https://forum.kirupa.com/t/find-out-where-on-textfield-context-menu-appears/304259 "2010-02-04T14:28:54Z")

</div>

I want users to be able to right click on a certain line in the text field, and I don't want to go through the hassle and extra memory and coding involved in breaking up the field. If the user has not selected the text…

---

## [Class object ReferenceError (please advise)](https://forum.kirupa.com/t/class-object-referenceerror-please-advise/304258)

<div class="topic-metadata">

**Author:** [@Wurzagg](https://forum.kirupa.com/u/Wurzagg)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 2:25pm UTC](https://forum.kirupa.com/t/class-object-referenceerror-please-advise/304258 "2010-02-04T14:25:17Z")

</div>

I'm building a game which makes use of a few extended classes. I've recently made a few changes in the way the graphics are ordered and am now running into problems, namely: \*ReferenceError: Error #1069: Property grab no…

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

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