# flash

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

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

**Page:** 131

---

## [How to place 3 objects in an array and move automatically?](https://forum.kirupa.com/t/how-to-place-3-objects-in-an-array-and-move-automatically/324211)

<div class="topic-metadata">

**Author:** [@dead\_knocking69](https://forum.kirupa.com/u/dead_knocking69)\
**Replies:** 0\
**Last updated:** [August 9, 2011, 3:12am UTC](https://forum.kirupa.com/t/how-to-place-3-objects-in-an-array-and-move-automatically/324211 "2011-08-09T03:12:12Z")

</div>

\[INDENT\]Hi, I was wondering if anyone could help me achieve an outcome for a soccer game penalty shoot out. I have to put the two defenders and the goalie in an Array. they need to move at a set speed automatically to …

---

## [Help: loading external swf stuck or doesn't work](https://forum.kirupa.com/t/help-loading-external-swf-stuck-or-doesnt-work/324209)

<div class="topic-metadata">

**Author:** [@almakana](https://forum.kirupa.com/u/almakana)\
**Replies:** 0\
**Last updated:** [August 8, 2011, 9:25pm UTC](https://forum.kirupa.com/t/help-loading-external-swf-stuck-or-doesnt-work/324209 "2011-08-08T21:25:01Z")

</div>

Hi everyone, I'm doing a project and I faced problem with loading external swf I have main swf which load external swf which work alone but when I load it from main swf all code do not work I tried and searched for so…

---

## [How to write an image to application directory using AIR?](https://forum.kirupa.com/t/how-to-write-an-image-to-application-directory-using-air/324205)

<div class="topic-metadata">

**Author:** [@sindrom](https://forum.kirupa.com/u/sindrom)\
**Replies:** 0\
**Last updated:** [August 8, 2011, 6:23pm UTC](https://forum.kirupa.com/t/how-to-write-an-image-to-application-directory-using-air/324205 "2011-08-08T18:23:31Z")

</div>

I'm trying to save an image to the application directory by opening a file stream and write the bytes from a bitmap data. I added some events listeners for testing the file stream process but I don't receive any response…

---

## [Preloader issues with attachSound and attachMovie](https://forum.kirupa.com/t/preloader-issues-with-attachsound-and-attachmovie/324200)

<div class="topic-metadata">

**Author:** [@Ph03nix](https://forum.kirupa.com/u/Ph03nix)\
**Replies:** 0\
**Last updated:** [August 8, 2011, 8:31am UTC](https://forum.kirupa.com/t/preloader-issues-with-attachsound-and-attachmovie/324200 "2011-08-08T08:31:24Z")

</div>

(Using AS2 in Flash CS5) I have a game that uses attachSound to load in all of the sounds, and attachMovie to load all of the graphics (which are stored in movieclips). The problem is that the movie loads all the graphic…

---

## [Drawing into shape](https://forum.kirupa.com/t/drawing-into-shape/324199)

<div class="topic-metadata">

**Author:** [@benkyma](https://forum.kirupa.com/u/benkyma)\
**Replies:** 0\
**Last updated:** [August 8, 2011, 7:36am UTC](https://forum.kirupa.com/t/drawing-into-shape/324199 "2011-08-08T07:36:05Z")

</div>

If I draw a rectangle or trapezium, how might I go about drawing bitmap data into that shape? I need to give a slight perspective to a loaded photo. Native 3D rotations seem to leave the bitmap really blurry, and a ful…

---

## [Set TimeOut?](https://forum.kirupa.com/t/set-timeout/324194)

<div class="topic-metadata">

**Author:** [@hyperhappy](https://forum.kirupa.com/u/hyperhappy)\
**Replies:** 0\
**Last updated:** [August 8, 2011, 2:41am UTC](https://forum.kirupa.com/t/set-timeout/324194 "2011-08-08T02:41:40Z")

</div>

Hi fellow flashers! I need some help with some code if you would be so kind. The flash needs to go to a menu screen after 20 seconds of inactivity (like a screensaver) but if the user is on the video screen, the time…

---

## [Saving Movie Clip Positions in a simple Drag and Drop Game](https://forum.kirupa.com/t/saving-movie-clip-positions-in-a-simple-drag-and-drop-game/324193)

<div class="topic-metadata">

**Author:** [@karlgent](https://forum.kirupa.com/u/karlgent)\
**Replies:** 0\
**Last updated:** [August 7, 2011, 10:29pm UTC](https://forum.kirupa.com/t/saving-movie-clip-positions-in-a-simple-drag-and-drop-game/324193 "2011-08-07T22:29:41Z")

</div>

Hi all, I was hoping that someone could give me some advice with a game I've been working on. I have a drag and drop game where each movie clip is a word that the player has to arrange on screen in a certain order of…

---

## [Having image loader problems](https://forum.kirupa.com/t/having-image-loader-problems/324190)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [August 7, 2011, 6:30pm UTC](https://forum.kirupa.com/t/having-image-loader-problems/324190 "2011-08-07T18:30:41Z")

</div>

Hello, I made a swf in which I load an image into a movieclip. When I run the swf locally on my computer it works fine. When I put everything on the server and look at it with a browser it does not work. Does anyone…

---

## [JavaScript in AS3 \[renamed\]](https://forum.kirupa.com/t/javascript-in-as3-renamed/324188)

<div class="topic-metadata">

**Author:** [@rassy7](https://forum.kirupa.com/u/rassy7)\
**Replies:** 0\
**Last updated:** [August 7, 2011, 5:14pm UTC](https://forum.kirupa.com/t/javascript-in-as3-renamed/324188 "2011-08-07T17:14:13Z")

</div>

Hi, quick issues: I'm attempting to add a twitter follow button (http://twitter.com/about/resources/followbutton) to an AS3 Flash SWF. The code is below and I believe the \<script\> tag is javascript. I can't make that par…

---

## [Assign MovieClip instance name to variable](https://forum.kirupa.com/t/assign-movieclip-instance-name-to-variable/324187)

<div class="topic-metadata">

**Author:** [@torotune](https://forum.kirupa.com/u/torotune)\
**Replies:** 0\
**Last updated:** [August 7, 2011, 1:55pm UTC](https://forum.kirupa.com/t/assign-movieclip-instance-name-to-variable/324187 "2011-08-07T13:55:57Z")

</div>

Hi, Does anyone know how I can assign a movieclip instance name to a variable, so that I can use reference it? For example: var mcName:String = "box2\_mc" mcName.play(); It wont work and I get the error: 1061: C…

---

## [Weird CS5.5 Bug with remote XML](https://forum.kirupa.com/t/weird-cs5-5-bug-with-remote-xml/324177)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [August 6, 2011, 4:58pm UTC](https://forum.kirupa.com/t/weird-cs5-5-bug-with-remote-xml/324177 "2011-08-06T16:58:07Z")

</div>

I wonder if anybody else has come across this bug. So there you are, you set up your AS3 code to load XML via a URLLoader and URLRequest, as normal. You then take your XML file, and upload it to a server. You then run yo…

---

## [Problem using scroll panes](https://forum.kirupa.com/t/problem-using-scroll-panes/324172)

<div class="topic-metadata">

**Author:** [@Carl\_Spackler](https://forum.kirupa.com/u/Carl_Spackler)\
**Replies:** 0\
**Last updated:** [August 6, 2011, 3:27am UTC](https://forum.kirupa.com/t/problem-using-scroll-panes/324172 "2011-08-06T03:27:27Z")

</div>

I have multiple lines of text on the stage. Each line of text is a separate movie clip, and the list of them is long enough to where I need a scroll pane. I selected all the movie clips, and made another single movie cl…

---

## [Bitmap copy from display object](https://forum.kirupa.com/t/bitmap-copy-from-display-object/324170)

<div class="topic-metadata">

**Author:** [@radi](https://forum.kirupa.com/u/radi)\
**Replies:** 0\
**Last updated:** [August 5, 2011, 9:30pm UTC](https://forum.kirupa.com/t/bitmap-copy-from-display-object/324170 "2011-08-05T21:30:15Z")

</div>

i want to use bitmap copy on a image that i loaded var walk:Loader = new Loader(); walk.load(new URLRequest("images/runner.png")); private function Animate(e:Event):void { var rect:Rectangle = new Recta…

---

## [uiLoader and Animated Buttons?](https://forum.kirupa.com/t/uiloader-and-animated-buttons/324168)

<div class="topic-metadata">

**Author:** [@BunEm](https://forum.kirupa.com/u/BunEm)\
**Replies:** 0\
**Last updated:** [August 5, 2011, 8:32pm UTC](https://forum.kirupa.com/t/uiloader-and-animated-buttons/324168 "2011-08-05T20:32:56Z")

</div>

Hello, I am trying to control external swf's using uiLoader and animated buttons. I have not done flash in some time so AS3 is new to me. Basically, I want to use uiLoader to call for external swf's to load in inside …

---

## [Timeline coding/ external classes exercise](https://forum.kirupa.com/t/timeline-coding-external-classes-exercise/324164)

<div class="topic-metadata">

**Author:** [@randa2723](https://forum.kirupa.com/u/randa2723)\
**Replies:** 0\
**Last updated:** [August 5, 2011, 4:12pm UTC](https://forum.kirupa.com/t/timeline-coding-external-classes-exercise/324164 "2011-08-05T16:12:56Z")

</div>

Hi guys! I'm new to AS3 and they say one of the best ways to learn anything is to push yourself. So I've given myself this assignment based on the book I'm reading(Foundation ActionScript 3.0 with Flash and Flex). I wi…

---

## [Publishing to eliminate lag](https://forum.kirupa.com/t/publishing-to-eliminate-lag/324163)

<div class="topic-metadata">

**Author:** [@Danief](https://forum.kirupa.com/u/Danief)\
**Replies:** 0\
**Last updated:** [August 5, 2011, 4:04pm UTC](https://forum.kirupa.com/t/publishing-to-eliminate-lag/324163 "2011-08-05T16:04:12Z")

</div>

I've created a logo for a company, and I made an intro animation sequence, but with all the fades and different things going on, the two second animation turns into about five seconds. it's ridiculous. so i guess i'm …

---

## [Rotate a sine wave to an arbitrary angle?](https://forum.kirupa.com/t/rotate-a-sine-wave-to-an-arbitrary-angle/324161)

<div class="topic-metadata">

**Author:** [@Stickeroo](https://forum.kirupa.com/u/Stickeroo)\
**Replies:** 0\
**Last updated:** [August 5, 2011, 2:41pm UTC](https://forum.kirupa.com/t/rotate-a-sine-wave-to-an-arbitrary-angle/324161 "2011-08-05T14:41:43Z")

</div>

That might not be what I really mean, but I'm not sure how else to describe it! I want to be able to take a general sine wave y=Math.sin(x) and rotate it around some other angle, so instead of going strictly left-to-ri…

---

## [Need help implementing a \[CACHEBUSTER\] macro](https://forum.kirupa.com/t/need-help-implementing-a-cachebuster-macro/324160)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [August 5, 2011, 1:46pm UTC](https://forum.kirupa.com/t/need-help-implementing-a-cachebuster-macro/324160 "2011-08-05T13:46:44Z")

</div>

I have been asked to incorporate a 1x1 tracking pixel. Because this is two different 3rd party APIs, I have to implement the 1x1 tracking pixel, inside my Flash files. The SWFs 3rd party API has a method for using 1x1 …

---

## [Flash freezes when trying to: Test movie, test scene, publish, and preview. What give](https://forum.kirupa.com/t/flash-freezes-when-trying-to-test-movie-test-scene-publish-and-preview-what-give/324159)

<div class="topic-metadata">

**Author:** [@Brandon\_Lucas](https://forum.kirupa.com/u/Brandon_Lucas)\
**Replies:** 0\
**Last updated:** [August 5, 2011, 1:00pm UTC](https://forum.kirupa.com/t/flash-freezes-when-trying-to-test-movie-test-scene-publish-and-preview-what-give/324159 "2011-08-05T13:00:36Z")

</div>

I tried everything but can't figure this out. Can someone take a look at the fla please? http://www.megaupload.com/?d=UNJBU2BV

---

## [I need a clarification and a possibly, if there's a solution](https://forum.kirupa.com/t/i-need-a-clarification-and-a-possibly-if-theres-a-solution/324157)

<div class="topic-metadata">

**Author:** [@Zen08](https://forum.kirupa.com/u/Zen08)\
**Replies:** 0\
**Last updated:** [August 5, 2011, 6:29am UTC](https://forum.kirupa.com/t/i-need-a-clarification-and-a-possibly-if-theres-a-solution/324157 "2011-08-05T06:29:29Z")

</div>

Hi guys I have a question, something to do with the AS3 class. So staight to the point, everytime i create a looping statement that adds a movieclip object(with a class property) on an AS3 class i created, an 'Error: S…

---

## [Variable monitoring from outside class](https://forum.kirupa.com/t/variable-monitoring-from-outside-class/324156)

<div class="topic-metadata">

**Author:** [@Icarium](https://forum.kirupa.com/u/Icarium)\
**Replies:** 0\
**Last updated:** [August 5, 2011, 6:29am UTC](https://forum.kirupa.com/t/variable-monitoring-from-outside-class/324156 "2011-08-05T06:29:18Z")

</div>

Hello, I am attempting to make a simple class that I use to debug some of my code at runtime. I use a function in my debug class to pass a variable from another class that I want to monitor in realtime. For simplicity sa…

---

## [Help on loading variables from one swf to another swf via php](https://forum.kirupa.com/t/help-on-loading-variables-from-one-swf-to-another-swf-via-php/324149)

<div class="topic-metadata">

**Author:** [@jatintalwar](https://forum.kirupa.com/u/jatintalwar)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 5:47pm UTC](https://forum.kirupa.com/t/help-on-loading-variables-from-one-swf-to-another-swf-via-php/324149 "2011-08-04T17:47:12Z")

</div>

Guys This question might be a common one ..I too have googled for it a lot but cudnt find the solution for my problem. I have a swf file that loads variable into a php file by : my\_lv.send("file.php","\_blank","POST…

---

## [Help me on this code](https://forum.kirupa.com/t/help-me-on-this-code/324147)

<div class="topic-metadata">

**Author:** [@LukeElChul](https://forum.kirupa.com/u/LukeElChul)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 5:06pm UTC](https://forum.kirupa.com/t/help-me-on-this-code/324147 "2011-08-04T17:06:28Z")

</div>

ive got two units (unit and unit1) could u help me with this code so i can move the units seperatly to different places in the scene. For example: move unit1 to top left while unit stays still then move unit to top rig…

---

## [Photo Gallery Flash - HELP](https://forum.kirupa.com/t/photo-gallery-flash-help/324146)

<div class="topic-metadata">

**Author:** [@nekogrl33](https://forum.kirupa.com/u/nekogrl33)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 5:00pm UTC](https://forum.kirupa.com/t/photo-gallery-flash-help/324146 "2011-08-04T17:00:00Z")

</div>

I love your guys tutorial. http://www.kirupa.com/developer/mx/photogallery.htm But I wanted to make mine cycle through each image every 2 or 3 seconds, can anyone help??? :fab:

---

## [AutoFormat bug reporting](https://forum.kirupa.com/t/autoformat-bug-reporting/324145)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 4:04pm UTC](https://forum.kirupa.com/t/autoformat-bug-reporting/324145 "2011-08-04T16:04:31Z")

</div>

Is there a defined way to report bugs with the autoformat system to adobe (or do they even care may be a better question)? Also, is there a list anywhere of known bugs in CS5? In the last 24 hours I have come across se…

---

## [A\* — How to not test diagonal nodes?](https://forum.kirupa.com/t/a-how-to-not-test-diagonal-nodes/324138)

<div class="topic-metadata">

**Author:** [@m\_elemental](https://forum.kirupa.com/u/m_elemental)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 8:50am UTC](https://forum.kirupa.com/t/a-how-to-not-test-diagonal-nodes/324138 "2011-08-04T08:50:12Z")

</div>

Does anyone know how to prevent diagonal nodes from being tested when using A\* pathfinding? My character poses are only four way and it seems a waste of processing power to even bother checking the diagonals. Thanks \[…

---

## [AS3 copyPixels for MovieClip?](https://forum.kirupa.com/t/as3-copypixels-for-movieclip/324136)

<div class="topic-metadata">

**Author:** [@SplashKhat](https://forum.kirupa.com/u/SplashKhat)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 7:20am UTC](https://forum.kirupa.com/t/as3-copypixels-for-movieclip/324136 "2011-08-04T07:20:55Z")

</div>

I'm not much of a scripter. I get by editing scripts similar to my needs. I learned a few things about blitting and I'm trying to get a rectangle area of a MovieClip to blit to a location on the stage. But I run into …

---

## [AIR iOS app crashes](https://forum.kirupa.com/t/air-ios-app-crashes/324135)

<div class="topic-metadata">

**Author:** [@zebdaag](https://forum.kirupa.com/u/zebdaag)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 6:56am UTC](https://forum.kirupa.com/t/air-ios-app-crashes/324135 "2011-08-04T06:56:16Z")

</div>

Hi everybody, I've been working on an iPad app in Flash and all went well but at the end I discovered a problem. I'm making a childrens book with a page on each frame. And a can move between the pages. On the pages thi…

---

## [Multiplying instances?](https://forum.kirupa.com/t/multiplying-instances/324133)

<div class="topic-metadata">

**Author:** [@randa2723](https://forum.kirupa.com/u/randa2723)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 12:01am UTC](https://forum.kirupa.com/t/multiplying-instances/324133 "2011-08-04T00:01:41Z")

</div>

Hi, guys! I'm a level 0 student of AS3. How does one multiply the bouncing balls in the following code which I saw in one of the threads in the forum? Let's just say I want to see 10 bouncing balls. How should I g…

---

## [iPad/iPhone layout](https://forum.kirupa.com/t/ipad-iphone-layout/324131)

<div class="topic-metadata">

**Author:** [@AnnieCanoe](https://forum.kirupa.com/u/AnnieCanoe)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 8:54pm UTC](https://forum.kirupa.com/t/ipad-iphone-layout/324131 "2011-08-03T20:54:26Z")

</div>

Hi! I'm adapting my existing Flash app to iPhone/iPad. In the iPhone OS Settings, you can choose "Landscape" or "Portrait", but no matter what I choose it's always showing as 'Portrait' layout in the debug viewer. …

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

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