# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=184

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

**Page:** 185

---

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

---

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

---

## [Can you attach an image to a Sprite?](https://forum.kirupa.com/t/can-you-attach-an-image-to-a-sprite/320404)

<div class="topic-metadata">

**Author:** [@megshea](https://forum.kirupa.com/u/megshea)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 6:05pm UTC](https://forum.kirupa.com/t/can-you-attach-an-image-to-a-sprite/320404 "2011-03-22T18:05:09Z")

</div>

Can you name a Sprite like a movie clip and then reference that to attach an image? Like: myMovieClip.mySprite.attachChild(imageLoader);

---

## [Trimming unprintable characters](https://forum.kirupa.com/t/trimming-unprintable-characters/320403)

<div class="topic-metadata">

**Author:** [@jasonfahy](https://forum.kirupa.com/u/jasonfahy)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 5:48pm UTC](https://forum.kirupa.com/t/trimming-unprintable-characters/320403 "2011-03-22T17:48:54Z")

</div>

Hello, I’m fumbling my way along, writing a schedule-building utility for my online students. I want it to load class information from a .txt file, written in NotePad. I’ve loaded the data as a string, then I used .spl…

---

## [Ming php Action script](https://forum.kirupa.com/t/ming-php-action-script/320400)

<div class="topic-metadata">

**Author:** [@kiwi2](https://forum.kirupa.com/u/kiwi2)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 4:39pm UTC](https://forum.kirupa.com/t/ming-php-action-script/320400 "2011-03-22T16:39:19Z")

</div>

\<?php include "lib.php"; $time = time(); $date = getdate($time); $year = $date\[year\]; $month = $date\[mon\]; $day = $date\[mday\]; $c1 =255; $c2 =255; $c3 =255; $h = 400; $w = 400; $m = newmovie($h,$w,$c1,$c2,$c3); $file =…

---

## [Preloader not working with external jpegs](https://forum.kirupa.com/t/preloader-not-working-with-external-jpegs/320398)

<div class="topic-metadata">

**Author:** [@Toner](https://forum.kirupa.com/u/Toner)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 3:18pm UTC](https://forum.kirupa.com/t/preloader-not-working-with-external-jpegs/320398 "2011-03-22T15:18:25Z")

</div>

Hi, Working in Flash CS5 and using ActionScript 2.0 I'm trying to attach a preloader to a MovieClip which has a loader component inside to load an external jpeg. The MovieClip is inside a another MovieClip. I've use…

---

## [Loading images problem HELP!](https://forum.kirupa.com/t/loading-images-problem-help/320395)

<div class="topic-metadata">

**Author:** [@starsoccer10921](https://forum.kirupa.com/u/starsoccer10921)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 2:38pm UTC](https://forum.kirupa.com/t/loading-images-problem-help/320395 "2011-03-22T14:38:24Z")

</div>

Hello there I made 1 image gallery. and i am facing a big issue. When one image is loading in my Loader object. If i click on next image button. It starts loading another image without canceling the existing image. So …

---

## [Cannot open the document](https://forum.kirupa.com/t/cannot-open-the-document/320390)

<div class="topic-metadata">

**Author:** [@sula](https://forum.kirupa.com/u/sula)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 12:33pm UTC](https://forum.kirupa.com/t/cannot-open-the-document/320390 "2011-03-22T12:33:49Z")

</div>

When I open the file in Flash CS5, this message appears: \*\*Flash can not parse this document. An error occurred opening file 'D:......fla'\*\* what problem it is and how to solve it? thanks in advance

---

## [Eval replacement?](https://forum.kirupa.com/t/eval-replacement/320389)

<div class="topic-metadata">

**Author:** [@geter712](https://forum.kirupa.com/u/geter712)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 12:29pm UTC](https://forum.kirupa.com/t/eval-replacement/320389 "2011-03-22T12:29:18Z")

</div>

Ok, I know there is no eval function in AS3, and that \['bla'+bla\] is a proper replacement, when it comes to calling dynamically created objects, but this what I need is a little bit different... I have a piece of AS3 cod…

---

## [Flash 8 mail and php multiline issue](https://forum.kirupa.com/t/flash-8-mail-and-php-multiline-issue/320388)

<div class="topic-metadata">

**Author:** [@sirn51](https://forum.kirupa.com/u/sirn51)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 11:35am UTC](https://forum.kirupa.com/t/flash-8-mail-and-php-multiline-issue/320388 "2011-03-22T11:35:24Z")

</div>

Hi, I'm using flash 8 AS2, I've created a form for people to contact me from my website. However, everything's working well except the input text for comments. In flash, it does multiline wrapping and go back to the lin…

---

## [How to access existing data in DataGrid cell?](https://forum.kirupa.com/t/how-to-access-existing-data-in-datagrid-cell/320387)

<div class="topic-metadata">

**Author:** [@srvikram13](https://forum.kirupa.com/u/srvikram13)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 11:19am UTC](https://forum.kirupa.com/t/how-to-access-existing-data-in-datagrid-cell/320387 "2011-03-22T11:19:39Z")

</div>

Hi, Can anybody tell me how to access existing data in a DataGrid cell in labelFunction? I am able to access the new data to be displayed in the cell. What I want to do now is if the new value is less than the pre…

---

## [KeyBoardEvent... Help pls.. URGENT](https://forum.kirupa.com/t/keyboardevent-help-pls-urgent/320385)

<div class="topic-metadata">

**Author:** [@LoveTheresa](https://forum.kirupa.com/u/LoveTheresa)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 10:26am UTC](https://forum.kirupa.com/t/keyboardevent-help-pls-urgent/320385 "2011-03-22T10:26:31Z")

</div>

I have 2 sprite, A sprite and B sprite, A sprite can listen to KeyboardEvent, when I click an button on A sprite, B sprite will jump on top of A sprite, when I close B sprite in which A sprite at the bottom will be seen …

---

## [AS3 Simple Bounce Not Rendering at Boundary](https://forum.kirupa.com/t/as3-simple-bounce-not-rendering-at-boundary/320384)

<div class="topic-metadata">

**Author:** [@Inpetto](https://forum.kirupa.com/u/Inpetto)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 10:03am UTC](https://forum.kirupa.com/t/as3-simple-bounce-not-rendering-at-boundary/320384 "2011-03-22T10:03:51Z")

</div>

Hi guys I'm running some AS3-based animation, a simple bounce effect. A ball lies above a line, gravity as acceleration increases it's negative velocity by 1 each frame. When it penetrates an arbitrary line it is move up…

---

## [Paint like application](https://forum.kirupa.com/t/paint-like-application/320381)

<div class="topic-metadata">

**Author:** [@Lamcho](https://forum.kirupa.com/u/Lamcho)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 9:15am UTC](https://forum.kirupa.com/t/paint-like-application/320381 "2011-03-22T09:15:12Z")

</div>

Does anybody know a framework that could be used as a base for creation of paint like (but more complex) application. This application will include - layers - drawing vector objects - rotating, scaling all o…

---

## [How to use shared library?](https://forum.kirupa.com/t/how-to-use-shared-library/320380)

<div class="topic-metadata">

**Author:** [@harry\_kooner2k](https://forum.kirupa.com/u/harry_kooner2k)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 7:40am UTC](https://forum.kirupa.com/t/how-to-use-shared-library/320380 "2011-03-22T07:40:43Z")

</div>

Hello my genius friends, I used the word genius because I got solution here everytime i post an issue.. Hope you people help me this time also. In my child swf I am using the sound from library with "attachSound". I …

---

## [How does extends work?](https://forum.kirupa.com/t/how-does-extends-work/320376)

<div class="topic-metadata">

**Author:** [@taint](https://forum.kirupa.com/u/taint)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 4:46am UTC](https://forum.kirupa.com/t/how-does-extends-work/320376 "2011-03-22T04:46:09Z")

</div>

How should I use it and when I would use it? I got two classes hero\_class and navigate hero\_class is for my character navigate is for my character movement how should i put the navigate for my hero\_class Here i…

---

## [Help with Sprites](https://forum.kirupa.com/t/help-with-sprites/320374)

<div class="topic-metadata">

**Author:** [@lozts](https://forum.kirupa.com/u/lozts)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 3:11am UTC](https://forum.kirupa.com/t/help-with-sprites/320374 "2011-03-22T03:11:08Z")

</div>

I am using a sprite as a container so that when the users chooses a new item from a combobox, the sprites contained in the container sprite can be removed but for some reason it keeps displaying this error: "RangeError:…

---

## [Air 2.6 SDK available](https://forum.kirupa.com/t/air-2-6-sdk-available/320369)

<div class="topic-metadata">

**Author:** [@tbo](https://forum.kirupa.com/u/tbo)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 12:21am UTC](https://forum.kirupa.com/t/air-2-6-sdk-available/320369 "2011-03-22T00:21:28Z")

</div>

with updated Android and iOS support of course http://blogs.adobe.com/cantrell/archives/2011/03/everything-new-in-adobe-air-2-6.html

---

## [TLF Autosize in Flex 4.1](https://forum.kirupa.com/t/tlf-autosize-in-flex-4-1/320368)

<div class="topic-metadata">

**Author:** [@kleelof](https://forum.kirupa.com/u/kleelof)\
**Replies:** 0\
**Last updated:** [March 21, 2011, 11:24pm UTC](https://forum.kirupa.com/t/tlf-autosize-in-flex-4-1/320368 "2011-03-21T23:24:33Z")

</div>

\[URL="http://stackoverflow.com/questions/5374561/flex-4-1-richtext-richeditabletext-autosizing#"\] In the past, I used the flash.text.textField object s…

---

## [Adding time to a game timer in AS3](https://forum.kirupa.com/t/adding-time-to-a-game-timer-in-as3/320366)

<div class="topic-metadata">

**Author:** [@lynn51](https://forum.kirupa.com/u/lynn51)\
**Replies:** 0\
**Last updated:** [March 21, 2011, 8:36pm UTC](https://forum.kirupa.com/t/adding-time-to-a-game-timer-in-as3/320366 "2011-03-21T20:36:14Z")

</div>

Hi, Im hoping someone will be able to help here. I've created a simple flash game for moving a car round the flame to collect fuel cans and avoid traffic cones. The game has a 10sec timer running but i want to make it th…

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=183)

[Next page](https://forum.kirupa.com/c/programming/flash/38.md?page=185)
