# flash

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

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

**Page:** 650

---

## [Document class AND some frame in timeline?](https://forum.kirupa.com/t/document-class-and-some-frame-in-timeline/286139)

<div class="topic-metadata">

**Author:** [@Stratboy](https://forum.kirupa.com/u/Stratboy)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 5:22pm UTC](https://forum.kirupa.com/t/document-class-and-some-frame-in-timeline/286139 "2009-04-10T17:22:31Z")

</div>

Hi! Is it good to have a document class and still some other frames in the mainTimeline with some code inside?

---

## [Cant import flash gallery on site](https://forum.kirupa.com/t/cant-import-flash-gallery-on-site/286137)

<div class="topic-metadata">

**Author:** [@RisBo](https://forum.kirupa.com/u/RisBo)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 4:42pm UTC](https://forum.kirupa.com/t/cant-import-flash-gallery-on-site/286137 "2009-04-10T16:42:19Z")

</div>

Ok,i am new here.Here is the problem: I have this gallery and i want to load her into container on my site but it shows one or two times and dissapear. Here is code on (release) { container.loadMovie("galerija.swf"); …

---

## [Using XML in Flash CS3/AS3 - Output XML to Stage](https://forum.kirupa.com/t/using-xml-in-flash-cs3-as3-output-xml-to-stage/286136)

<div class="topic-metadata">

**Author:** [@golfman76](https://forum.kirupa.com/u/golfman76)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 4:20pm UTC](https://forum.kirupa.com/t/using-xml-in-flash-cs3-as3-output-xml-to-stage/286136 "2009-04-10T16:20:04Z")

</div>

As a follow up to learning the XML in AS3 from this Tutorial, http://www.kirupa.com/developer/flashcs3/using\_xml\_as3\_pg1.htm, wanted to know how to create text boxes dynamically for each element to display on the stage. …

---

## [Stop keyboard action repeating when key is held down?](https://forum.kirupa.com/t/stop-keyboard-action-repeating-when-key-is-held-down/286133)

<div class="topic-metadata">

**Author:** [@dst1](https://forum.kirupa.com/u/dst1)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 3:52pm UTC](https://forum.kirupa.com/t/stop-keyboard-action-repeating-when-key-is-held-down/286133 "2009-04-10T15:52:28Z")

</div>

Hi, I'm developing a game for my final year project at university that has a character who can move up and down on screen. The upper half of the screen is reflected in the lower half so that there are actually two charac…

---

## [AS3: Conditional statement only reading the final else!](https://forum.kirupa.com/t/as3-conditional-statement-only-reading-the-final-else/286131)

<div class="topic-metadata">

**Author:** [@wuzzi2ya](https://forum.kirupa.com/u/wuzzi2ya)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 3:08pm UTC](https://forum.kirupa.com/t/as3-conditional-statement-only-reading-the-final-else/286131 "2009-04-10T15:08:45Z")

</div>

In this conditional statement (listed below), only the ending else is being populated, regardless of the url being selected. Within the code below the "content/PT.xml" is being displayed. Both my AS3 statement and htm…

---

## [KeyboardEvent.KEY\_DOWN. Some keys work, others dont](https://forum.kirupa.com/t/keyboardevent-key-down-some-keys-work-others-dont/286129)

<div class="topic-metadata">

**Author:** [@ryrocks](https://forum.kirupa.com/u/ryrocks)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 2:40pm UTC](https://forum.kirupa.com/t/keyboardevent-key-down-some-keys-work-others-dont/286129 "2009-04-10T14:40:38Z")

</div>

I want to run a function when the enter key is pressed. I believe the following code is correct: stage.addEventListener(KeyboardEvent.KEY\_DOWN, selectDetect); public function selectDetect(event:KeyboardEvent):void …

---

## [Help with field verification mail form](https://forum.kirupa.com/t/help-with-field-verification-mail-form/286128)

<div class="topic-metadata">

**Author:** [@jakes](https://forum.kirupa.com/u/jakes)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 2:34pm UTC](https://forum.kirupa.com/t/help-with-field-verification-mail-form/286128 "2009-04-10T14:34:58Z")

</div>

Could someone help me please? I have a flash and php based mail form that needs to have the fields verified. So when a user does not insert info in the text fields, an error clip will play. The form works fine without th…

---

## [Urgent Help with gotoAndStop](https://forum.kirupa.com/t/urgent-help-with-gotoandstop/286125)

<div class="topic-metadata">

**Author:** [@ManicMax](https://forum.kirupa.com/u/ManicMax)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 12:33pm UTC](https://forum.kirupa.com/t/urgent-help-with-gotoandstop/286125 "2009-04-10T12:33:12Z")

</div>

I'm trying to adapt a tutorial I found on this website entitled Complex Button Rollover - Rollout Effects The effect I am trying to achieve is instead of linking the animation to a website I wan't to be able to navigat…

---

## [gotoAndPlay instance name inside MC, inside MC](https://forum.kirupa.com/t/gotoandplay-instance-name-inside-mc-inside-mc/286123)

<div class="topic-metadata">

**Author:** [@CkretAjint](https://forum.kirupa.com/u/CkretAjint)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 12:13pm UTC](https://forum.kirupa.com/t/gotoandplay-instance-name-inside-mc-inside-mc/286123 "2009-04-10T12:13:41Z")

</div>

For some reason I cannot get this to work. If there is a tut, or another post that you can reference me to that would be awesome! I searched but found nothing... Basically I have movie clip on the main timeline, within…

---

## [addChild :S PLEASE HELP](https://forum.kirupa.com/t/addchild-s-please-help/286122)

<div class="topic-metadata">

**Author:** [@adiosamigos](https://forum.kirupa.com/u/adiosamigos)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 11:55am UTC](https://forum.kirupa.com/t/addchild-s-please-help/286122 "2009-04-10T11:55:23Z")

</div>

Hi. I have spent so long trying to find a simple method to this. I have a fla file with a small movie clip in it. I would like to know how to create a button that will add another of the same movie clip. It doesn't…

---

## [Loading multiple images with xml](https://forum.kirupa.com/t/loading-multiple-images-with-xml/286121)

<div class="topic-metadata">

**Author:** [@lope](https://forum.kirupa.com/u/lope)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 11:53am UTC](https://forum.kirupa.com/t/loading-multiple-images-with-xml/286121 "2009-04-10T11:53:14Z")

</div>

Has anybody got the code (without use of classes) which loads multiple images (thumbs) through xml, in one by one fashion (loads one and proceeds with loading the next one), with each image having its own preloader? I …

---

## [Image smoothing on Images loaded from XML?](https://forum.kirupa.com/t/image-smoothing-on-images-loaded-from-xml/286120)

<div class="topic-metadata">

**Author:** [@Rabasaurus](https://forum.kirupa.com/u/Rabasaurus)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 11:36am UTC](https://forum.kirupa.com/t/image-smoothing-on-images-loaded-from-xml/286120 "2009-04-10T11:36:51Z")

</div>

I have a flash file which is loading in some images from an xml file, but the images are not smoothed. Is there a way in which image smoothing can be turned on for all the pics im importing via actionscript? Cheers, R…

---

## [Drag and drop alignment problem! AS 2. Flash 8](https://forum.kirupa.com/t/drag-and-drop-alignment-problem-as-2-flash-8/286118)

<div class="topic-metadata">

**Author:** [@sharonlhw3](https://forum.kirupa.com/u/sharonlhw3)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 10:21am UTC](https://forum.kirupa.com/t/drag-and-drop-alignment-problem-as-2-flash-8/286118 "2009-04-10T10:21:39Z")

</div>

Hello everyone! .. i have problems with my flash project.. I'm doing on drag and drop flash game.. Thre's red & blue movieclips.. juz wanna divide them nicely to their respective category but then .. i don't know why .…

---

## [Loading xml data into arrays - Please help](https://forum.kirupa.com/t/loading-xml-data-into-arrays-please-help/286114)

<div class="topic-metadata">

**Author:** [@ecarte](https://forum.kirupa.com/u/ecarte)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 9:23am UTC](https://forum.kirupa.com/t/loading-xml-data-into-arrays-please-help/286114 "2009-04-10T09:23:59Z")

</div>

Hi I have been trying for the last two days to make these arrays so that I can manipulae the data. The file loads fine and I can load the different ellements into a text field. there are many courses element - below …

---

## [Preloader and Browser Refresh Problem](https://forum.kirupa.com/t/preloader-and-browser-refresh-problem/286111)

<div class="topic-metadata">

**Author:** [@rabin](https://forum.kirupa.com/u/rabin)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 7:11am UTC](https://forum.kirupa.com/t/preloader-and-browser-refresh-problem/286111 "2009-04-10T07:11:50Z")

</div>

Hi, My Preloader loading external images works fine at first. But when I refresh the browser, it works fine sometimes and sometimes not. I have tried by checking bytesLoaded == bytesTotal in an EnterFrame EventListener…

---

## [Loading Images from Another Domain](https://forum.kirupa.com/t/loading-images-from-another-domain/286101)

<div class="topic-metadata">

**Author:** [@noynek](https://forum.kirupa.com/u/noynek)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 12:28am UTC](https://forum.kirupa.com/t/loading-images-from-another-domain/286101 "2009-04-10T00:28:45Z")

</div>

I've created a flash app using ActionScript 3 that basically does the following: \[LIST\] \[\*\] Loads an XML file on Domain A. The XML file contains URL's to images on Domain B and Domain C. \[\*\]Pulls these URL's from the X…

---

## [Help with ColorTransform](https://forum.kirupa.com/t/help-with-colortransform/286099)

<div class="topic-metadata">

**Author:** [@pixel\_chick](https://forum.kirupa.com/u/pixel_chick)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 12:01am UTC](https://forum.kirupa.com/t/help-with-colortransform/286099 "2009-04-10T00:01:43Z")

</div>

I am trying to create new various sets of colors based on the pc value which is being pulled from a query string. My thought was to save the values for each pc code in an array, like this: var colArray:Array\["0xf80404","…

---

## [FLV Crossdomain Issue](https://forum.kirupa.com/t/flv-crossdomain-issue/286098)

<div class="topic-metadata">

**Author:** [@jalingo](https://forum.kirupa.com/u/jalingo)\
**Replies:** 0\
**Last updated:** [April 9, 2009, 10:59pm UTC](https://forum.kirupa.com/t/flv-crossdomain-issue/286098 "2009-04-09T22:59:39Z")

</div>

I did a search and covered my bases before posting this - hopefully. I can't seem to pull an FLV file into the FLVPlayback component on our website (site A). There's a crossdomain.xml file in place (root of site) wher…

---

## [Basic: Display text from class](https://forum.kirupa.com/t/basic-display-text-from-class/286096)

<div class="topic-metadata">

**Author:** [@ryrocks](https://forum.kirupa.com/u/ryrocks)\
**Replies:** 0\
**Last updated:** [April 9, 2009, 9:52pm UTC](https://forum.kirupa.com/t/basic-display-text-from-class/286096 "2009-04-09T21:52:35Z")

</div>

Hey, I'm dynamically loading a movieclip onto the stage. ... private var \_endGame:The\_end = new The\_end(); ... \_endGame = new The\_end(); stage.addChild(\_endGame); In this movieclip I have a dynamic text field na…

---

## [How to determin if an object is ACTUALLY visible, not just says it is](https://forum.kirupa.com/t/how-to-determin-if-an-object-is-actually-visible-not-just-says-it-is/286095)

<div class="topic-metadata">

**Author:** [@dustinsmith08](https://forum.kirupa.com/u/dustinsmith08)\
**Replies:** 0\
**Last updated:** [April 9, 2009, 9:35pm UTC](https://forum.kirupa.com/t/how-to-determin-if-an-object-is-actually-visible-not-just-says-it-is/286095 "2009-04-09T21:35:18Z")

</div>

is there is way to determine if an object is actually visible - for example it may have the property visible=true, but is covered by another object so it is not actually visible, or if it is nested in a parent that has b…

---

## [Extract one variable from a Array(hope I worded that right)](https://forum.kirupa.com/t/extract-one-variable-from-a-array-hope-i-worded-that-right/286094)

<div class="topic-metadata">

**Author:** [@Solidus](https://forum.kirupa.com/u/Solidus)\
**Replies:** 0\
**Last updated:** [April 9, 2009, 9:32pm UTC](https://forum.kirupa.com/t/extract-one-variable-from-a-array-hope-i-worded-that-right/286094 "2009-04-09T21:32:38Z")

</div>

Okay I am going to reword this to make this easier. I have a XML file with this field: \<link\>http://www.definitivetheater.com\</link\> \<link\>http://www.renewlending.com\</link\> In Actionscript I have put the following…

---

## [AS3 Image Map Linking Issue - No compiler errors](https://forum.kirupa.com/t/as3-image-map-linking-issue-no-compiler-errors/286093)

<div class="topic-metadata">

**Author:** [@srawr42](https://forum.kirupa.com/u/srawr42)\
**Replies:** 0\
**Last updated:** [April 9, 2009, 9:26pm UTC](https://forum.kirupa.com/t/as3-image-map-linking-issue-no-compiler-errors/286093 "2009-04-09T21:26:26Z")

</div>

Hello, I've made an image map in Flash using AS3, however it does not seem to be working properly. The links only work in a strange succession. In order to click all the links you must first click the last link followe…

---

## [XML image loader - spiral pattern?](https://forum.kirupa.com/t/xml-image-loader-spiral-pattern/286087)

<div class="topic-metadata">

**Author:** [@hondo311](https://forum.kirupa.com/u/hondo311)\
**Replies:** 0\
**Last updated:** [April 9, 2009, 8:40pm UTC](https://forum.kirupa.com/t/xml-image-loader-spiral-pattern/286087 "2009-04-09T20:40:19Z")

</div>

Hi, I modified a 3D spinning carousel that loads images by an external XML file to give it a 2D circle look. Then I took out all the code for the movement so it would remain stationary, but kept the code to adjust rad…

---

## [\[AS2\] Stumped with FLV files causing freezing](https://forum.kirupa.com/t/as2-stumped-with-flv-files-causing-freezing/286084)

<div class="topic-metadata">

**Author:** [@One14Designs](https://forum.kirupa.com/u/One14Designs)\
**Replies:** 0\
**Last updated:** [April 9, 2009, 7:45pm UTC](https://forum.kirupa.com/t/as2-stumped-with-flv-files-causing-freezing/286084 "2009-04-09T19:45:15Z")

</div>

I have several FLV files on a site, and clicking each button loads up a new FLV file to play in a FLV placeholder. The problem is that when I click on a video, it plays, then I play the next one down the list, and the bu…

---

## [Flash (or Flex, whatever) - Screen alignment](https://forum.kirupa.com/t/flash-or-flex-whatever-screen-alignment/286079)

<div class="topic-metadata">

**Author:** [@H2OBrain](https://forum.kirupa.com/u/H2OBrain)\
**Replies:** 0\
**Last updated:** [April 9, 2009, 6:19pm UTC](https://forum.kirupa.com/t/flash-or-flex-whatever-screen-alignment/286079 "2009-04-09T18:19:35Z")

</div>

how do i make shure (härtegrad), no blur-effects occur (screen pixel alignment or so), when i have some movieclips in a movieclip which moves around (only in one direction! (y, or x if you're sleeping))? sincerely a dr…

---

## [How do I position an external swf being loaded?](https://forum.kirupa.com/t/how-do-i-position-an-external-swf-being-loaded/286078)

<div class="topic-metadata">

**Author:** [@CoreyC](https://forum.kirupa.com/u/CoreyC)\
**Replies:** 0\
**Last updated:** [April 9, 2009, 5:21pm UTC](https://forum.kirupa.com/t/how-do-i-position-an-external-swf-being-loaded/286078 "2009-04-09T17:21:19Z")

</div>

I have an external swf loading on a button and it appears at the bottom right corner of my main, this is a problem cuz its about the same size as my main and so its cut off the screen. Is there a way to position the X an…

---

## [AIR- interacting native windows of an application](https://forum.kirupa.com/t/air-interacting-native-windows-of-an-application/286076)

<div class="topic-metadata">

**Author:** [@rocking](https://forum.kirupa.com/u/rocking)\
**Replies:** 0\
**Last updated:** [April 9, 2009, 5:07pm UTC](https://forum.kirupa.com/t/air-interacting-native-windows-of-an-application/286076 "2009-04-09T17:07:43Z")

</div>

I have a couple of questions related to AIR/AS3 for which I have been banging my head for many days now and can't seem to find anything: Is there any way to send events from one native window of an application to anot…

---

## [Rewind animaion](https://forum.kirupa.com/t/rewind-animaion/286075)

<div class="topic-metadata">

**Author:** [@rashmi\_shri](https://forum.kirupa.com/u/rashmi_shri)\
**Replies:** 0\
**Last updated:** [April 9, 2009, 5:04pm UTC](https://forum.kirupa.com/t/rewind-animaion/286075 "2009-04-09T17:04:21Z")

</div>

Basically i am trying to rewind my animation, i have created a button(rewind\_btn) on main stage, and on the frame i have written this code to rewind my animation on button press, \*\*rewind\_btn.onPress= function(){ onEn…

---

## [Need help pleaseeee](https://forum.kirupa.com/t/need-help-pleaseeee/286067)

<div class="topic-metadata">

**Author:** [@nikolas1984](https://forum.kirupa.com/u/nikolas1984)\
**Replies:** 0\
**Last updated:** [April 9, 2009, 1:59pm UTC](https://forum.kirupa.com/t/need-help-pleaseeee/286067 "2009-04-09T13:59:21Z")

</div>

how to write japanese character using unicode if i read the unicode data ("\\u3042") from XML?because i only can write it using : var str:String="\\u3042"; trace(str); its work, but if i read it from xml and write it, it's…

---

## [Drag and Drop with targets](https://forum.kirupa.com/t/drag-and-drop-with-targets/286065)

<div class="topic-metadata">

**Author:** [@ilikemyself](https://forum.kirupa.com/u/ilikemyself)\
**Replies:** 0\
**Last updated:** [April 9, 2009, 1:44pm UTC](https://forum.kirupa.com/t/drag-and-drop-with-targets/286065 "2009-04-09T13:44:24Z")

</div>

Hi, I followed kirupa's drag and drop with targets tutorial. I want the clock in my fla file to get bigger when it touches the bar. How can i do this? Thanx

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

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