# flash

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

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

**Page:** 190

---

## [Dynamic MC's This Way?](https://forum.kirupa.com/t/dynamic-mcs-this-way/320124)

<div class="topic-metadata">

**Author:** [@megshea](https://forum.kirupa.com/u/megshea)\
**Replies:** 0\
**Last updated:** [March 14, 2011, 10:59pm UTC](https://forum.kirupa.com/t/dynamic-mcs-this-way/320124 "2011-03-14T22:59:35Z")

</div>

Hey Gang, I'm trying to make some dynamic movie clips, with a drawn rectangle inside a for loop. But I can't figure out if an MC can be named like an Array. How close is this? function init(e:Event = null):void { …

---

## [Issues with currentTarget - Somebody called a function?](https://forum.kirupa.com/t/issues-with-currenttarget-somebody-called-a-function/320120)

<div class="topic-metadata">

**Author:** [@kalasnjikov](https://forum.kirupa.com/u/kalasnjikov)\
**Replies:** 0\
**Last updated:** [March 14, 2011, 9:13pm UTC](https://forum.kirupa.com/t/issues-with-currenttarget-somebody-called-a-function/320120 "2011-03-14T21:13:00Z")

</div>

Disclaimer: I am a bit of a hack with coding - I try to follow good practices, but I am ignorant and there are many holes in my knowledge. All are encouraged to point out any glaring stupidities in my approach - I will…

---

## [8-way character movement help?](https://forum.kirupa.com/t/8-way-character-movement-help/320119)

<div class="topic-metadata">

**Author:** [@asdfol](https://forum.kirupa.com/u/asdfol)\
**Replies:** 0\
**Last updated:** [March 14, 2011, 8:19pm UTC](https://forum.kirupa.com/t/8-way-character-movement-help/320119 "2011-03-14T20:19:25Z")

</div>

Right now I have all the animations for each direction in a movieclip within one movieclip. However, when I use the arrow keys to move the walking animations don't play. When I stop, the appropriate animations play, howe…

---

## [Save and Load XML File](https://forum.kirupa.com/t/save-and-load-xml-file/320118)

<div class="topic-metadata">

**Author:** [@Piruka](https://forum.kirupa.com/u/Piruka)\
**Replies:** 0\
**Last updated:** [March 14, 2011, 7:24pm UTC](https://forum.kirupa.com/t/save-and-load-xml-file/320118 "2011-03-14T19:24:17Z")

</div>

Hi It's my first post here, and i have a doubt... I need save a MovieClip in XML format, then i wrote this code below: private function getDegrafaData(e:MouseEvent):void { var xml:XML = \_canvas.getObjectData(Forma…

---

## [Drag and Drop music player help](https://forum.kirupa.com/t/drag-and-drop-music-player-help/320117)

<div class="topic-metadata">

**Author:** [@felixjarrey](https://forum.kirupa.com/u/felixjarrey)\
**Replies:** 0\
**Last updated:** [March 14, 2011, 7:07pm UTC](https://forum.kirupa.com/t/drag-and-drop-music-player-help/320117 "2011-03-14T19:07:29Z")

</div>

Hi im having some problems getting my music player to work, the idea is to drag a movie clip onto a target which automatically loads a playlist into the music player, i can get the movie clips to drag and load one playli…

---

## [Twitter widgets for a website - Help!](https://forum.kirupa.com/t/twitter-widgets-for-a-website-help/320114)

<div class="topic-metadata">

**Author:** [@Rarity](https://forum.kirupa.com/u/Rarity)\
**Replies:** 0\
**Last updated:** [March 14, 2011, 6:04pm UTC](https://forum.kirupa.com/t/twitter-widgets-for-a-website-help/320114 "2011-03-14T18:04:18Z")

</div>

I've been following an online tutorial; republicofcode.com/tutorials/flash/twitter\_widget/2.php I'm using CS5, AS3 and this is my code so far (I didn't complete the tutorial, as when it said to test it and I kept getti…

---

## [Problem with packager for iphone and images](https://forum.kirupa.com/t/problem-with-packager-for-iphone-and-images/320113)

<div class="topic-metadata">

**Author:** [@n0ldor](https://forum.kirupa.com/u/n0ldor)\
**Replies:** 0\
**Last updated:** [March 14, 2011, 5:21pm UTC](https://forum.kirupa.com/t/problem-with-packager-for-iphone-and-images/320113 "2011-03-14T17:21:25Z")

</div>

Hi, first Sorry for my english I'm programming an application for iphone in flash cs5, the application is a gallery. In the application i load 20 jpgs more or less and i put the jpgs in a vertical list and i do scroll,…

---

## [Retro game remake problem](https://forum.kirupa.com/t/retro-game-remake-problem/320111)

<div class="topic-metadata">

**Author:** [@TurboTuTone](https://forum.kirupa.com/u/TurboTuTone)\
**Replies:** 0\
**Last updated:** [March 14, 2011, 4:42pm UTC](https://forum.kirupa.com/t/retro-game-remake-problem/320111 "2011-03-14T16:42:20Z")

</div>

Ive been trying to figure out the player movement of an old atari lynx game, but i cant get a good grasp of how to it. Perhaps someone here has a clue on how to do it. To help illustrate the problem i have this image: \[…

---

## [Dynamically add movie clips to stage](https://forum.kirupa.com/t/dynamically-add-movie-clips-to-stage/320109)

<div class="topic-metadata">

**Author:** [@typhoon101](https://forum.kirupa.com/u/typhoon101)\
**Replies:** 0\
**Last updated:** [March 14, 2011, 3:17pm UTC](https://forum.kirupa.com/t/dynamically-add-movie-clips-to-stage/320109 "2011-03-14T15:17:28Z")

</div>

Hi. I have an array containing names of movie clips. I would like to loop through the array, and add the movie clips to the stage. I have the following code, but obviously this doesn't work. Can anyone steer me in…

---

## [File will not test movie/publish correctly](https://forum.kirupa.com/t/file-will-not-test-movie-publish-correctly/320108)

<div class="topic-metadata">

**Author:** [@Aneamero](https://forum.kirupa.com/u/Aneamero)\
**Replies:** 0\
**Last updated:** [March 14, 2011, 3:03pm UTC](https://forum.kirupa.com/t/file-will-not-test-movie-publish-correctly/320108 "2011-03-14T15:03:40Z")

</div>

This might be a stupid question, but all the same it's frustrating me... I have a flash project I've recently finished, but I can't publish it because whenever I do, it only publishes the left hand corner of the pictur…

---

## [Dynamically addcue points to flv and seekToNextNavCuePoint](https://forum.kirupa.com/t/dynamically-addcue-points-to-flv-and-seektonextnavcuepoint/320105)

<div class="topic-metadata">

**Author:** [@aditya\_flash](https://forum.kirupa.com/u/aditya_flash)\
**Replies:** 0\
**Last updated:** [March 14, 2011, 2:00pm UTC](https://forum.kirupa.com/t/dynamically-addcue-points-to-flv-and-seektonextnavcuepoint/320105 "2011-03-14T14:00:22Z")

</div>

Hi, i have a flvplayback component onto which i am loading a video. To mimic next frame and previous frame actions i am adding cue points to the loaded for every second of its length. The next frame /previous frame f…

---

## [NetConnection seems to change parent movieclip](https://forum.kirupa.com/t/netconnection-seems-to-change-parent-movieclip/320104)

<div class="topic-metadata">

**Author:** [@alexvanniel](https://forum.kirupa.com/u/alexvanniel)\
**Replies:** 0\
**Last updated:** [March 14, 2011, 1:23pm UTC](https://forum.kirupa.com/t/netconnection-seems-to-change-parent-movieclip/320104 "2011-03-14T13:23:44Z")

</div>

Hi all, I am new to this forum regarding to posting, although I have not before posted anything. Until now that is. I am experiencing quite a strange phenomenon: after I make a succesfull connection to my Red5 flash st…

---

## [Flash & XML Photo Gallery with Categories, Thumbnails and Descriptions in as3](https://forum.kirupa.com/t/flash-xml-photo-gallery-with-categories-thumbnails-and-descriptions-in-as3/320102)

<div class="topic-metadata">

**Author:** [@animaster2011](https://forum.kirupa.com/u/animaster2011)\
**Replies:** 0\
**Last updated:** [March 14, 2011, 1:18pm UTC](https://forum.kirupa.com/t/flash-xml-photo-gallery-with-categories-thumbnails-and-descriptions-in-as3/320102 "2011-03-14T13:18:31Z")

</div>

hi i want create XML Photo Gallery with Categories in as3 on button click ? how to create please help me?

---

## [TLF text AS3 ressource?](https://forum.kirupa.com/t/tlf-text-as3-ressource/320100)

<div class="topic-metadata">

**Author:** [@acto](https://forum.kirupa.com/u/acto)\
**Replies:** 0\
**Last updated:** [March 14, 2011, 12:16pm UTC](https://forum.kirupa.com/t/tlf-text-as3-ressource/320100 "2011-03-14T12:16:46Z")

</div>

Hi, I am struggling with TLF text, I searched and searched and can't find a GOOD tutorial or complete method on how to format TLF text with AS3, I need to: Load dynamic text into dynamic TLF text field Set custom f…

---

## [Replacing array and removing previous children](https://forum.kirupa.com/t/replacing-array-and-removing-previous-children/320099)

<div class="topic-metadata">

**Author:** [@MVDW](https://forum.kirupa.com/u/MVDW)\
**Replies:** 0\
**Last updated:** [March 14, 2011, 12:05pm UTC](https://forum.kirupa.com/t/replacing-array-and-removing-previous-children/320099 "2011-03-14T12:05:05Z")

</div>

Hey all. I have a problem with replacing values in an array. I have this code that takes the string values out of an XML file: \` \*\* \[COLOR=#0033ff\] \[COLOR=#0033ff\]public\[/COLOR\] \[/COLOR\] \*\*\*\*\[SIZE=2\]\[COLOR=#33…

---

## [loadMovieNum on hitTest](https://forum.kirupa.com/t/loadmovienum-on-hittest/320096)

<div class="topic-metadata">

**Author:** [@Jude](https://forum.kirupa.com/u/Jude)\
**Replies:** 0\
**Last updated:** [March 14, 2011, 11:16am UTC](https://forum.kirupa.com/t/loadmovienum-on-hittest/320096 "2011-03-14T11:16:08Z")

</div>

Hi folks, As a novice I'm going round in circles with a hitTest problem. I have a character moving around a maze picking up coins off the ground as it goes. When it hits a coin a new movie should be opened and is then …

---

## [hitTest coordinate dislocation in loaded swf](https://forum.kirupa.com/t/hittest-coordinate-dislocation-in-loaded-swf/320095)

<div class="topic-metadata">

**Author:** [@wille](https://forum.kirupa.com/u/wille)\
**Replies:** 0\
**Last updated:** [March 14, 2011, 8:56am UTC](https://forum.kirupa.com/t/hittest-coordinate-dislocation-in-loaded-swf/320095 "2011-03-14T08:56:39Z")

</div>

Hi The swf (slideshow) has arrows that are activated by hitTests. When I load the slidewhow swf into another, larger one (e. g. att 100, 100,) a strange thing happens: The hitTest reacts with a mouse displacement of …

---

## [OOP Best Practices - Global Booleans Method Question](https://forum.kirupa.com/t/oop-best-practices-global-booleans-method-question/320090)

<div class="topic-metadata">

**Author:** [@bisket](https://forum.kirupa.com/u/bisket)\
**Replies:** 0\
**Last updated:** [March 14, 2011, 5:14am UTC](https://forum.kirupa.com/t/oop-best-practices-global-booleans-method-question/320090 "2011-03-14T05:14:37Z")

</div>

Hey folks, Before anything I gotta say how wonderful this community always is and has been. I have a game that is using many classes. I'd like my classes to be self-sustaining, to a point. Example: I have a Reticul…

---

## [How to get stream width](https://forum.kirupa.com/t/how-to-get-stream-width/320089)

<div class="topic-metadata">

**Author:** [@project3](https://forum.kirupa.com/u/project3)\
**Replies:** 0\
**Last updated:** [March 14, 2011, 3:03am UTC](https://forum.kirupa.com/t/how-to-get-stream-width/320089 "2011-03-14T03:03:57Z")

</div>

I have a cam streaming through fms and I can see it in the flash application I built. What I want to do is get the width and height of that stream how can I do that. I am trying to do it with metadata but not having any …

---

## [setChildIndex , issue](https://forum.kirupa.com/t/setchildindex-issue/320086)

<div class="topic-metadata">

**Author:** [@ColinDavies](https://forum.kirupa.com/u/ColinDavies)\
**Replies:** 0\
**Last updated:** [March 13, 2011, 11:13pm UTC](https://forum.kirupa.com/t/setchildindex-issue/320086 "2011-03-13T23:13:11Z")

</div>

I'm trying to set the the index/z order of objectx use the y value as a base, : MapObjects i derived from MovieClip perspthings is an associated array setZOrder the function is called after a mouse event, so my code is …

---

## [Finding real objects from 3D getObjectsUnderPoint: help?](https://forum.kirupa.com/t/finding-real-objects-from-3d-getobjectsunderpoint-help/320085)

<div class="topic-metadata">

**Author:** [@tomgrinsted](https://forum.kirupa.com/u/tomgrinsted)\
**Replies:** 0\
**Last updated:** [March 13, 2011, 11:08pm UTC](https://forum.kirupa.com/t/finding-real-objects-from-3d-getobjectsunderpoint-help/320085 "2011-03-13T23:08:44Z")

</div>

This is doing my head in. I want to iterate though a number objects as found in getObjectsUnderPoint. The idea is to fire off an event in one of those objects (it's a class that extends MovieClip). However, the objec…

---

## [(as2) if / then conditional - simple quiz](https://forum.kirupa.com/t/as2-if-then-conditional-simple-quiz/320082)

<div class="topic-metadata">

**Author:** [@ryantland](https://forum.kirupa.com/u/ryantland)\
**Replies:** 0\
**Last updated:** [March 13, 2011, 8:06pm UTC](https://forum.kirupa.com/t/as2-if-then-conditional-simple-quiz/320082 "2011-03-13T20:06:53Z")

</div>

trying to make a 3 question quiz on a 300x250 banner in flash. I am so close. So close. If 2 of 3 questions are answered 'yes', it's should relay one function (playEndScreenYes()). If 2 of 3 questions are answered 'no', …

---

## [XML: Select only certain "nodes"?](https://forum.kirupa.com/t/xml-select-only-certain-nodes/320081)

<div class="topic-metadata">

**Author:** [@sufire](https://forum.kirupa.com/u/sufire)\
**Replies:** 0\
**Last updated:** [March 13, 2011, 7:50pm UTC](https://forum.kirupa.com/t/xml-select-only-certain-nodes/320081 "2011-03-13T19:50:53Z")

</div>

Here is my XML. I have removed A LOT of what is actually in the XML file I am working with, for simplicity: \<State\> \<Center ID="BOCC"\> \<Dispatch\> \<Log\> \<LogType\>Traffic Collision - Ambulance Respon…

---

## [Adding button with dynamic text fields](https://forum.kirupa.com/t/adding-button-with-dynamic-text-fields/320079)

<div class="topic-metadata">

**Author:** [@ttmt](https://forum.kirupa.com/u/ttmt)\
**Replies:** 0\
**Last updated:** [March 13, 2011, 6:59pm UTC](https://forum.kirupa.com/t/adding-button-with-dynamic-text-fields/320079 "2011-03-13T18:59:39Z")

</div>

Adding button with dynamic text fields Hi all I haven't used flash for a while so I'm a bit rusty. I'm simple trying to add a Button with a dynamic text field and a over state to the button that changes the color o…

---

## [Displaying Google Maps in Flash - Page 1](https://forum.kirupa.com/t/displaying-google-maps-in-flash-page-1/320078)

<div class="topic-metadata">

**Author:** [@mnu7](https://forum.kirupa.com/u/mnu7)\
**Replies:** 0\
**Last updated:** [March 13, 2011, 6:29pm UTC](https://forum.kirupa.com/t/displaying-google-maps-in-flash-page-1/320078 "2011-03-13T18:29:47Z")

</div>

In my application I tried to use google map with help of "Displaying Google Maps in Flash - Page 1" tutorial But get following error 1046: Type was not found or was not a compile-time constant: DirectionsEvent. What …

---

## [Using a button, to go outside of a movie clip and into another?](https://forum.kirupa.com/t/using-a-button-to-go-outside-of-a-movie-clip-and-into-another/320076)

<div class="topic-metadata">

**Author:** [@ThE\_DaRkSiD3](https://forum.kirupa.com/u/ThE_DaRkSiD3)\
**Replies:** 0\
**Last updated:** [March 13, 2011, 5:38pm UTC](https://forum.kirupa.com/t/using-a-button-to-go-outside-of-a-movie-clip-and-into-another/320076 "2011-03-13T17:38:38Z")

</div>

There might be a simple solution but i can't figure it out. i have 2 movieclips and inside the second there is a button, when this button is released it must go outside of the 2 movieclips and then go into 2 other moviec…

---

## [Last fm radio?](https://forum.kirupa.com/t/last-fm-radio/320075)

<div class="topic-metadata">

**Author:** [@Ineedsleep](https://forum.kirupa.com/u/Ineedsleep)\
**Replies:** 0\
**Last updated:** [March 13, 2011, 5:00pm UTC](https://forum.kirupa.com/t/last-fm-radio/320075 "2011-03-13T17:00:19Z")

</div>

Hi, Im fiddling around with my portfolio and wanted to add the last.fm api and have it play a radio station using the radio.tune/radio.getPlaylist but Im not sure how to get this working. I can do stuff like get album …

---

## [TonyPa AS2 - AS3 hints](https://forum.kirupa.com/t/tonypa-as2-as3-hints/320073)

<div class="topic-metadata">

**Author:** [@vinnieb](https://forum.kirupa.com/u/vinnieb)\
**Replies:** 0\
**Last updated:** [March 13, 2011, 3:05pm UTC](https://forum.kirupa.com/t/tonypa-as2-as3-hints/320073 "2011-03-13T15:05:53Z")

</div>

Hi all! I am trying to make a flashgame in AS3. I found a great tutorial on the internet and I want to use it. http://www.tonypa.pri.ee/vectors/tut07.html The only problem is that it is written in AS2. I want to l…

---

## [Problem with No. of Children](https://forum.kirupa.com/t/problem-with-no-of-children/320069)

<div class="topic-metadata">

**Author:** [@CCG1993](https://forum.kirupa.com/u/CCG1993)\
**Replies:** 0\
**Last updated:** [March 13, 2011, 11:33am UTC](https://forum.kirupa.com/t/problem-with-no-of-children/320069 "2011-03-13T11:33:43Z")

</div>

I am tryin to create an asteroids game: When I fire the bullet everything is fine but when the second bullet is fired the first one stops and the second one is fine...etc. Seemingly it is removing the properties from…

---

## [Animation layout varies between Mac and PC](https://forum.kirupa.com/t/animation-layout-varies-between-mac-and-pc/320068)

<div class="topic-metadata">

**Author:** [@platty](https://forum.kirupa.com/u/platty)\
**Replies:** 0\
**Last updated:** [March 13, 2011, 10:58am UTC](https://forum.kirupa.com/t/animation-layout-varies-between-mac-and-pc/320068 "2011-03-13T10:58:48Z")

</div>

Hello all, I am having an issue with an animation constructed on a Mac using CS4 appearing differently when viewed online using a PC. When viewed on a PC the letter 'a' within the logo drops below the border of the sm…

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

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