# flash

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

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

**Page:** 227

---

## [Loading external assets from Server](https://forum.kirupa.com/t/loading-external-assets-from-server/317613)

<div class="topic-metadata">

**Author:** [@flash2070](https://forum.kirupa.com/u/flash2070)\
**Replies:** 0\
**Last updated:** [December 27, 2010, 5:21pm UTC](https://forum.kirupa.com/t/loading-external-assets-from-server/317613 "2010-12-27T17:21:56Z")

</div>

Hello, I'm creating a MMO Game using SmartFox Server + MySQL + memcached in the game world there is planty of objects and clothes for the characters. ofcourse all those objects should be on the server, and the client loa…

---

## [Draw line to mouse and trace x,y every 5 pixels](https://forum.kirupa.com/t/draw-line-to-mouse-and-trace-x-y-every-5-pixels/317612)

<div class="topic-metadata">

**Author:** [@Skribble](https://forum.kirupa.com/u/Skribble)\
**Replies:** 0\
**Last updated:** [December 27, 2010, 5:05pm UTC](https://forum.kirupa.com/t/draw-line-to-mouse-and-trace-x-y-every-5-pixels/317612 "2010-12-27T17:05:14Z")

</div>

As the title loosely suggests, I'd like to draw a line from pointA to the mouse position, and trace along that line and return the x,y position every 5 pixels. If I could get any help on this it would be most apprecia…

---

## [Convert String to Image](https://forum.kirupa.com/t/convert-string-to-image/317607)

<div class="topic-metadata">

**Author:** [@dplows](https://forum.kirupa.com/u/dplows)\
**Replies:** 0\
**Last updated:** [December 27, 2010, 2:46pm UTC](https://forum.kirupa.com/t/convert-string-to-image/317607 "2010-12-27T14:46:53Z")

</div>

Flash will be receiving a string from the web, either Javascript or query string from the URL(which I'm comfortable with). GOAL: Use that string as a byte array and convert it to bitmap data and display on the screen. …

---

## [ImageLoader bug](https://forum.kirupa.com/t/imageloader-bug/317604)

<div class="topic-metadata">

**Author:** [@spectator](https://forum.kirupa.com/u/spectator)\
**Replies:** 0\
**Last updated:** [December 27, 2010, 11:05am UTC](https://forum.kirupa.com/t/imageloader-bug/317604 "2010-12-27T11:05:36Z")

</div>

Hello :). I wrote one class which purpose is to load image into to certain MovieClip. The problem is that it is not working very well. package src.load { import flash.display.MovieClip; import flash.display.Load…

---

## [Set print Size problem?](https://forum.kirupa.com/t/set-print-size-problem/317602)

<div class="topic-metadata">

**Author:** [@sempase](https://forum.kirupa.com/u/sempase)\
**Replies:** 0\
**Last updated:** [December 27, 2010, 9:15am UTC](https://forum.kirupa.com/t/set-print-size-problem/317602 "2010-12-27T09:15:03Z")

</div>

There is an output that fits in A4 papersize with a resolution of 827x1169px. I trigger a print function via Flash AS3 ///Print Functions var printArea:Rectangle = new Rectangle(0, 0, 827, 1169); var pjoptions2:PrintJo…

---

## [CSV value in XML file](https://forum.kirupa.com/t/csv-value-in-xml-file/317598)

<div class="topic-metadata">

**Author:** [@tolgainam](https://forum.kirupa.com/u/tolgainam)\
**Replies:** 0\
**Last updated:** [December 27, 2010, 12:48am UTC](https://forum.kirupa.com/t/csv-value-in-xml-file/317598 "2010-12-27T00:48:31Z")

</div>

Hello , I am trying to prepare a CSV file like stuff in a XML file that will have a structure like the foloowing code below: \<levels\> \<level\> \<name\>LEVEL 1\</name\> \<tiles\> 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,1,1,1,1,1…

---

## [Function can't be reached](https://forum.kirupa.com/t/function-cant-be-reached/317594)

<div class="topic-metadata">

**Author:** [@glisando](https://forum.kirupa.com/u/glisando)\
**Replies:** 0\
**Last updated:** [December 26, 2010, 4:04pm UTC](https://forum.kirupa.com/t/function-cant-be-reached/317594 "2010-12-26T16:04:15Z")

</div>

Hi folks... A function I wrote that is supposed to respond to a mouse click event...is not being reached. I am not sure why. The following is the code exercpt: public function Stuff() { txtAreaMain = new Text…

---

## [How to stop the move of one object](https://forum.kirupa.com/t/how-to-stop-the-move-of-one-object/317592)

<div class="topic-metadata">

**Author:** [@zisis](https://forum.kirupa.com/u/zisis)\
**Replies:** 0\
**Last updated:** [December 26, 2010, 3:36pm UTC](https://forum.kirupa.com/t/how-to-stop-the-move-of-one-object/317592 "2010-12-26T15:36:00Z")

</div>

i want to stop the move of one object when an other object passes over a specific point!!!!how i can do this threw a method?

---

## [Rollover on an object that launches another object animation](https://forum.kirupa.com/t/rollover-on-an-object-that-launches-another-object-animation/317590)

<div class="topic-metadata">

**Author:** [@Paposs122](https://forum.kirupa.com/u/Paposs122)\
**Replies:** 0\
**Last updated:** [December 26, 2010, 12:17pm UTC](https://forum.kirupa.com/t/rollover-on-an-object-that-launches-another-object-animation/317590 "2010-12-26T12:17:37Z")

</div>

Hello guys! I was wondering if it's possible to launch an animation with a rollover on an object on another layer, apparently when i code this, it doesn't work, or more precisely it doesn't launch the animation... Any id…

---

## [For Each...in and displayObjects](https://forum.kirupa.com/t/for-each-in-and-displayobjects/317589)

<div class="topic-metadata">

**Author:** [@Zwaf](https://forum.kirupa.com/u/Zwaf)\
**Replies:** 0\
**Last updated:** [December 26, 2010, 9:58am UTC](https://forum.kirupa.com/t/for-each-in-and-displayobjects/317589 "2010-12-26T09:58:59Z")

</div>

Hey Guys, First of all, a merry Christmas to you all. Better hope its not as snowy at your place as it is at mine. Can't even get my front door to open. Anyways, I have been referring to the sticky topic of "AS3: Tip…

---

## [Tutorial: Random Movement in AS3](https://forum.kirupa.com/t/tutorial-random-movement-in-as3/317587)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 26, 2010, 5:56am UTC](https://forum.kirupa.com/t/tutorial-random-movement-in-as3/317587 "2010-12-26T05:56:20Z")

</div>

This thread is designed to help collect discussion on the Random Movement in AS3 tutorial. Feel free to drop in :thumb2: Cheers, Kirupa :rambo:

---

## [Loading Image From XML](https://forum.kirupa.com/t/loading-image-from-xml/317586)

<div class="topic-metadata">

**Author:** [@fotofx](https://forum.kirupa.com/u/fotofx)\
**Replies:** 0\
**Last updated:** [December 26, 2010, 5:19am UTC](https://forum.kirupa.com/t/loading-image-from-xml/317586 "2010-12-26T05:19:17Z")

</div>

I have a fairly simple script that loads an image from XML into a blank movie clip. When I preview it in flash the image loads (and changes) fine. When I view it live in a browser the image does not load but everything e…

---

## [Newbie question swf imort problem](https://forum.kirupa.com/t/newbie-question-swf-imort-problem/317583)

<div class="topic-metadata">

**Author:** [@dvguy](https://forum.kirupa.com/u/dvguy)\
**Replies:** 0\
**Last updated:** [December 25, 2010, 6:05pm UTC](https://forum.kirupa.com/t/newbie-question-swf-imort-problem/317583 "2010-12-25T18:05:49Z")

</div>

Hello! I am importing external swf to library(swf having some text and mathematical equations ) when I put swf file on stage it displays everything but when I publish it , mathematical equations are not shown in publish…

---

## [Is there a function that allows to play the timeline back?](https://forum.kirupa.com/t/is-there-a-function-that-allows-to-play-the-timeline-back/317579)

<div class="topic-metadata">

**Author:** [@Paposs122](https://forum.kirupa.com/u/Paposs122)\
**Replies:** 0\
**Last updated:** [December 25, 2010, 10:54am UTC](https://forum.kirupa.com/t/is-there-a-function-that-allows-to-play-the-timeline-back/317579 "2010-12-25T10:54:02Z")

</div>

Everything is in the title! I am making an animation, followers know that I am making a turning envelope, and I need that it returns to its initial position when the mouse rollOut but from its actual position in the anim…

---

## [\[Flash 8\] Need help with actionscript for flash contact form](https://forum.kirupa.com/t/flash-8-need-help-with-actionscript-for-flash-contact-form/317578)

<div class="topic-metadata">

**Author:** [@cavaliere123](https://forum.kirupa.com/u/cavaliere123)\
**Replies:** 0\
**Last updated:** [December 25, 2010, 10:39am UTC](https://forum.kirupa.com/t/flash-8-need-help-with-actionscript-for-flash-contact-form/317578 "2010-12-25T10:39:04Z")

</div>

As title states, I'm creating a flash contact form and so far I've been able to get everything working except the check boxes. I can't get the user input for them to be sent to my e-mail, but all the text fields are sen…

---

## [HELP NEEDED! make turning envelope when rollOver](https://forum.kirupa.com/t/help-needed-make-turning-envelope-when-rollover/317577)

<div class="topic-metadata">

**Author:** [@Paposs122](https://forum.kirupa.com/u/Paposs122)\
**Replies:** 0\
**Last updated:** [December 25, 2010, 9:17am UTC](https://forum.kirupa.com/t/help-needed-make-turning-envelope-when-rollover/317577 "2010-12-25T09:17:21Z")

</div>

Hi everybody, :love\_heart: I would like to make a turning envelope when the mouse rollOver it, let me explain : when the mouse is away, the user could see the front of the envelope, and when the user move his mouse on …

---

## [Code for PLAY Button?](https://forum.kirupa.com/t/code-for-play-button/317576)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [December 25, 2010, 8:39am UTC](https://forum.kirupa.com/t/code-for-play-button/317576 "2010-12-25T08:39:24Z")

</div>

Hi, \[FONT=Calibri\]Hi,\[/FONT\] \[FONT=Calibri\] \[/FONT\] \[FONT=Calibri\]What is the Flash CS4 AS3 code for “PLAY” button for playing an Embedded Video Clip.\[/FONT\] \[FONT=Calibri\] \[/FONT\] \[FONT=Calibri\]I …

---

## [Game Engine AS2](https://forum.kirupa.com/t/game-engine-as2/317575)

<div class="topic-metadata">

**Author:** [@colossaladvent](https://forum.kirupa.com/u/colossaladvent)\
**Replies:** 0\
**Last updated:** [December 25, 2010, 5:28am UTC](https://forum.kirupa.com/t/game-engine-as2/317575 "2010-12-25T05:28:33Z")

</div>

Flash Cs3 Actionscript 2 Hi, i'm new and would like to know how to create specific things in my engine. I have already assembled a basic engine, but would like to know how to do the following: "Push" objects: As in …

---

## [cacheAsBitmap...ahhh](https://forum.kirupa.com/t/cacheasbitmap-ahhh/317571)

<div class="topic-metadata">

**Author:** [@tbo](https://forum.kirupa.com/u/tbo)\
**Replies:** 0\
**Last updated:** [December 24, 2010, 10:39pm UTC](https://forum.kirupa.com/t/cacheasbitmap-ahhh/317571 "2010-12-24T22:39:01Z")

</div>

This is one simple thing can never get right. I can't seem to cache things correctly ever. I'm using my phone, with GPU rendering. var container:MovieClip= new MovieClip(); for (var i:uint=0; i\<50; i++) { var myM…

---

## [Resizing script issue](https://forum.kirupa.com/t/resizing-script-issue/317568)

<div class="topic-metadata">

**Author:** [@Paposs122](https://forum.kirupa.com/u/Paposs122)\
**Replies:** 0\
**Last updated:** [December 24, 2010, 6:34pm UTC](https://forum.kirupa.com/t/resizing-script-issue/317568 "2010-12-24T18:34:41Z")

</div>

Hi everybody! I followed the tutorial on this topic : http://www.kirupa.com/developer/as3/resizing\_centering\_as3.htm ,but I don't know why, my script do something a little different, the background takes almost all the s…

---

## [How to update a Text field usig xml file?](https://forum.kirupa.com/t/how-to-update-a-text-field-usig-xml-file/317565)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [December 24, 2010, 4:56pm UTC](https://forum.kirupa.com/t/how-to-update-a-text-field-usig-xml-file/317565 "2010-12-24T16:56:31Z")

</div>

Hi, I have a form with the following Text Boxes. I am using Flash CS4 AS3. 1) textModifiedDate 2) textSubject 3) textDescription 4) textStatus I need to update those fields on daily basis. So, how can I update tho…

---

## [Why can't we use \[AS\] code tags around ActionScript anymore?](https://forum.kirupa.com/t/why-cant-we-use-as-code-tags-around-actionscript-anymore/317564)

<div class="topic-metadata">

**Author:** [@creatify](https://forum.kirupa.com/u/creatify)\
**Replies:** 0\
**Last updated:** [December 24, 2010, 4:54pm UTC](https://forum.kirupa.com/t/why-cant-we-use-as-code-tags-around-actionscript-anymore/317564 "2010-12-24T16:54:26Z")

</div>

anyone?

---

## [MySQL Database to PHP to Flash](https://forum.kirupa.com/t/mysql-database-to-php-to-flash/317563)

<div class="topic-metadata">

**Author:** [@Taloton](https://forum.kirupa.com/u/Taloton)\
**Replies:** 0\
**Last updated:** [December 24, 2010, 3:58pm UTC](https://forum.kirupa.com/t/mysql-database-to-php-to-flash/317563 "2010-12-24T15:58:35Z")

</div>

I am making an online game with AS2 and my method for storing the location of users is with a table with columns: name, x, y. The table has many rows. I have a PHP script which makes a query in the DB for all x and y …

---

## [Action Based On Combobox](https://forum.kirupa.com/t/action-based-on-combobox/317561)

<div class="topic-metadata">

**Author:** [@fotofx](https://forum.kirupa.com/u/fotofx)\
**Replies:** 0\
**Last updated:** [December 24, 2010, 2:03pm UTC](https://forum.kirupa.com/t/action-based-on-combobox/317561 "2010-12-24T14:03:00Z")

</div>

I am trying to get a button to take an action based on the selected value in a combobox. I have a movieclip named sound\_mc that has named keyframes. I have a combobox named arrival that has values that match the named ke…

---

## [Sound player : music is not played when loaded](https://forum.kirupa.com/t/sound-player-music-is-not-played-when-loaded/317560)

<div class="topic-metadata">

**Author:** [@Paposs122](https://forum.kirupa.com/u/Paposs122)\
**Replies:** 0\
**Last updated:** [December 24, 2010, 2:00pm UTC](https://forum.kirupa.com/t/sound-player-music-is-not-played-when-loaded/317560 "2010-12-24T14:00:11Z")

</div>

Hello everybody! I have or more precisely I had a problem, I was looking for a flash audio player that doesn’t play the music directly when it is loaded but only with buttons, so firstly the music is loaded with an URL …

---

## [AS3: Compiling .AS Class Files into FLA](https://forum.kirupa.com/t/as3-compiling-as-class-files-into-fla/317557)

<div class="topic-metadata">

**Author:** [@ds1](https://forum.kirupa.com/u/ds1)\
**Replies:** 0\
**Last updated:** [December 24, 2010, 12:17pm UTC](https://forum.kirupa.com/t/as3-compiling-as-class-files-into-fla/317557 "2010-12-24T12:17:03Z")

</div>

Dearest Geniuses, I am requesting a standard method, in compiling .AS Class files into a central FLA. I am not seeking to upload seperate .AS class files, in efforts to have the designated SWF, call simplistic actionsc…

---

## [Multiple Loader Components?](https://forum.kirupa.com/t/multiple-loader-components/317556)

<div class="topic-metadata">

**Author:** [@BottleShock](https://forum.kirupa.com/u/BottleShock)\
**Replies:** 0\
**Last updated:** [December 24, 2010, 11:23am UTC](https://forum.kirupa.com/t/multiple-loader-components/317556 "2010-12-24T11:23:55Z")

</div>

Ok this one I can't figure out, cause I simply am not a programmer/coder, so I wouldn't know where to begin. Hopefully someone here might know \[smile\] Two questions (\[COLOR=RoyalBlue\]if the first one is not possible, a…

---

## [As3 loading swf + class access](https://forum.kirupa.com/t/as3-loading-swf-class-access/317552)

<div class="topic-metadata">

**Author:** [@johnsto](https://forum.kirupa.com/u/johnsto)\
**Replies:** 0\
**Last updated:** [December 24, 2010, 7:55am UTC](https://forum.kirupa.com/t/as3-loading-swf-class-access/317552 "2010-12-24T07:55:42Z")

</div>

Hello, I am new to flash and as3 and i would like to ask a few things regarding sub loading external swf files. I am experimenting with subloading multiple swf files to a main swf. As i have it so far (and it doesn'…

---

## [Point at Mouse Math](https://forum.kirupa.com/t/point-at-mouse-math/317550)

<div class="topic-metadata">

**Author:** [@Hoshi](https://forum.kirupa.com/u/Hoshi)\
**Replies:** 0\
**Last updated:** [December 24, 2010, 6:42am UTC](https://forum.kirupa.com/t/point-at-mouse-math/317550 "2010-12-24T06:42:24Z")

</div>

basically I'm trying to make a movie clip that rotates to point at the mouse. I got the parts of the script to work where the clip rotates when the mouse moves, the problem is the math that goes into finding the angle of…

---

## [Flash in Flex?](https://forum.kirupa.com/t/flash-in-flex/317549)

<div class="topic-metadata">

**Author:** [@zerdang](https://forum.kirupa.com/u/zerdang)\
**Replies:** 0\
**Last updated:** [December 24, 2010, 6:19am UTC](https://forum.kirupa.com/t/flash-in-flex/317549 "2010-12-24T06:19:11Z")

</div>

So I recently got Flash Builder 4 for my Mac and started to import some recent projects from my old hard drive. I finished and then proceeded to test the files in FB4. My only problem was that FB4 kept giving me this e…

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

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