# flash

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

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

**Page:** 83

---

## [Font-family equivalent in AS3](https://forum.kirupa.com/t/font-family-equivalent-in-as3/327613)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [March 14, 2012, 5:00pm UTC](https://forum.kirupa.com/t/font-family-equivalent-in-as3/327613 "2012-03-14T17:00:48Z")

</div>

I don't want to embed fonts into my project. Instead, I would like to be able to give textfields a list of fonts to find like the CSS font-family property without using HTML text. I tried using the StyleSheet object t…

---

## [Drag and Drop Menu](https://forum.kirupa.com/t/drag-and-drop-menu/327611)

<div class="topic-metadata">

**Author:** [@StaaaC](https://forum.kirupa.com/u/StaaaC)\
**Replies:** 0\
**Last updated:** [March 14, 2012, 3:41pm UTC](https://forum.kirupa.com/t/drag-and-drop-menu/327611 "2012-03-14T15:41:16Z")

</div>

Hey guys I was wondering if anyone can PLEASE help me. I'm trying to create a drag and drop moodboard in flash cs5.5 and AS3 and after about 2 weeks of development nothing seems to be working out for me! Originally I wan…

---

## [Migrate this code from AS2 to AS3](https://forum.kirupa.com/t/migrate-this-code-from-as2-to-as3/327610)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [March 14, 2012, 2:02pm UTC](https://forum.kirupa.com/t/migrate-this-code-from-as2-to-as3/327610 "2012-03-14T14:02:27Z")

</div>

Hello all! I´n trying to migrate this code from as2 to as3 but can´t make it work. Could someone please give me a hand on this? var myXML:XML = new XML(); myXML.ignoreWhite = true; myXML.load("teste.xml"); myXML.onL…

---

## [Accessing movieclips from class](https://forum.kirupa.com/t/accessing-movieclips-from-class/327608)

<div class="topic-metadata">

**Author:** [@SpringHeel](https://forum.kirupa.com/u/SpringHeel)\
**Replies:** 0\
**Last updated:** [March 14, 2012, 8:26am UTC](https://forum.kirupa.com/t/accessing-movieclips-from-class/327608 "2012-03-14T08:26:27Z")

</div>

Hey I'm new to the forums, I'm having a lot of trouble understanding a certain thing. I'm creating a child of a symbol in my 'main' class var player:Symbol3 = new Symbol3(); addChild(player); player.x = 400…

---

## [Buttons: How to use later in the timeline without getting error 1009?](https://forum.kirupa.com/t/buttons-how-to-use-later-in-the-timeline-without-getting-error-1009/327607)

<div class="topic-metadata">

**Author:** [@drabski](https://forum.kirupa.com/u/drabski)\
**Replies:** 0\
**Last updated:** [March 14, 2012, 6:21am UTC](https://forum.kirupa.com/t/buttons-how-to-use-later-in-the-timeline-without-getting-error-1009/327607 "2012-03-14T06:21:19Z")

</div>

hi everyone, I'm new to AS3 and I cannot find a simple answer to this question and have been looking for some time now. My problem is a simple one. I have a button symbol in the Library that I want to use later in the…

---

## [Flash Runtime Search Path](https://forum.kirupa.com/t/flash-runtime-search-path/327602)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [March 13, 2012, 6:30pm UTC](https://forum.kirupa.com/t/flash-runtime-search-path/327602 "2012-03-13T18:30:27Z")

</div>

Is there a way to add paths to the Flash runtime search path for loading files? Say I want to load myXML.xml and its down in /myDir1/myDir2/myXML.xml. Is there any way I can add "/myDir1/myDir2" to the search path so I…

---

## [Death Animation](https://forum.kirupa.com/t/death-animation/327600)

<div class="topic-metadata">

**Author:** [@jaeger138](https://forum.kirupa.com/u/jaeger138)\
**Replies:** 0\
**Last updated:** [March 13, 2012, 2:49pm UTC](https://forum.kirupa.com/t/death-animation/327600 "2012-03-13T14:49:54Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Can someone please give me an example of some code that would, when an MCs 'health' variable is reduced to 0, play a death animation from frames 1 to 42 and then remove the clip from the scen…

---

## [Is Flash Frame Or Time Dependant?](https://forum.kirupa.com/t/is-flash-frame-or-time-dependant/327599)

<div class="topic-metadata">

**Author:** [@yoyoyo](https://forum.kirupa.com/u/yoyoyo)\
**Replies:** 0\
**Last updated:** [March 13, 2012, 2:34pm UTC](https://forum.kirupa.com/t/is-flash-frame-or-time-dependant/327599 "2012-03-13T14:34:56Z")

</div>

if for example the player moves, does it move him every x seconds or every x frames? like, if the flash game runs on somebody with fast computer and other has slow computer, so his game runs slower, so it can result in…

---

## [XML file to ComboBox](https://forum.kirupa.com/t/xml-file-to-combobox/327595)

<div class="topic-metadata">

**Author:** [@Lantui](https://forum.kirupa.com/u/Lantui)\
**Replies:** 0\
**Last updated:** [March 13, 2012, 6:34am UTC](https://forum.kirupa.com/t/xml-file-to-combobox/327595 "2012-03-13T06:34:53Z")

</div>

How can i get XML value content only into ComboBox XML file: \<list\>\<size\>3\</size\> \<items\> \<item xmlns: xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="lookup"\> \<description\>I would like to ask some questio…

---

## [\[important\] how do i do socket stuff in as3](https://forum.kirupa.com/t/important-how-do-i-do-socket-stuff-in-as3/327592)

<div class="topic-metadata">

**Author:** [@yoyoyo](https://forum.kirupa.com/u/yoyoyo)\
**Replies:** 0\
**Last updated:** [March 12, 2012, 8:04pm UTC](https://forum.kirupa.com/t/important-how-do-i-do-socket-stuff-in-as3/327592 "2012-03-12T20:04:09Z")

</div>

so i know as2 and i'm awesome at it but i can't do shenanigan in it like this is one of the best things I could produce out of as2: http://www.youtube.com/watch?v=oDD36AVTTo4 and well i wanna make a multiplayer game tile…

---

## [Seemless Install Failing (.htaccess)](https://forum.kirupa.com/t/seemless-install-failing-htaccess/327591)

<div class="topic-metadata">

**Author:** [@E\_Smuga](https://forum.kirupa.com/u/E_Smuga)\
**Replies:** 0\
**Last updated:** [March 12, 2012, 7:39pm UTC](https://forum.kirupa.com/t/seemless-install-failing-htaccess/327591 "2012-03-12T19:39:59Z")

</div>

I created a seamless install for an application: Register Free to see it http://englishfreeonline.com/download-i-immersion/ It works perfectly when you I allow installs for anyone. When I change permission to only al…

---

## [Pre-buffer Bitmapdata](https://forum.kirupa.com/t/pre-buffer-bitmapdata/327589)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [March 12, 2012, 10:42am UTC](https://forum.kirupa.com/t/pre-buffer-bitmapdata/327589 "2012-03-12T10:42:07Z")

</div>

Hey Before I go any further, I just want to clarify that this is Not about loading. So with that said. What I have is a .png sequence that will play forwards and backwards on mouse-over/out. I achieve this by having an…

---

## [Turn based game help](https://forum.kirupa.com/t/turn-based-game-help/327586)

<div class="topic-metadata">

**Author:** [@raphaelle](https://forum.kirupa.com/u/raphaelle)\
**Replies:** 0\
**Last updated:** [March 12, 2012, 7:51am UTC](https://forum.kirupa.com/t/turn-based-game-help/327586 "2012-03-12T07:51:07Z")

</div>

Good day evryone well, i need help on how to create a turn based game. in as3. i did something but it has an error, well what i did was give the enemy its on class, and i thought that since it has its own class i ca…

---

## [Bug? or functioning as intended?](https://forum.kirupa.com/t/bug-or-functioning-as-intended/327583)

<div class="topic-metadata">

**Author:** [@Oddeye](https://forum.kirupa.com/u/Oddeye)\
**Replies:** 0\
**Last updated:** [March 11, 2012, 7:45pm UTC](https://forum.kirupa.com/t/bug-or-functioning-as-intended/327583 "2012-03-11T19:45:19Z")

</div>

Hi, I have a TLF Read-Only Textbox. I have given the text box an instance name and attached a MOUSE\_OVER and MOUSE\_OUT listener to it. On mouse over: Displays a value with the .text property. On mouse out: Sets the …

---

## [How to create a swf file for use on my website?](https://forum.kirupa.com/t/how-to-create-a-swf-file-for-use-on-my-website/327581)

<div class="topic-metadata">

**Author:** [@boeyong](https://forum.kirupa.com/u/boeyong)\
**Replies:** 0\
**Last updated:** [March 11, 2012, 12:49pm UTC](https://forum.kirupa.com/t/how-to-create-a-swf-file-for-use-on-my-website/327581 "2012-03-11T12:49:11Z")

</div>

Hi I would like to know how to do up exactly like what you see on the front page at andrewsmodels.com using my photos on my website using Flash CS4. How do I get a step-by-step guide on how to do it? Can anyone help? tha…

---

## [Slider Problems](https://forum.kirupa.com/t/slider-problems/327580)

<div class="topic-metadata">

**Author:** [@joenowhere](https://forum.kirupa.com/u/joenowhere)\
**Replies:** 0\
**Last updated:** [March 11, 2012, 11:02am UTC](https://forum.kirupa.com/t/slider-problems/327580 "2012-03-11T11:02:18Z")

</div>

I'm new in Flash, now I want to create a timeline slider for photos, i have the AC for that but I can make it even, what's wrong with my code? and can I add some effect between photos,like fade in fade out? also can I ma…

---

## [How do I disable Drawing Board actionscript 2.0?](https://forum.kirupa.com/t/how-do-i-disable-drawing-board-actionscript-2-0/327578)

<div class="topic-metadata">

**Author:** [@Citachi](https://forum.kirupa.com/u/Citachi)\
**Replies:** 0\
**Last updated:** [March 11, 2012, 3:22am UTC](https://forum.kirupa.com/t/how-do-i-disable-drawing-board-actionscript-2-0/327578 "2012-03-11T03:22:23Z")

</div>

Upon hoping to the frame with the drawing board actionscript on it, i've successfully created the erase button to remove all the drawings made, but then i also have a 'HOME' button that takes me back home. BUT the drawin…

---

## [AS3 collision and level moving](https://forum.kirupa.com/t/as3-collision-and-level-moving/327577)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [March 11, 2012, 12:28am UTC](https://forum.kirupa.com/t/as3-collision-and-level-moving/327577 "2012-03-11T00:28:00Z")

</div>

I'm really new to action script coding, and my teachers aren't very good at helping me understand what is going on (I'm not the only student having problems). It would be great if someone could give me steps for not just…

---

## [Blocked MouseOver](https://forum.kirupa.com/t/blocked-mouseover/327576)

<div class="topic-metadata">

**Author:** [@radi](https://forum.kirupa.com/u/radi)\
**Replies:** 0\
**Last updated:** [March 10, 2012, 10:07pm UTC](https://forum.kirupa.com/t/blocked-mouseover/327576 "2012-03-10T22:07:14Z")

</div>

SelectedItem.addEventListener(Event.ENTER\_FRAME, MoveSheet2); function MoveSheet2(event:Event) { SelectedItem.x = mouseX - 17; SelectedItem.y = mouseY - 17; } Object2.addEven…

---

## [How to reach to the instance name that inside of a movie clip?](https://forum.kirupa.com/t/how-to-reach-to-the-instance-name-that-inside-of-a-movie-clip/327575)

<div class="topic-metadata">

**Author:** [@Sphynxinator](https://forum.kirupa.com/u/Sphynxinator)\
**Replies:** 0\
**Last updated:** [March 10, 2012, 6:04pm UTC](https://forum.kirupa.com/t/how-to-reach-to-the-instance-name-that-inside-of-a-movie-clip/327575 "2012-03-10T18:04:04Z")

</div>

Hello. I've started to Flash again after a long time. I'm excited. \[smiley\] Whatever, my problem is simple. I want to reach a instance name from a movie clip. For example, I made a movie clip that has 2 frames. Name of t…

---

## [nextFrame( ) Y U NO WORK](https://forum.kirupa.com/t/nextframe-y-u-no-work/327574)

<div class="topic-metadata">

**Author:** [@Shinji\_Barbra](https://forum.kirupa.com/u/Shinji_Barbra)\
**Replies:** 0\
**Last updated:** [March 10, 2012, 5:28pm UTC](https://forum.kirupa.com/t/nextframe-y-u-no-work/327574 "2012-03-10T17:28:16Z")

</div>

Hey, I've only started using cs3 and i can't get this code to work: stage.addEventListener(KeyboardEvent.KEY\_UP, touch); function touch (e:KeyboardEvent):void { if (bullet.hitTestObject(enemy1)) { nex…

---

## [How to call a Button inside a MovieClip, with names stored in Arrays](https://forum.kirupa.com/t/how-to-call-a-button-inside-a-movieclip-with-names-stored-in-arrays/327572)

<div class="topic-metadata">

**Author:** [@megalord](https://forum.kirupa.com/u/megalord)\
**Replies:** 0\
**Last updated:** [March 10, 2012, 2:13pm UTC](https://forum.kirupa.com/t/how-to-call-a-button-inside-a-movieclip-with-names-stored-in-arrays/327572 "2012-03-10T14:13:27Z")

</div>

Hi! Since yesterday morning I´m googleing searching for an answer and I´m not able to find it, here is my problem: I have an Arrays that contains the names of MovieClips: var MyMCs:Array = \["A","B","C","D","E"\]; T…

---

## [Unable to change text in TextField after it has been added to stage](https://forum.kirupa.com/t/unable-to-change-text-in-textfield-after-it-has-been-added-to-stage/327569)

<div class="topic-metadata">

**Author:** [@GeekTweak\_0](https://forum.kirupa.com/u/GeekTweak_0)\
**Replies:** 0\
**Last updated:** [March 9, 2012, 10:40pm UTC](https://forum.kirupa.com/t/unable-to-change-text-in-textfield-after-it-has-been-added-to-stage/327569 "2012-03-09T22:40:23Z")

</div>

I made a textfield, and applied a textformat to it, but whenever i try to change its text to something else outside of "addChild(myText)" it just removes the text completely. I am sure its a simple solution. help?

---

## [Questions on combining 2 OOP design patterns](https://forum.kirupa.com/t/questions-on-combining-2-oop-design-patterns/327567)

<div class="topic-metadata">

**Author:** [@theNub](https://forum.kirupa.com/u/theNub)\
**Replies:** 0\
**Last updated:** [March 9, 2012, 9:05pm UTC](https://forum.kirupa.com/t/questions-on-combining-2-oop-design-patterns/327567 "2012-03-09T21:05:00Z")

</div>

Hi there, I have a question on how to combine 2 OOP design patterns. First off, I created a MVC pattern that loads XML into the as3 classes. Now, I want to add another OOP design pattern which is the OBSERVER pattern. …

---

## [Creating a hit area of a movie clip](https://forum.kirupa.com/t/creating-a-hit-area-of-a-movie-clip/327566)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [March 9, 2012, 8:11pm UTC](https://forum.kirupa.com/t/creating-a-hit-area-of-a-movie-clip/327566 "2012-03-09T20:11:25Z")

</div>

hello, I've a movie clip of a circlular i've imported as a png then changed to a movie clip. i have a hit test to check if something is in contact with the circular object. The hit test works but it works on the square b…

---

## [How do you resize your stage and scale the content](https://forum.kirupa.com/t/how-do-you-resize-your-stage-and-scale-the-content/327564)

<div class="topic-metadata">

**Author:** [@whenurstrange](https://forum.kirupa.com/u/whenurstrange)\
**Replies:** 0\
**Last updated:** [March 9, 2012, 6:42pm UTC](https://forum.kirupa.com/t/how-do-you-resize-your-stage-and-scale-the-content/327564 "2012-03-09T18:42:12Z")

</div>

I have to adjust to a new size and my objects have to adjust accordingly. Is there a way to select multiple objects on separate frames and resize as a group?

---

## [Despartely Need help with small bug](https://forum.kirupa.com/t/despartely-need-help-with-small-bug/327560)

<div class="topic-metadata">

**Author:** [@avaughn](https://forum.kirupa.com/u/avaughn)\
**Replies:** 0\
**Last updated:** [March 9, 2012, 2:17pm UTC](https://forum.kirupa.com/t/despartely-need-help-with-small-bug/327560 "2012-03-09T14:17:18Z")

</div>

If you compile and run this you will see 2 Tabs, HEAD 1 and HEAD 2. The problem I am having is when you first compile and run HEAD 1 should have a beige tab, however the MC for that advances to frame 5 and I get the Blue…

---

## [Need some help in buttons](https://forum.kirupa.com/t/need-some-help-in-buttons/327558)

<div class="topic-metadata">

**Author:** [@Hungry44](https://forum.kirupa.com/u/Hungry44)\
**Replies:** 0\
**Last updated:** [March 9, 2012, 11:46am UTC](https://forum.kirupa.com/t/need-some-help-in-buttons/327558 "2012-03-09T11:46:43Z")

</div>

Hey there this is my first post XD =) , i need some help .. i want to create two as2 the first one is when i hold the button "Down" and the second one is when i only press the button "Down" once ? this part of the as…

---

## [Display Object + Depth](https://forum.kirupa.com/t/display-object-depth/327553)

<div class="topic-metadata">

**Author:** [@selacius](https://forum.kirupa.com/u/selacius)\
**Replies:** 0\
**Last updated:** [March 9, 2012, 4:11am UTC](https://forum.kirupa.com/t/display-object-depth/327553 "2012-03-09T04:11:13Z")

</div>

I have a display object set up like such: Main Stage: Container Object 1: Display Object 1 Display Object 2 Display Object 3 Display Object 4 Container Object 2 At the moment, my Contain…

---

## [Uploading SWF with XML in website](https://forum.kirupa.com/t/uploading-swf-with-xml-in-website/327552)

<div class="topic-metadata">

**Author:** [@jeponkz](https://forum.kirupa.com/u/jeponkz)\
**Replies:** 0\
**Last updated:** [March 9, 2012, 2:06am UTC](https://forum.kirupa.com/t/uploading-swf-with-xml-in-website/327552 "2012-03-09T02:06:12Z")

</div>

Hello Guys, whats the best thing to do when I put my swf file online including xml..because when I publish my swf file online, it can't find the path of my xml.. like pictures, etc.. do I need to upload all my images o…

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

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