# flash

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

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

**Page:** 141

---

## [LoadVars simple question (Flash MX)](https://forum.kirupa.com/t/loadvars-simple-question-flash-mx/323460)

<div class="topic-metadata">

**Author:** [@SoupHead](https://forum.kirupa.com/u/SoupHead)\
**Replies:** 0\
**Last updated:** [July 2, 2011, 1:12am UTC](https://forum.kirupa.com/t/loadvars-simple-question-flash-mx/323460 "2011-07-02T01:12:16Z")

</div>

In the text file for LoadVars you need an ampersand in between variables. Can you use a return (press enter) to make the file look neater? If somebody could just post a simple example that would be awesome. Can I do th…

---

## [Problem in Keyboard Event after gotoAndPlay](https://forum.kirupa.com/t/problem-in-keyboard-event-after-gotoandplay/323459)

<div class="topic-metadata">

**Author:** [@garudariderbaba](https://forum.kirupa.com/u/garudariderbaba)\
**Replies:** 0\
**Last updated:** [July 2, 2011, 12:57am UTC](https://forum.kirupa.com/t/problem-in-keyboard-event-after-gotoandplay/323459 "2011-07-02T00:57:11Z")

</div>

Hello I am Garudarider Baba, I'm still a beginner in programming ActionScript 3.0, I had a problem with KeyboardEvent in ActionScript 3.0, I created a simple shooting game, the game has 2 Frame, 1. Title Game (F…

---

## [Custom button class](https://forum.kirupa.com/t/custom-button-class/323458)

<div class="topic-metadata">

**Author:** [@kalyman](https://forum.kirupa.com/u/kalyman)\
**Replies:** 0\
**Last updated:** [July 1, 2011, 10:08pm UTC](https://forum.kirupa.com/t/custom-button-class/323458 "2011-07-01T22:08:54Z")

</div>

Hello everyone, for some reason I cannot find why this is not working for me \[smile\] I've created custom class for button that draws the button and have event listeners for mouse over, mouse out, mouse down, and mouse…

---

## [Inserting new values into multidimensional arrays](https://forum.kirupa.com/t/inserting-new-values-into-multidimensional-arrays/323457)

<div class="topic-metadata">

**Author:** [@FlashCS5Novice](https://forum.kirupa.com/u/FlashCS5Novice)\
**Replies:** 0\
**Last updated:** [July 1, 2011, 9:44pm UTC](https://forum.kirupa.com/t/inserting-new-values-into-multidimensional-arrays/323457 "2011-07-01T21:44:07Z")

</div>

\[CENTER\]TL;DR version: how do I add more values to the 0th row of an array? \[If that’s too vague, read on.\] \[/CENTER\] Hello again! I’m back, with another issue. What I’m trying to do currently is make a tilemap engin…

---

## [Serious performance problem](https://forum.kirupa.com/t/serious-performance-problem/323456)

<div class="topic-metadata">

**Author:** [@Derick\_Troia](https://forum.kirupa.com/u/Derick_Troia)\
**Replies:** 0\
**Last updated:** [July 1, 2011, 8:09pm UTC](https://forum.kirupa.com/t/serious-performance-problem/323456 "2011-07-01T20:09:20Z")

</div>

Hi everyone! As usual I brought a problem for you guys to help me figure it out. What's happening is that I currently finished developing a MMO for a famous and big company in my country, I have one week before uploa…

---

## [Should "local" variables/object ever need to be marked for garbage collection?](https://forum.kirupa.com/t/should-local-variables-object-ever-need-to-be-marked-for-garbage-collection/323453)

<div class="topic-metadata">

**Author:** [@dragonfly](https://forum.kirupa.com/u/dragonfly)\
**Replies:** 0\
**Last updated:** [July 1, 2011, 4:53pm UTC](https://forum.kirupa.com/t/should-local-variables-object-ever-need-to-be-marked-for-garbage-collection/323453 "2011-07-01T16:53:58Z")

</div>

If I have a variable that is declared within a method of a class, should that variable EVER need to be marked for garbage collection (set to null). for example: public class MyClass extends MovieClip { public f…

---

## [Help with radio button selection error](https://forum.kirupa.com/t/help-with-radio-button-selection-error/323451)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [July 1, 2011, 3:49pm UTC](https://forum.kirupa.com/t/help-with-radio-button-selection-error/323451 "2011-07-01T15:49:31Z")

</div>

OK. So I have a group of radio buttons on the stage. If the user chooses one of the buttons and hits 'Submit' all is fine. If they fail to make a selection I want to show them an error. Using the code below works fine if…

---

## [Iam really banging my head , Please help](https://forum.kirupa.com/t/iam-really-banging-my-head-please-help/323449)

<div class="topic-metadata">

**Author:** [@jatintalwar](https://forum.kirupa.com/u/jatintalwar)\
**Replies:** 0\
**Last updated:** [July 1, 2011, 1:13pm UTC](https://forum.kirupa.com/t/iam-really-banging-my-head-please-help/323449 "2011-07-01T13:13:10Z")

</div>

Guys Iam really mad over a problem , somebody please help There is a text file from which images are loaded in flash . The pattern inside this file is : &cat\_0=LANDSCAPES& // this is the category &cat\_0\_pic\_0=x.…

---

## [Attach 2 of the same movieclips at once](https://forum.kirupa.com/t/attach-2-of-the-same-movieclips-at-once/323445)

<div class="topic-metadata">

**Author:** [@negikun12](https://forum.kirupa.com/u/negikun12)\
**Replies:** 0\
**Last updated:** [July 1, 2011, 4:51am UTC](https://forum.kirupa.com/t/attach-2-of-the-same-movieclips-at-once/323445 "2011-07-01T04:51:46Z")

</div>

s it possible to attach the same movieclip twice? for example i have two buttons and both attack Main\_Page however when i test the flash and error reads "Duplicate function definition" is there a way of attaching the …

---

## [AS3, loading bitmaps?](https://forum.kirupa.com/t/as3-loading-bitmaps/323443)

<div class="topic-metadata">

**Author:** [@WorldEdit](https://forum.kirupa.com/u/WorldEdit)\
**Replies:** 0\
**Last updated:** [July 1, 2011, 12:27am UTC](https://forum.kirupa.com/t/as3-loading-bitmaps/323443 "2011-07-01T00:27:35Z")

</div>

I have loaded bitmaps before, but when I getPixel, everything returns one bit less than original. For example, I have a solid white bitmap, getPIxel returns 0xfefefe, not 0xffffff. How do I avoid something like this? I d…

---

## [Play Movie Only when Visible in Window?](https://forum.kirupa.com/t/play-movie-only-when-visible-in-window/323441)

<div class="topic-metadata">

**Author:** [@woodman650](https://forum.kirupa.com/u/woodman650)\
**Replies:** 0\
**Last updated:** [June 30, 2011, 11:57pm UTC](https://forum.kirupa.com/t/play-movie-only-when-visible-in-window/323441 "2011-06-30T23:57:24Z")

</div>

Hi there, It's been a while... I'm looking at putting together a page with a series of small flash videos but ideally they would only play when in the visible browser space (paused below or above fold)... this is to cr…

---

## [Tile-Based Puzzle Game Problem - Need help!](https://forum.kirupa.com/t/tile-based-puzzle-game-problem-need-help/323438)

<div class="topic-metadata">

**Author:** [@Dezerith](https://forum.kirupa.com/u/Dezerith)\
**Replies:** 0\
**Last updated:** [June 30, 2011, 7:31pm UTC](https://forum.kirupa.com/t/tile-based-puzzle-game-problem-need-help/323438 "2011-06-30T19:31:33Z")

</div>

I'm currently making a kind of port of an old game called Chip's Challenge in flash. It's a tile-based puzzle game. I've made my array and got the map working, however now that I've got to adding a playable character, …

---

## [AS 3 clock problem](https://forum.kirupa.com/t/as-3-clock-problem/323437)

<div class="topic-metadata">

**Author:** [@nnnswordfish](https://forum.kirupa.com/u/nnnswordfish)\
**Replies:** 0\
**Last updated:** [June 30, 2011, 6:45pm UTC](https://forum.kirupa.com/t/as-3-clock-problem/323437 "2011-06-30T18:45:35Z")

</div>

Hy guys.. i try to make digital clock in as 3 ... but no luck it not working... i uploaded all source files here an please can u cheek please were is error? and why it doesn't working? thanks import flash.utils.Tim…

---

## [How to reduce 5 seconds from the Timer](https://forum.kirupa.com/t/how-to-reduce-5-seconds-from-the-timer/323434)

<div class="topic-metadata">

**Author:** [@Nuwa](https://forum.kirupa.com/u/Nuwa)\
**Replies:** 0\
**Last updated:** [June 30, 2011, 1:35pm UTC](https://forum.kirupa.com/t/how-to-reduce-5-seconds-from-the-timer/323434 "2011-06-30T13:35:30Z")

</div>

Im trying to reduce 5 seconds from the timer when the user clicks on the stage. This is the first time im using the Timer class and im not sure how to do this. This is the code i have so far, var theTimer:Timer = new…

---

## [getChildByName question](https://forum.kirupa.com/t/getchildbyname-question/323433)

<div class="topic-metadata">

**Author:** [@harm\_less](https://forum.kirupa.com/u/harm_less)\
**Replies:** 0\
**Last updated:** [June 30, 2011, 1:04pm UTC](https://forum.kirupa.com/t/getchildbyname-question/323433 "2011-06-30T13:04:03Z")

</div>

Hello, When you add a child (movieclip) to the stage on runtime do you have to get it by getChildByName or getChildAt or is there some other way? Because when you create a movieclip structure in the Flash IDE you can j…

---

## [Youtube Api Draw](https://forum.kirupa.com/t/youtube-api-draw/323432)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [June 30, 2011, 12:07pm UTC](https://forum.kirupa.com/t/youtube-api-draw/323432 "2011-06-30T12:07:29Z")

</div>

Hi! I'm making something that requires me to draw() the youtubeplayer Giving me this pretty error: SecurityError: Error #2121: Security sandbox violation: BitmapData.draw: http://\*\*\*\*\*\*\*\*\*.com/zzz/Main.swf cannot acces…

---

## [Double click with two states](https://forum.kirupa.com/t/double-click-with-two-states/323427)

<div class="topic-metadata">

**Author:** [@mashinc](https://forum.kirupa.com/u/mashinc)\
**Replies:** 0\
**Last updated:** [June 30, 2011, 6:09am UTC](https://forum.kirupa.com/t/double-click-with-two-states/323427 "2011-06-30T06:09:07Z")

</div>

Hi all!!! Please see the attached file, i want to have double click event which will zoom in the clip first time and second time double click will zoom out the clip, also on the start when the movie moves on mouse move…

---

## [ASHelp](https://forum.kirupa.com/t/ashelp/323426)

<div class="topic-metadata">

**Author:** [@joachym](https://forum.kirupa.com/u/joachym)\
**Replies:** 0\
**Last updated:** [June 30, 2011, 5:43am UTC](https://forum.kirupa.com/t/ashelp/323426 "2011-06-30T05:43:52Z")

</div>

Hi, I am fighting against this: I have a script inside a movieclip. There are a few children, too. Each child contains other movieclip whose instance name is "masker" and a button. The script reads: ... ... //when I cl…

---

## [The number of items inside an array](https://forum.kirupa.com/t/the-number-of-items-inside-an-array/323425)

<div class="topic-metadata">

**Author:** [@yani](https://forum.kirupa.com/u/yani)\
**Replies:** 0\
**Last updated:** [June 30, 2011, 5:25am UTC](https://forum.kirupa.com/t/the-number-of-items-inside-an-array/323425 "2011-06-30T05:25:52Z")

</div>

Hi everyone, I have an Array where in position 0, there are two items "name1" and "name2", then in position 1, there is only 1 item "name3", and position 2 there is only 1 item "name4". now when I trace like this: …

---

## [These irons are indeed ace](https://forum.kirupa.com/t/these-irons-are-indeed-ace/323424)

<div class="topic-metadata">

**Author:** [@Clarence123](https://forum.kirupa.com/u/Clarence123)\
**Replies:** 0\
**Last updated:** [June 30, 2011, 4:10am UTC](https://forum.kirupa.com/t/these-irons-are-indeed-ace/323424 "2011-06-30T04:10:13Z")

</div>

There was once a people recommend two sets of golf irons to me , one is CB Iron, the other is 2010 AP2 Iron, recently, I want to change my golf irons, so I have a try both of them and found these two irons are both very …

---

## [CombBox aid](https://forum.kirupa.com/t/combbox-aid/323418)

<div class="topic-metadata">

**Author:** [@Evil2k8](https://forum.kirupa.com/u/Evil2k8)\
**Replies:** 0\
**Last updated:** [June 29, 2011, 8:40pm UTC](https://forum.kirupa.com/t/combbox-aid/323418 "2011-06-29T20:40:21Z")

</div>

As seen here: http://devil2k10.webs.com/starupgradedowngrade.htm As the star level changes to 1, the combo box doesn't change its array. My code: stop(); var gemtxt:Array; var gemtxtIndex:int; var gemdata:Array; v…

---

## [New to AS3](https://forum.kirupa.com/t/new-to-as3/323417)

<div class="topic-metadata">

**Author:** [@A\_Froelich](https://forum.kirupa.com/u/A_Froelich)\
**Replies:** 0\
**Last updated:** [June 29, 2011, 8:27pm UTC](https://forum.kirupa.com/t/new-to-as3/323417 "2011-06-29T20:27:56Z")

</div>

Hey I'm doing something for my work, i know its actually quite easy for a vet but I'm just a beginner here. The point of the script is to have an interactive map for a building that when you click on the location it high…

---

## [Flash CS4, AS3 - addChild after a MovieClip has played problem](https://forum.kirupa.com/t/flash-cs4-as3-addchild-after-a-movieclip-has-played-problem/323415)

<div class="topic-metadata">

**Author:** [@Waffulz](https://forum.kirupa.com/u/Waffulz)\
**Replies:** 0\
**Last updated:** [June 29, 2011, 6:58pm UTC](https://forum.kirupa.com/t/flash-cs4-as3-addchild-after-a-movieclip-has-played-problem/323415 "2011-06-29T18:58:37Z")

</div>

In my .fla file, in frame 1 on the main timeline, I have a Button symbol in the display list. When that button is clicked, a function removes it from the display list, then adds a MovieClip (created in the library & expo…

---

## [Flash 8 - An efficient way to change text color using a button?](https://forum.kirupa.com/t/flash-8-an-efficient-way-to-change-text-color-using-a-button/323413)

<div class="topic-metadata">

**Author:** [@8Cyrus8](https://forum.kirupa.com/u/8Cyrus8)\
**Replies:** 0\
**Last updated:** [June 29, 2011, 5:38pm UTC](https://forum.kirupa.com/t/flash-8-an-efficient-way-to-change-text-color-using-a-button/323413 "2011-06-29T17:38:20Z")

</div>

Hi I am currently working on a website project that is mostly intended for Dyslexia disability users. I'm love flash but I can never get around the advance coding, therefore I have struggled to make any effective contr…

---

## [Importing video onto flash so it plays frame by frame?](https://forum.kirupa.com/t/importing-video-onto-flash-so-it-plays-frame-by-frame/323411)

<div class="topic-metadata">

**Author:** [@nkaps7](https://forum.kirupa.com/u/nkaps7)\
**Replies:** 0\
**Last updated:** [June 29, 2011, 3:57pm UTC](https://forum.kirupa.com/t/importing-video-onto-flash-so-it-plays-frame-by-frame/323411 "2011-06-29T15:57:09Z")

</div>

hi there,just wondering how can i import a video in to adobe flash cs4, so it plays in the timeline frame by frame (is this possibe?) i dont mean putting it on one frame so it will play, but so i can edit objects over th…

---

## [Converting a string to a movieclip](https://forum.kirupa.com/t/converting-a-string-to-a-movieclip/323404)

<div class="topic-metadata">

**Author:** [@Nuwa](https://forum.kirupa.com/u/Nuwa)\
**Replies:** 0\
**Last updated:** [June 29, 2011, 2:47pm UTC](https://forum.kirupa.com/t/converting-a-string-to-a-movieclip/323404 "2011-06-29T14:47:04Z")

</div>

Is it possible to convert a string to a movieclip instance name. If so can someone tell me how?? I tried, var theName:String; MovieClip(theName); but it says, "Type Coercion failed: cannot convert "mv3" to flash.dis…

---

## [Scripts for a flash newspaper](https://forum.kirupa.com/t/scripts-for-a-flash-newspaper/323403)

<div class="topic-metadata">

**Author:** [@negikun12](https://forum.kirupa.com/u/negikun12)\
**Replies:** 0\
**Last updated:** [June 29, 2011, 1:19pm UTC](https://forum.kirupa.com/t/scripts-for-a-flash-newspaper/323403 "2011-06-29T13:19:08Z")

</div>

PLEASE HELP!! Hey everyone.. iv been looking for help for a few weeks but cant seem to find the awnsers I am trying to create a newspaper that consists of four pages. Each page i have created and are sitting in the …

---

## [Class Defenition from string without instantiation](https://forum.kirupa.com/t/class-defenition-from-string-without-instantiation/323401)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [June 29, 2011, 1:05pm UTC](https://forum.kirupa.com/t/class-defenition-from-string-without-instantiation/323401 "2011-06-29T13:05:35Z")

</div>

Simple question, how can i get any classname from a string without instantiation ? //Basically, this is how i do it : var uselessInstantinationArray = \[Example\]; ApplicationManager.instance.open(getDefinitionByName("…

---

## [Cannot load swf using ExternalInterface.addCallback](https://forum.kirupa.com/t/cannot-load-swf-using-externalinterface-addcallback/323400)

<div class="topic-metadata">

**Author:** [@Forrest\_Gimp](https://forum.kirupa.com/u/Forrest_Gimp)\
**Replies:** 0\
**Last updated:** [June 29, 2011, 12:04pm UTC](https://forum.kirupa.com/t/cannot-load-swf-using-externalinterface-addcallback/323400 "2011-06-29T12:04:36Z")

</div>

Hi I try to create a switcher-swf. Its purpose is to detect parameters like screensize and then decide whether to load lowres.swf or highres.swf. Both lowres.swf and highres.swf work when tested independently. The pr…

---

## [Loadin XML data into a movie clip](https://forum.kirupa.com/t/loadin-xml-data-into-a-movie-clip/323399)

<div class="topic-metadata">

**Author:** [@tianihad](https://forum.kirupa.com/u/tianihad)\
**Replies:** 0\
**Last updated:** [June 29, 2011, 12:00pm UTC](https://forum.kirupa.com/t/loadin-xml-data-into-a-movie-clip/323399 "2011-06-29T12:00:16Z")

</div>

Hi all, im creating a pop-up info box with a scrollerbar, the info within the scrollerbar must be editable using XML (the info is also accompanied by an image which im also having trouble loading into the info box). T…

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

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