# flash

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

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

**Page:** 87

---

## [Need help in Action Script](https://forum.kirupa.com/t/need-help-in-action-script/327331)

<div class="topic-metadata">

**Author:** [@joenowhere](https://forum.kirupa.com/u/joenowhere)\
**Replies:** 0\
**Last updated:** [February 22, 2012, 9:49am UTC](https://forum.kirupa.com/t/need-help-in-action-script/327331 "2012-02-22T09:49:14Z")

</div>

\[LEFT\]I want to do the same effect in the link below, can any one know how to do it, actually, I know how to create a history time line like the link, but I don't know why the slider is not even between each year, so did…

---

## [Saving a Game Map To a Single String, An Array of Arrays Problem](https://forum.kirupa.com/t/saving-a-game-map-to-a-single-string-an-array-of-arrays-problem/327329)

<div class="topic-metadata">

**Author:** [@noisavni](https://forum.kirupa.com/u/noisavni)\
**Replies:** 0\
**Last updated:** [February 22, 2012, 7:18am UTC](https://forum.kirupa.com/t/saving-a-game-map-to-a-single-string-an-array-of-arrays-problem/327329 "2012-02-22T07:18:41Z")

</div>

\*\*What I'm trying to do: \*\*I'm attempting to make a flat text file made up of game map information. I have an array of objects that I'm extracting the properties from and converting to a multidimensional array (an array …

---

## [Drawing Shapes](https://forum.kirupa.com/t/drawing-shapes/327328)

<div class="topic-metadata">

**Author:** [@AS3\_Gringo](https://forum.kirupa.com/u/AS3_Gringo)\
**Replies:** 0\
**Last updated:** [February 22, 2012, 7:01am UTC](https://forum.kirupa.com/t/drawing-shapes/327328 "2012-02-22T07:01:35Z")

</div>

Hi friends, I am facing an issue, need to draw a triangle in such a way that the line thickness remains the same irrespective of the scale applied to the drawn object. Tried using lineStyle with these settings: \*\* scal…

---

## [Error 2025 with eventlistener](https://forum.kirupa.com/t/error-2025-with-eventlistener/327327)

<div class="topic-metadata">

**Author:** [@blackout188](https://forum.kirupa.com/u/blackout188)\
**Replies:** 0\
**Last updated:** [February 22, 2012, 3:20am UTC](https://forum.kirupa.com/t/error-2025-with-eventlistener/327327 "2012-02-22T03:20:49Z")

</div>

a function generating the game buttons public function showGameButton(buttonLabel:String,Name:String,xcord:int,ycord:int) { gameButton = new GameButton(); gameButton.label.text = buttonLabel; gameButton.x = x…

---

## [Altering the alpha of the member of an array](https://forum.kirupa.com/t/altering-the-alpha-of-the-member-of-an-array/327326)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [February 22, 2012, 1:39am UTC](https://forum.kirupa.com/t/altering-the-alpha-of-the-member-of-an-array/327326 "2012-02-22T01:39:32Z")

</div>

I want to set all the movieclips that belong to the objects in an array to .5 . The array is enginesForSale. for (var i:Number = 0; i \< \_model.enginesForSale.length; i++) { var callName…

---

## [Player/ground twitch](https://forum.kirupa.com/t/player-ground-twitch/327325)

<div class="topic-metadata">

**Author:** [@TheOtherTedium](https://forum.kirupa.com/u/TheOtherTedium)\
**Replies:** 0\
**Last updated:** [February 21, 2012, 10:04pm UTC](https://forum.kirupa.com/t/player-ground-twitch/327325 "2012-02-21T22:04:03Z")

</div>

I'm trying to create platformer whose physics are a bit more complicated, and I'm having a bit of trouble. Here are the key sections of the code: function checkGroundHit(e:Event):void{ //The grounded variable simp…

---

## [Erase Vector Drawing?](https://forum.kirupa.com/t/erase-vector-drawing/327324)

<div class="topic-metadata">

**Author:** [@dmennenoh](https://forum.kirupa.com/u/dmennenoh)\
**Replies:** 0\
**Last updated:** [February 21, 2012, 9:50pm UTC](https://forum.kirupa.com/t/erase-vector-drawing/327324 "2012-02-21T21:50:12Z")

</div>

I have a Sprite that I draw into using lineTo. Later the sprite is drawn into a bitmap to add to a mask. That works great. The issue is erasing the vectors in the Sprite once they are drawn. To draw I just do somethin…

---

## [Searching an Array](https://forum.kirupa.com/t/searching-an-array/327323)

<div class="topic-metadata">

**Author:** [@DMB](https://forum.kirupa.com/u/DMB)\
**Replies:** 0\
**Last updated:** [February 21, 2012, 9:02pm UTC](https://forum.kirupa.com/t/searching-an-array/327323 "2012-02-21T21:02:57Z")

</div>

EDIT: Figured it out, here’s my code: \*\*var myArray = new Array(“value0”, “value1”, “value2”); function search (input) {\*\* trace("Searching for: "+input); for (var i=0; i\<myArray.length;i++) { if (input == myArray)…

---

## [dispatchEvent for a virtual mouseClick doesn't hit children like a real click would](https://forum.kirupa.com/t/dispatchevent-for-a-virtual-mouseclick-doesnt-hit-children-like-a-real-click-would/327322)

<div class="topic-metadata">

**Author:** [@cakepizza](https://forum.kirupa.com/u/cakepizza)\
**Replies:** 0\
**Last updated:** [February 21, 2012, 8:05pm UTC](https://forum.kirupa.com/t/dispatchevent-for-a-virtual-mouseclick-doesnt-hit-children-like-a-real-click-would/327322 "2012-02-21T20:05:55Z")

</div>

I have bitmap generated each frame and when clicked needs to simulate a click at a specific pixel in a separate movie clip. If you really click on a movie clip, the event trickles down the hierarchy of children to di…

---

## [How can I do the same effect](https://forum.kirupa.com/t/how-can-i-do-the-same-effect/327319)

<div class="topic-metadata">

**Author:** [@joenowhere](https://forum.kirupa.com/u/joenowhere)\
**Replies:** 0\
**Last updated:** [February 21, 2012, 12:01pm UTC](https://forum.kirupa.com/t/how-can-i-do-the-same-effect/327319 "2012-02-21T12:01:43Z")

</div>

Can any body know how to do the same effect like the link below, please help me, big thanks http://www.nytimes.com/interactive/2008/08/04/sports/olympics/20080804\_MEDALCOUNT\_MAP.html

---

## [Experience Sharing: How to Convert DVD to iPad More Easily](https://forum.kirupa.com/t/experience-sharing-how-to-convert-dvd-to-ipad-more-easily/327318)

<div class="topic-metadata">

**Author:** [@selfreflec](https://forum.kirupa.com/u/selfreflec)\
**Replies:** 0\
**Last updated:** [February 21, 2012, 9:49am UTC](https://forum.kirupa.com/t/experience-sharing-how-to-convert-dvd-to-ipad-more-easily/327318 "2012-02-21T09:49:26Z")

</div>

Hi, Buddies! Today i'd like to share with you a magic multimedia conversion tool, which can Rip DVD movies to iPad. It is the seventh app i have tried, which really helped me convert my DVDs to my iPad without any qualit…

---

## [How many photos can be imported in Flash](https://forum.kirupa.com/t/how-many-photos-can-be-imported-in-flash/327308)

<div class="topic-metadata">

**Author:** [@Jeja](https://forum.kirupa.com/u/Jeja)\
**Replies:** 0\
**Last updated:** [February 20, 2012, 10:23pm UTC](https://forum.kirupa.com/t/how-many-photos-can-be-imported-in-flash/327308 "2012-02-20T22:23:04Z")

</div>

I was importing photos in six different scenes, but if there are more than 20 photo in each scenes they can not be all seen when I export them.Does anyone know why? Tnx

---

## [Flash EPOCH vs PHP EPOCH](https://forum.kirupa.com/t/flash-epoch-vs-php-epoch/327304)

<div class="topic-metadata">

**Author:** [@Esseti](https://forum.kirupa.com/u/Esseti)\
**Replies:** 0\
**Last updated:** [February 20, 2012, 7:23pm UTC](https://forum.kirupa.com/t/flash-epoch-vs-php-epoch/327304 "2012-02-20T19:23:59Z")

</div>

I'm having a problem in calculating the current time from the PHP epoch result, vs the epoch of the user. Here's a link: http://malylink.pdg.pl/epoch/test.html I always get +~22 minutes when I calculate the server epoch,…

---

## [Objects initialization order question](https://forum.kirupa.com/t/objects-initialization-order-question/327303)

<div class="topic-metadata">

**Author:** [@barryss](https://forum.kirupa.com/u/barryss)\
**Replies:** 0\
**Last updated:** [February 20, 2012, 7:11pm UTC](https://forum.kirupa.com/t/objects-initialization-order-question/327303 "2012-02-20T19:11:43Z")

</div>

Hi, I have a small problem accessing xml data loaded in main movieclip constructor. I have a project with few movieclips placed on stage. Movieclips are instances of infcls class. In the class I'm trying to access data f…

---

## [Dynamic mouse trail](https://forum.kirupa.com/t/dynamic-mouse-trail/327301)

<div class="topic-metadata">

**Author:** [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Replies:** 0\
**Last updated:** [February 20, 2012, 4:02pm UTC](https://forum.kirupa.com/t/dynamic-mouse-trail/327301 "2012-02-20T16:02:48Z")

</div>

I've had a look at the Graphics class in AS3 and come up with a dynamic mouse trail. It works, but it's pretty rough and ready. I wonder if anyone could give it a once-over and see if there is a more elegant and efficien…

---

## [Can't spot the mistake, has to be something simple](https://forum.kirupa.com/t/cant-spot-the-mistake-has-to-be-something-simple/327300)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [February 20, 2012, 2:59pm UTC](https://forum.kirupa.com/t/cant-spot-the-mistake-has-to-be-something-simple/327300 "2012-02-20T14:59:49Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]I updated a catch via collision detection game to AS2 and noticed that only the first 3 out of 5 objects are being detected. All 5 are detected in AS1. If I comment out the last 2 all is fine…

---

## [Strange problem with LocalConnection](https://forum.kirupa.com/t/strange-problem-with-localconnection/327298)

<div class="topic-metadata">

**Author:** [@Sartiv](https://forum.kirupa.com/u/Sartiv)\
**Replies:** 0\
**Last updated:** [February 20, 2012, 8:32am UTC](https://forum.kirupa.com/t/strange-problem-with-localconnection/327298 "2012-02-20T08:32:58Z")

</div>

Hello to all! First of all, sorry for my poor English. I have a strange problem with LocalConnection. Situation: A sample e-shop. I have a parent .swf who load 3-4 external swf. In a external swf (let's name it "X")…

---

## [Movieclip that stays within the perspective of the page user](https://forum.kirupa.com/t/movieclip-that-stays-within-the-perspective-of-the-page-user/327294)

<div class="topic-metadata">

**Author:** [@Danief](https://forum.kirupa.com/u/Danief)\
**Replies:** 0\
**Last updated:** [February 19, 2012, 11:01pm UTC](https://forum.kirupa.com/t/movieclip-that-stays-within-the-perspective-of-the-page-user/327294 "2012-02-19T23:01:19Z")

</div>

I need a movie clip that will stay in the same place on the x axis, but will scroll up and down with the page viewer on a website. staying in view. any tutorials or places to look will help. thanks.

---

## [PHP to AS3 passing variables strange problem](https://forum.kirupa.com/t/php-to-as3-passing-variables-strange-problem/327293)

<div class="topic-metadata">

**Author:** [@ismart](https://forum.kirupa.com/u/ismart)\
**Replies:** 0\
**Last updated:** [February 19, 2012, 8:25pm UTC](https://forum.kirupa.com/t/php-to-as3-passing-variables-strange-problem/327293 "2012-02-19T20:25:29Z")

</div>

Hello! I have searched on KIRUPA forum and google and can't find solution to my problem. Problem is that I can't get variables back from php. I will post my AS3 code and PHP code and output panel.....so please help. \[A…

---

## [How to add on-the-fly-created-movieclips into datagrid?](https://forum.kirupa.com/t/how-to-add-on-the-fly-created-movieclips-into-datagrid/327289)

<div class="topic-metadata">

**Author:** [@slvr](https://forum.kirupa.com/u/slvr)\
**Replies:** 0\
**Last updated:** [February 19, 2012, 5:53pm UTC](https://forum.kirupa.com/t/how-to-add-on-the-fly-created-movieclips-into-datagrid/327289 "2012-02-19T17:53:31Z")

</div>

I need to create several movie clip by coding, and then put them in a certain cell of datagrid. I can't use pre-designed movieclip in library, for that's not an option for me. But I can use the clip inherited from them. T…

---

## [Class Communication](https://forum.kirupa.com/t/class-communication/327287)

<div class="topic-metadata">

**Author:** [@jeponkz](https://forum.kirupa.com/u/jeponkz)\
**Replies:** 0\
**Last updated:** [February 19, 2012, 2:14pm UTC](https://forum.kirupa.com/t/class-communication/327287 "2012-02-19T14:14:34Z")

</div>

I have the following scenarios. Main Class: btnChangeText.addEventListener (MouseEvent.CLICK, onClick) function onClick(e:MouseEvent) { var content:Content = new Content() content.contentTxt= "Hello World" …

---

## [How to add a property to a moviecip/class?](https://forum.kirupa.com/t/how-to-add-a-property-to-a-moviecip-class/327286)

<div class="topic-metadata">

**Author:** [@Babymouth](https://forum.kirupa.com/u/Babymouth)\
**Replies:** 0\
**Last updated:** [February 19, 2012, 2:09pm UTC](https://forum.kirupa.com/t/how-to-add-a-property-to-a-moviecip-class/327286 "2012-02-19T14:09:05Z")

</div>

So i have a movieclip on stage and I addChild(myMovieClip). I need all the movieclips to have a number (like the first one i put with be 1, the second 2 and so forth) How can I add to the movie clips custom properties l…

---

## [Best Practices for using graphical assets (SWC)](https://forum.kirupa.com/t/best-practices-for-using-graphical-assets-swc/327285)

<div class="topic-metadata">

**Author:** [@ingo\_z2m](https://forum.kirupa.com/u/ingo_z2m)\
**Replies:** 0\
**Last updated:** [February 19, 2012, 12:39pm UTC](https://forum.kirupa.com/t/best-practices-for-using-graphical-assets-swc/327285 "2012-02-19T12:39:19Z")

</div>

Hi folks, I wanted to ask you for your common workflow when progamming new flash projects and managing there graphical assets. Basically I'm using Flash Develop to program my Flash applications and I'm mostly trying …

---

## [Passing Array](https://forum.kirupa.com/t/passing-array/327282)

<div class="topic-metadata">

**Author:** [@radi](https://forum.kirupa.com/u/radi)\
**Replies:** 0\
**Last updated:** [February 19, 2012, 5:52am UTC](https://forum.kirupa.com/t/passing-array/327282 "2012-02-19T05:52:47Z")

</div>

///event caller/// public var Damage:Array = new Array();// Damage is populated externally and is not empty var bully:Bullet = new Bullet(Target.x +64,Target.y +64,team,Damage); ///bullet class//// private var Damage…

---

## [as3 help pls (flash cs4) target.events](https://forum.kirupa.com/t/as3-help-pls-flash-cs4-target-events/327278)

<div class="topic-metadata">

**Author:** [@fonzio](https://forum.kirupa.com/u/fonzio)\
**Replies:** 0\
**Last updated:** [February 18, 2012, 4:29am UTC](https://forum.kirupa.com/t/as3-help-pls-flash-cs4-target-events/327278 "2012-02-18T04:29:08Z")

</div>

hi this one is killing me, i have a movieclip on the stage which holds other movieclips 1-12 (pictures of logs that make a bridge) now the problem is i am trying to do a sequence game for kids, the character jumps on …

---

## [Using .target to determine which sound to stop](https://forum.kirupa.com/t/using-target-to-determine-which-sound-to-stop/327277)

<div class="topic-metadata">

**Author:** [@Chris\_Woodhouse](https://forum.kirupa.com/u/Chris_Woodhouse)\
**Replies:** 0\
**Last updated:** [February 17, 2012, 11:25pm UTC](https://forum.kirupa.com/t/using-target-to-determine-which-sound-to-stop/327277 "2012-02-17T23:25:59Z")

</div>

Hi guys, it seems there are a lot of problems with sound control with flash, and i (now seeming studpidlY) decided to undertake a project where i can have multiple sounds at once, and turn them off (individually) at the …

---

## [Using Google api in Flash](https://forum.kirupa.com/t/using-google-api-in-flash/327275)

<div class="topic-metadata">

**Author:** [@revo999](https://forum.kirupa.com/u/revo999)\
**Replies:** 0\
**Last updated:** [February 17, 2012, 5:09pm UTC](https://forum.kirupa.com/t/using-google-api-in-flash/327275 "2012-02-17T17:09:02Z")

</div>

Hi I want to get input ZIPCODE from user and want to get distance from my Location \> user enter zipcode (home town location ) \> send data to google maps \>return of distance from user's location to my location is …

---

## [Grow a building from the ground](https://forum.kirupa.com/t/grow-a-building-from-the-ground/327274)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [February 17, 2012, 4:43pm UTC](https://forum.kirupa.com/t/grow-a-building-from-the-ground/327274 "2012-02-17T16:43:14Z")

</div>

Id like to an animation which grows a skyscraper from the ground like a seed. It should just be a simple set anchor point at bottom, set start image small and grow an upside down triangle shape and in the end stretch the…

---

## [Troubleshooting error #2001](https://forum.kirupa.com/t/troubleshooting-error-2001/327271)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [February 17, 2012, 2:11pm UTC](https://forum.kirupa.com/t/troubleshooting-error-2001/327271 "2012-02-17T14:11:56Z")

</div>

\[h=1\]\[FONT=arial\] Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs \[/FONT\]\[/h\] I run into this problem frequently when handling MySQL queries insi…

---

## [iPhone AIR app integration with a native Objective-C iPhone app](https://forum.kirupa.com/t/iphone-air-app-integration-with-a-native-objective-c-iphone-app/327263)

<div class="topic-metadata">

**Author:** [@sabird](https://forum.kirupa.com/u/sabird)\
**Replies:** 0\
**Last updated:** [February 17, 2012, 2:35am UTC](https://forum.kirupa.com/t/iphone-air-app-integration-with-a-native-objective-c-iphone-app/327263 "2012-02-17T02:35:40Z")

</div>

I am beginning to port an existing Flash project to an iPhone AIR app for a client. The client already has an iPhone app created by an Objective-C developer. My client would like me to be able to incorporate my Flash e…

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

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