# programming

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

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

**Page:** 308

---

## [Tutorial: Getting Your Feet Wet in HTML 5](https://forum.kirupa.com/t/tutorial-getting-your-feet-wet-in-html-5/320462)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [March 24, 2011, 6:48am UTC](https://forum.kirupa.com/t/tutorial-getting-your-feet-wet-in-html-5/320462 "2011-03-24T06:48:39Z")

</div>

Hi everyone, This is the place to discuss anything regarding the \[COLOR=#003366\]Getting Your Feet Wet in HTML 5\[/COLOR\] tutorial \[smile\] Cheers, Kirupa :hugegrin:

---

## [setStyle skinning method](https://forum.kirupa.com/t/setstyle-skinning-method/320456)

<div class="topic-metadata">

**Author:** [@audioholic](https://forum.kirupa.com/u/audioholic)\
**Replies:** 0\
**Last updated:** [March 24, 2011, 5:56am UTC](https://forum.kirupa.com/t/setstyle-skinning-method/320456 "2011-03-24T05:56:01Z")

</div>

Hi, I want to skin the listBox component on my Flash file. I used the setStyle skin method with the following code to get all aspects such as textColor, rollOverColor, background, etc... and they work like a charm. …

---

## [Need to remove a sprite object when another sprite object hits it](https://forum.kirupa.com/t/need-to-remove-a-sprite-object-when-another-sprite-object-hits-it/320455)

<div class="topic-metadata">

**Author:** [@iceherosubzero](https://forum.kirupa.com/u/iceherosubzero)\
**Replies:** 0\
**Last updated:** [March 24, 2011, 5:26am UTC](https://forum.kirupa.com/t/need-to-remove-a-sprite-object-when-another-sprite-object-hits-it/320455 "2011-03-24T05:26:34Z")

</div>

Hello All, I have a brick class where I have created a rectangle using flash.display.graphics. I am using this brick class to create a grid of 10 X 10 in another class called grid using new brick() in a for loop. I hav…

---

## [Accurate timers, how do you do yours?](https://forum.kirupa.com/t/accurate-timers-how-do-you-do-yours/320451)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 10:36pm UTC](https://forum.kirupa.com/t/accurate-timers-how-do-you-do-yours/320451 "2011-03-23T22:36:25Z")

</div>

I'm making a lap timer at the moment, and I realised just how awful the Timer class is. I've observed it's lack of accuracy before, but only now do I realise what a joke this class is. Making a stopwatch type class s…

---

## [Multiple AS3 Questions for RPG Game](https://forum.kirupa.com/t/multiple-as3-questions-for-rpg-game/320449)

<div class="topic-metadata">

**Author:** [@selacius](https://forum.kirupa.com/u/selacius)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 10:26pm UTC](https://forum.kirupa.com/t/multiple-as3-questions-for-rpg-game/320449 "2011-03-23T22:26:37Z")

</div>

Hello, I have been following the RPG game design as laid out in the Foundation Game Design With Flash and have made great progress. I have however stumbled upon a few issues either related to the base design from the abo…

---

## [Better JPEG resolution on Flash website](https://forum.kirupa.com/t/better-jpeg-resolution-on-flash-website/320447)

<div class="topic-metadata">

**Author:** [@tayn](https://forum.kirupa.com/u/tayn)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 8:38pm UTC](https://forum.kirupa.com/t/better-jpeg-resolution-on-flash-website/320447 "2011-03-23T20:38:31Z")

</div>

Hey guys, I've built an image-rich website using AS 2.0. It pulls JPEGS into EmptyMovieClips that I've written the .fla file. The JPEGs are really high resolution, but become quite blurry/pixellated when viewed on t…

---

## [Disable xml until mouseclip](https://forum.kirupa.com/t/disable-xml-until-mouseclip/320446)

<div class="topic-metadata">

**Author:** [@PhantomSpazz](https://forum.kirupa.com/u/PhantomSpazz)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 7:27pm UTC](https://forum.kirupa.com/t/disable-xml-until-mouseclip/320446 "2011-03-23T19:27:37Z")

</div>

I have xml that is being pulled into dynamic textfields upon publish. How can I disable the xml from populating into the dynamic text fields until a button on stage is released. This is my current as3 code: stop()…

---

## [Shared Library "ReferenceError: Error #1065"](https://forum.kirupa.com/t/shared-library-referenceerror-error-1065/320445)

<div class="topic-metadata">

**Author:** [@GustavoLima](https://forum.kirupa.com/u/GustavoLima)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 7:26pm UTC](https://forum.kirupa.com/t/shared-library-referenceerror-error-1065/320445 "2011-03-23T19:26:35Z")

</div>

Hi everyone, I'm using Flash CS5 (AS3) for my main application, and I need to load multiple swf files (childs) at different times. The swfs (childs) import assets from a separate flash swf used as a shared library. I'…

---

## [Need help on my broken preloader](https://forum.kirupa.com/t/need-help-on-my-broken-preloader/320444)

<div class="topic-metadata">

**Author:** [@Skullworth](https://forum.kirupa.com/u/Skullworth)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 6:40pm UTC](https://forum.kirupa.com/t/need-help-on-my-broken-preloader/320444 "2011-03-23T18:40:56Z")

</div>

Hello all i hope i am not going too fast but i will pots my problem all the same, There were some syntax errors i fixed on a very old preloader i loaded on CS5... but there seems to be visuals that are not showing. T…

---

## [Flash login with php](https://forum.kirupa.com/t/flash-login-with-php/320443)

<div class="topic-metadata">

**Author:** [@stryker](https://forum.kirupa.com/u/stryker)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 3:45pm UTC](https://forum.kirupa.com/t/flash-login-with-php/320443 "2011-03-23T15:45:51Z")

</div>

Everything I've tried with this script has ended with no positive result, this was developed in flash 9, but attempting to publish in flash 10 since its no longer working after updating flash. I have also upgraded from C…

---

## [Hierarchy of instances](https://forum.kirupa.com/t/hierarchy-of-instances/320441)

<div class="topic-metadata">

**Author:** [@silverneo188](https://forum.kirupa.com/u/silverneo188)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 3:06pm UTC](https://forum.kirupa.com/t/hierarchy-of-instances/320441 "2011-03-23T15:06:11Z")

</div>

I was wondering, sometimes i get confused from which point in a movieclip to indentify another movie clip. I was wondering if this would work lets say i have a series of movieclips with these instances in each other mc…

---

## [Getting Movie Clips to Apppear and Disappear with the use of a timer](https://forum.kirupa.com/t/getting-movie-clips-to-apppear-and-disappear-with-the-use-of-a-timer/320439)

<div class="topic-metadata">

**Author:** [@keitho30](https://forum.kirupa.com/u/keitho30)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 2:34pm UTC](https://forum.kirupa.com/t/getting-movie-clips-to-apppear-and-disappear-with-the-use-of-a-timer/320439 "2011-03-23T14:34:51Z")

</div>

Hi, I'm re-creating a cctv style project, and I am trying to play flv's at different times using the timerEvent, as the flv's are embedded within one keyframe i need to use as3.. Any Ideas would be so helpful?

---

## [Need help with this\[\]](https://forum.kirupa.com/t/need-help-with-this/320437)

<div class="topic-metadata">

**Author:** [@lkingman](https://forum.kirupa.com/u/lkingman)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 12:44pm UTC](https://forum.kirupa.com/t/need-help-with-this/320437 "2011-03-23T12:44:27Z")

</div>

A movie clip on the stage: myObj which has movie clips within it, such as: myObj.o1 this\["myObj"\] accesses myObj but this\["myObj.o1"\] returns undefined. How can I access myObj.o1 from it's name string? Many thanks…

---

## [Div on top of another - z-index?](https://forum.kirupa.com/t/div-on-top-of-another-z-index/320435)

<div class="topic-metadata">

**Author:** [@nnnniiiicccc](https://forum.kirupa.com/u/nnnniiiicccc)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 12:08pm UTC](https://forum.kirupa.com/t/div-on-top-of-another-z-index/320435 "2011-03-23T12:08:30Z")

</div>

Hi I have 2 divs... DIV #wave is set to 100% width.. DIV #wavewhite is set to 980px width with auto margins either side... therefore DIV #wavewhite appears centered inside DIV #wave. \[COLOR=#000080\]\<div id=\[COLOR…

---

## [Mouse event ROLL\_OVER and ROLL\_OUT clash](https://forum.kirupa.com/t/mouse-event-roll-over-and-roll-out-clash/320434)

<div class="topic-metadata">

**Author:** [@KBasak](https://forum.kirupa.com/u/KBasak)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 12:06pm UTC](https://forum.kirupa.com/t/mouse-event-roll-over-and-roll-out-clash/320434 "2011-03-23T12:06:26Z")

</div>

Hi, I have a little complicated set of ROLL\_OVER and ROLL\_OUT event handlers which are getting clashed. I have following movieclip symbols on the stage: \*Background Bounds (child of Background) Design (child of Back…

---

## [Convert String to ByteArray](https://forum.kirupa.com/t/convert-string-to-bytearray/320429)

<div class="topic-metadata">

**Author:** [@boywithumbrella](https://forum.kirupa.com/u/boywithumbrella)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 10:02am UTC](https://forum.kirupa.com/t/convert-string-to-bytearray/320429 "2011-03-23T10:02:07Z")

</div>

\[CENTER\]hi, I'm working on a small web project Combines between flash AS3 and php ,the project Depends on three steps... 1- convert bitMapData to byteArray |with JPGEncoder | 2- convert byteArray to String and Send it…

---

## [\_root\[mc\]](https://forum.kirupa.com/t/-root-mc/320427)

<div class="topic-metadata">

**Author:** [@12abhi12](https://forum.kirupa.com/u/12abhi12)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 9:37am UTC](https://forum.kirupa.com/t/-root-mc/320427 "2011-03-23T09:37:06Z")

</div>

I have a Movieclip ("mc") in a parent movieclip("parent\_mc") When the mouse rolls on mc its name gets recorded in a variable("hovered") and a function ("RollOver()") gets executed. According to the function root\[hovered\]…

---

## [Embedding YouTube vid via XML](https://forum.kirupa.com/t/embedding-youtube-vid-via-xml/320424)

<div class="topic-metadata">

**Author:** [@ukspursbloke](https://forum.kirupa.com/u/ukspursbloke)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 8:52am UTC](https://forum.kirupa.com/t/embedding-youtube-vid-via-xml/320424 "2011-03-23T08:52:37Z")

</div>

Hey. I want to be able to embed a youtube video into a movie clip on stage, and be able to edit which video is embedded via XML. This functionality is needed by my client so they don't have to open the thing in Flash. So…

---

## [Web Designing Training Programme in Mohali/Chandigarh](https://forum.kirupa.com/t/web-designing-training-programme-in-mohali-chandigarh/320422)

<div class="topic-metadata">

**Author:** [@sukhjeet123](https://forum.kirupa.com/u/sukhjeet123)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 8:02am UTC](https://forum.kirupa.com/t/web-designing-training-programme-in-mohali-chandigarh/320422 "2011-03-23T08:02:52Z")

</div>

\[COLOR=Plum\]\[COLOR=black\]\[FONT=&quot\]Web Designing Training Programme in Mohali/Chandigarh \[/FONT\]\[/COLOR\]\[/COLOR\] \[FONT=&quot\] \[/FONT\]\[COLOR=black\]Dear Students, There is a platform for fresher to get training by prof…

---

## [Can export workspace in flash CS5?](https://forum.kirupa.com/t/can-export-workspace-in-flash-cs5/320419)

<div class="topic-metadata">

**Author:** [@harry\_kooner2k](https://forum.kirupa.com/u/harry_kooner2k)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 5:44am UTC](https://forum.kirupa.com/t/can-export-workspace-in-flash-cs5/320419 "2011-03-23T05:44:33Z")

</div>

Can we save or export a workspace in flash CS5, so that in case you reinstall the flash, you can restore your workspace. Or use same workspace for multiple computers.

---

## [Apply a Timer to](https://forum.kirupa.com/t/apply-a-timer-to/320417)

<div class="topic-metadata">

**Author:** [@Diablo404](https://forum.kirupa.com/u/Diablo404)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 4:32am UTC](https://forum.kirupa.com/t/apply-a-timer-to/320417 "2011-03-23T04:32:52Z")

</div>

Hello everyone! For a student project, I need to make a little animation in Flash. So I would like to make few Swf's succeed. I found, as a start, this little piece of code in the Flashkit board. ( http://board.flash…

---

## [Plz Help Preloader on IE Stay in 0%](https://forum.kirupa.com/t/plz-help-preloader-on-ie-stay-in-0/320416)

<div class="topic-metadata">

**Author:** [@Asteroids](https://forum.kirupa.com/u/Asteroids)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 3:33am UTC](https://forum.kirupa.com/t/plz-help-preloader-on-ie-stay-in-0/320416 "2011-03-23T03:33:11Z")

</div>

I Can simulate in flash file but not happen but when test on IE it's stay on 0% please Help this is my code stop(); this.loaderInfo.addEventListener(Event.COMPLETE, loadComplete); this.loaderInfo.addEventListener(…

---

## [gotoAndPlay back to parent](https://forum.kirupa.com/t/gotoandplay-back-to-parent/320415)

<div class="topic-metadata">

**Author:** [@Indiran](https://forum.kirupa.com/u/Indiran)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 3:18am UTC](https://forum.kirupa.com/t/gotoandplay-back-to-parent/320415 "2011-03-23T03:18:04Z")

</div>

Hi guys, need help as i am relatively new to AS3. I want to know how to gotoAndPlay back to scene1/parent to play frame there. I did they type casting but keep getting error Type Coercion failed: cannot convert flas…

---

## [How do I access a function in one class from another?](https://forum.kirupa.com/t/how-do-i-access-a-function-in-one-class-from-another/320414)

<div class="topic-metadata">

**Author:** [@RichGags](https://forum.kirupa.com/u/RichGags)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 12:51am UTC](https://forum.kirupa.com/t/how-do-i-access-a-function-in-one-class-from-another/320414 "2011-03-23T00:51:32Z")

</div>

I have a AS3 MP3 player. The player class controls the play and pause buttons. The playlist class loads the track names into a playlist from XML. In the playlist is a download button. When the download button is pres…

---

## [Stacking Layers](https://forum.kirupa.com/t/stacking-layers/320413)

<div class="topic-metadata">

**Author:** [@Luigi\_Vercotti](https://forum.kirupa.com/u/Luigi_Vercotti)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 10:08pm UTC](https://forum.kirupa.com/t/stacking-layers/320413 "2011-03-22T22:08:15Z")

</div>

Guys Don't know if I can explain what kind of problem I've got, which it bothers me for some time now and I just can not figure out why. I've made my site with photoshop and all images are in .png, saved with transpare…

---

## [hitTest not working?](https://forum.kirupa.com/t/hittest-not-working/320411)

<div class="topic-metadata">

**Author:** [@michaelchandler](https://forum.kirupa.com/u/michaelchandler)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 8:24pm UTC](https://forum.kirupa.com/t/hittest-not-working/320411 "2011-03-22T20:24:04Z")

</div>

I’m having a little trouble with my hitTest or something. I’m really not sure what I’m doing wrong, and I was wondering if you could help me out. So I have an object called “fruit” and when my “player 2” collides with “…

---

## [Loading external swf files automatically](https://forum.kirupa.com/t/loading-external-swf-files-automatically/320409)

<div class="topic-metadata">

**Author:** [@kristinaVA](https://forum.kirupa.com/u/kristinaVA)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 7:52pm UTC](https://forum.kirupa.com/t/loading-external-swf-files-automatically/320409 "2011-03-22T19:52:06Z")

</div>

\[FONT=Franklin Gothic Medium\] \[FONT=&quot\]Hello, \[/FONT\] \[/FONT\] \[FONT=Franklin Gothic Medium\] \[FONT=&quot\]I am wondering if anyone can help me with this. I need it to be in Action script 3 though. I did find a…

---

## [Actionscript 1.0 why is my \_root moving as well as the image?](https://forum.kirupa.com/t/actionscript-1-0-why-is-my--root-moving-as-well-as-the-image/320408)

<div class="topic-metadata">

**Author:** [@trishtren](https://forum.kirupa.com/u/trishtren)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 7:47pm UTC](https://forum.kirupa.com/t/actionscript-1-0-why-is-my--root-moving-as-well-as-the-image/320408 "2011-03-22T19:47:51Z")

</div>

Hey, iv been working on using actionscript 1.0 with a java api. Im having only one problem, im trying to make just an image move on screen however when i push right the entire contents of any object on screen gets moved …

---

## [attachMovie with an array (CS4, AS2)](https://forum.kirupa.com/t/attachmovie-with-an-array-cs4-as2/320406)

<div class="topic-metadata">

**Author:** [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 6:35pm UTC](https://forum.kirupa.com/t/attachmovie-with-an-array-cs4-as2/320406 "2011-03-22T18:35:12Z")

</div>

I've been trying to use attachMovie with an array and can't seem to get anywhere with it. First I've got mc's loading a set of buttons with attachMovie which I've got written like this, using an array: for (i=0; i\<tes…

---

## [AS2 combobox populates another combobox](https://forum.kirupa.com/t/as2-combobox-populates-another-combobox/320405)

<div class="topic-metadata">

**Author:** [@reevo100](https://forum.kirupa.com/u/reevo100)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 6:16pm UTC](https://forum.kirupa.com/t/as2-combobox-populates-another-combobox/320405 "2011-03-22T18:16:31Z")

</div>

Hi, I have two comboboxes that load from an xml file. One called "size" one called "color". AS and xml below... comboSize = new XML(); comboSize.ignoreWhite = true; comboSize.onLoad=function() { var props= this.fi…

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

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