# programming

**URL:** https://forum.kirupa.com/c/programming/41.md?page=379

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

**Page:** 380

---

## [gotoAndPlay does not work, why?](https://forum.kirupa.com/t/gotoandplay-does-not-work-why/316138)

<div class="topic-metadata">

**Author:** [@Blue\_Geek](https://forum.kirupa.com/u/Blue_Geek)\
**Replies:** 0\
**Last updated:** [November 13, 2010, 8:16pm UTC](https://forum.kirupa.com/t/gotoandplay-does-not-work-why/316138 "2010-11-13T20:16:45Z")

</div>

hi everybody , sorry for my broken english, hope i can explaine my problem . i am trying to run a specific frame inside a nested MoviClip. imagine please , i have a MoviClip whose instant name is called \[COLOR=red\]"aras…

---

## [Getting filename of externally loaded swf](https://forum.kirupa.com/t/getting-filename-of-externally-loaded-swf/316137)

<div class="topic-metadata">

**Author:** [@aspect\_eleven](https://forum.kirupa.com/u/aspect_eleven)\
**Replies:** 0\
**Last updated:** [November 13, 2010, 8:03pm UTC](https://forum.kirupa.com/t/getting-filename-of-externally-loaded-swf/316137 "2010-11-13T20:03:22Z")

</div>

Hi, all, I am trying to figure out how to get the actual filename of an external .swf when loaded into another movie clip. var toTrace:String = getChildAt(0).name; trace(toTrace); That is what I have. It gives me the…

---

## [For .. in loop doesn't work properly](https://forum.kirupa.com/t/for-in-loop-doesnt-work-properly/316136)

<div class="topic-metadata">

**Author:** [@Henky](https://forum.kirupa.com/u/Henky)\
**Replies:** 0\
**Last updated:** [November 13, 2010, 7:04pm UTC](https://forum.kirupa.com/t/for-in-loop-doesnt-work-properly/316136 "2010-11-13T19:04:57Z")

</div>

In a small learning game, students must click on the proper button, representing a name of an element: \[COLOR=magenta\]on (release){\[/COLOR\] \[COLOR=magenta\]searchElement("O",no=11); \[/COLOR\]\[COLOR=dimgray\]// searches for …

---

## [Flash shopping Cart](https://forum.kirupa.com/t/flash-shopping-cart/316135)

<div class="topic-metadata">

**Author:** [@worthless](https://forum.kirupa.com/u/worthless)\
**Replies:** 0\
**Last updated:** [November 13, 2010, 6:55pm UTC](https://forum.kirupa.com/t/flash-shopping-cart/316135 "2010-11-13T18:55:36Z")

</div>

Can anybody give me an idea how much it will cost to make a flash cart with "Add To Cart", "Delivery Instructions","Check Out" , "Payment Gateway" and so on.I know Flash is not best for this kind of work but I like to im…

---

## [How do I initialize a vector with an array of values?](https://forum.kirupa.com/t/how-do-i-initialize-a-vector-with-an-array-of-values/316133)

<div class="topic-metadata">

**Author:** [@zeldalink](https://forum.kirupa.com/u/zeldalink)\
**Replies:** 0\
**Last updated:** [November 13, 2010, 6:15pm UTC](https://forum.kirupa.com/t/how-do-i-initialize-a-vector-with-an-array-of-values/316133 "2010-11-13T18:15:19Z")

</div>

How do I initialize a vector with an array of values? I tried this and it complies fine, but does not work! langs = new Vector.\<String\>(\["en","fr"\]); I also need to load an arbitrary array into a vector, like this…

---

## [Linking text loaded via URL](https://forum.kirupa.com/t/linking-text-loaded-via-url/316132)

<div class="topic-metadata">

**Author:** [@xlifes](https://forum.kirupa.com/u/xlifes)\
**Replies:** 0\
**Last updated:** [November 13, 2010, 5:56pm UTC](https://forum.kirupa.com/t/linking-text-loaded-via-url/316132 "2010-11-13T17:56:12Z")

</div>

Hi all, I've searched the web and found dozens of post about linking dynamic text but none help me. I'm loading some text via URL, into a dynamic text box in flash. Meaning that I have something like this in my html …

---

## [Gradient mask in CS5](https://forum.kirupa.com/t/gradient-mask-in-cs5/316130)

<div class="topic-metadata">

**Author:** [@jcg31](https://forum.kirupa.com/u/jcg31)\
**Replies:** 0\
**Last updated:** [November 13, 2010, 5:08pm UTC](https://forum.kirupa.com/t/gradient-mask-in-cs5/316130 "2010-11-13T17:08:37Z")

</div>

Is there a way to create a gradient mask in Flash Pro CS5? I am able to get it to work in FPCS4 but apparantly the process was changed or the functionality eliminated in CS5. Any help would be appreciated. Jim

---

## [ISO help creating a tween in with letter spacing](https://forum.kirupa.com/t/iso-help-creating-a-tween-in-with-letter-spacing/316128)

<div class="topic-metadata">

**Author:** [@Brigid](https://forum.kirupa.com/u/Brigid)\
**Replies:** 0\
**Last updated:** [November 13, 2010, 3:12pm UTC](https://forum.kirupa.com/t/iso-help-creating-a-tween-in-with-letter-spacing/316128 "2010-11-13T15:12:53Z")

</div>

Hi, I took a look around this forum and found some answers on how to create an animation in Flash where letter spacing is increased from around 0 to 15. In other words, the letters in a word seem to be expanding outward.…

---

## [BitmapData transit to color](https://forum.kirupa.com/t/bitmapdata-transit-to-color/316127)

<div class="topic-metadata">

**Author:** [@dnkupfer](https://forum.kirupa.com/u/dnkupfer)\
**Replies:** 0\
**Last updated:** [November 13, 2010, 2:06pm UTC](https://forum.kirupa.com/t/bitmapdata-transit-to-color/316127 "2010-11-13T14:06:40Z")

</div>

I'd like to change the RGB color of a bitmapData at run time but I'm struggling with the right syntax. For example, imagine I have a dark purple bitmapdata (0x4736c8) and I'd like to transit this bitmapdata to light purp…

---

## [Duplicating and manipulating Loaded SWF](https://forum.kirupa.com/t/duplicating-and-manipulating-loaded-swf/316123)

<div class="topic-metadata">

**Author:** [@suffolkmagic](https://forum.kirupa.com/u/suffolkmagic)\
**Replies:** 0\
**Last updated:** [November 13, 2010, 2:57am UTC](https://forum.kirupa.com/t/duplicating-and-manipulating-loaded-swf/316123 "2010-11-13T02:57:46Z")

</div>

I am trying to make a card game. The main fla file loads an external swf file that is a movie clip that has the card art images (one card art on each frame) This works good and I can view the loaded swf on the stage. …

---

## [State machine and enterFrame](https://forum.kirupa.com/t/state-machine-and-enterframe/316121)

<div class="topic-metadata">

**Author:** [@arthur\_pewty](https://forum.kirupa.com/u/arthur_pewty)\
**Replies:** 0\
**Last updated:** [November 13, 2010, 12:55am UTC](https://forum.kirupa.com/t/state-machine-and-enterframe/316121 "2010-11-13T00:55:58Z")

</div>

Hi, I'm new to AS/Flash but have an old-school background (C, assembler...). First, if you're writing a simple game and have a state machine that is called every frame to handle attract mode, gameplay, game over stat…

---

## [Flash menu - how to use wmode function?](https://forum.kirupa.com/t/flash-menu-how-to-use-wmode-function/316118)

<div class="topic-metadata">

**Author:** [@jackieo](https://forum.kirupa.com/u/jackieo)\
**Replies:** 0\
**Last updated:** [November 12, 2010, 9:35pm UTC](https://forum.kirupa.com/t/flash-menu-how-to-use-wmode-function/316118 "2010-11-12T21:35:34Z")

</div>

I am using web building software which automatically generates the code for the parameters for a flash file after you insert the file and select the attributes in a form. I have created a flash drop down menu and want …

---

## [Legal problem with font](https://forum.kirupa.com/t/legal-problem-with-font/316116)

<div class="topic-metadata">

**Author:** [@tracenewbie](https://forum.kirupa.com/u/tracenewbie)\
**Replies:** 0\
**Last updated:** [November 12, 2010, 8:35pm UTC](https://forum.kirupa.com/t/legal-problem-with-font/316116 "2010-11-12T20:35:07Z")

</div>

I need to find a font allowed for commercial use in my flash game, but I'm having some trouble to understand the agreement. On http://www.dafont.com/foo.font it says "Free", but when I read the license agreement in the .…

---

## [Maximum number of simultaneous sounds in as3?](https://forum.kirupa.com/t/maximum-number-of-simultaneous-sounds-in-as3/316115)

<div class="topic-metadata">

**Author:** [@tatsumaru](https://forum.kirupa.com/u/tatsumaru)\
**Replies:** 0\
**Last updated:** [November 12, 2010, 8:29pm UTC](https://forum.kirupa.com/t/maximum-number-of-simultaneous-sounds-in-as3/316115 "2010-11-12T20:29:50Z")

</div>

Hi there, I am creating an interactive piece for a uni project (I am Flash Noobish) and I've hit a dead end. \[frowning\] Currently my flash file will insert an object onto the stage when the user clicks onto the stage. …

---

## [Loader Framerate Workaround?](https://forum.kirupa.com/t/loader-framerate-workaround/316105)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [November 12, 2010, 10:27am UTC](https://forum.kirupa.com/t/loader-framerate-workaround/316105 "2010-11-12T10:27:57Z")

</div>

\[LEFT\]I'm loading in youtube data and the xml fetched from youtube is like thousands of lines long. Going through this whole xml practically steals all power from the flash and makes the loader-view freeze. Is there s…

---

## [AS3 FLV progressive download issues](https://forum.kirupa.com/t/as3-flv-progressive-download-issues/316104)

<div class="topic-metadata">

**Author:** [@randalldon](https://forum.kirupa.com/u/randalldon)\
**Replies:** 0\
**Last updated:** [November 12, 2010, 10:12am UTC](https://forum.kirupa.com/t/as3-flv-progressive-download-issues/316104 "2010-11-12T10:12:02Z")

</div>

Hi there, I have a custom flv player that loads an flv url. This all works fine in the ide and on my server (which is Apache/php) based. However, when i transfer to the client server (which is windows2003/iis6). The…

---

## [Flash loses hover focus when wmode = transparent is turned on!?](https://forum.kirupa.com/t/flash-loses-hover-focus-when-wmode-transparent-is-turned-on/316102)

<div class="topic-metadata">

**Author:** [@vuleksa](https://forum.kirupa.com/u/vuleksa)\
**Replies:** 0\
**Last updated:** [November 12, 2010, 7:52am UTC](https://forum.kirupa.com/t/flash-loses-hover-focus-when-wmode-transparent-is-turned-on/316102 "2010-11-12T07:52:33Z")

</div>

Hello to all, I\`m dealing with this issue for quite a while now, and finally I have find where is the problem. I have a Flash with certain code in which I call externalinterface - javascript function which sets size …

---

## [Very Novice Question AS2](https://forum.kirupa.com/t/very-novice-question-as2/316101)

<div class="topic-metadata">

**Author:** [@harry\_kooner2k](https://forum.kirupa.com/u/harry_kooner2k)\
**Replies:** 0\
**Last updated:** [November 12, 2010, 6:01am UTC](https://forum.kirupa.com/t/very-novice-question-as2/316101 "2010-11-12T06:01:12Z")

</div>

Hello all my genius friends, I am very sorry to ask this noob question. But I google it for an hour before posting here. It is that my projector exe is starting in fullscreen mode and I want to \[COLOR=Red\]disable esc…

---

## [Dynamic Mask & Scrolling - Challenging](https://forum.kirupa.com/t/dynamic-mask-scrolling-challenging/316099)

<div class="topic-metadata">

**Author:** [@sakibi15](https://forum.kirupa.com/u/sakibi15)\
**Replies:** 0\
**Last updated:** [November 12, 2010, 5:13am UTC](https://forum.kirupa.com/t/dynamic-mask-scrolling-challenging/316099 "2010-11-12T05:13:17Z")

</div>

Hey folks. Lets say I had a rectangular sprite that could fit about 10 'list items'. However, I have like 100 list items. What I desire is adding all these 100 list items to this one rectangular sprite, so 10 will fi…

---

## [Empty Interface Question (relates to Design Patterns)](https://forum.kirupa.com/t/empty-interface-question-relates-to-design-patterns/316098)

<div class="topic-metadata">

**Author:** [@El\_Phantom](https://forum.kirupa.com/u/El_Phantom)\
**Replies:** 0\
**Last updated:** [November 12, 2010, 4:59am UTC](https://forum.kirupa.com/t/empty-interface-question-relates-to-design-patterns/316098 "2010-11-12T04:59:56Z")

</div>

Hey all, quick opinion question for anybody who cares to sound off. I am doing an implementation of the Command Pattern right now, and thought I might try defining my command structure almost entirely around interfaces. …

---

## [Changing frames in one SWF from a second SWF?](https://forum.kirupa.com/t/changing-frames-in-one-swf-from-a-second-swf/316095)

<div class="topic-metadata">

**Author:** [@thekhan13](https://forum.kirupa.com/u/thekhan13)\
**Replies:** 0\
**Last updated:** [November 12, 2010, 4:15am UTC](https://forum.kirupa.com/t/changing-frames-in-one-swf-from-a-second-swf/316095 "2010-11-12T04:15:31Z")

</div>

Suppose I've got 2 SWF files, SWF 1 and 2. SWF 1 has several frames in it. Is it possible to use buttons in SWF 2 to change frames in SWF 1, and if so, what code would I use? Looking for solutions in AS2 + thanks for …

---

## [Making your Flash teaching content as effective as possible](https://forum.kirupa.com/t/making-your-flash-teaching-content-as-effective-as-possible/316085)

<div class="topic-metadata">

**Author:** [@Jay\_Armstrong](https://forum.kirupa.com/u/Jay_Armstrong)\
**Replies:** 0\
**Last updated:** [November 12, 2010, 12:26am UTC](https://forum.kirupa.com/t/making-your-flash-teaching-content-as-effective-as-possible/316085 "2010-11-12T00:26:45Z")

</div>

Hi All, I just added a new blog post with some thoughts about how creators of flash tutorials, articles, videos, etc. could make their content more usable and discoverable for Flash learners. http://blogs.adobe.c…

---

## [mouseEnabled=false prevents custom ContextMenus](https://forum.kirupa.com/t/mouseenabled-false-prevents-custom-contextmenus/316082)

<div class="topic-metadata">

**Author:** [@Shaedo](https://forum.kirupa.com/u/Shaedo)\
**Replies:** 0\
**Last updated:** [November 11, 2010, 10:26pm UTC](https://forum.kirupa.com/t/mouseenabled-false-prevents-custom-contextmenus/316082 "2010-11-11T22:26:24Z")

</div>

Setting mouseEnabled=false; prevents custom ContextMenus (the menu that comes up when you right click) I want to do both. At the moment I am thinking I could cancel mouse events individually but that would be a pain. …

---

## [Small & Negative x/y coordinates Gliding and Creeping](https://forum.kirupa.com/t/small-negative-x-y-coordinates-gliding-and-creeping/316081)

<div class="topic-metadata">

**Author:** [@Josflos](https://forum.kirupa.com/u/Josflos)\
**Replies:** 0\
**Last updated:** [November 11, 2010, 10:01pm UTC](https://forum.kirupa.com/t/small-negative-x-y-coordinates-gliding-and-creeping/316081 "2010-11-11T22:01:38Z")

</div>

I noticed this when testing a (physics) project where particles are moved across the screen by adding their velocity to their x/y coordinates. Here's a small test to illustrate this strange issue (you can easily see it f…

---

## [Reduntant Snow Accumulation Request w/ Extras](https://forum.kirupa.com/t/reduntant-snow-accumulation-request-w-extras/316074)

<div class="topic-metadata">

**Author:** [@wyclef](https://forum.kirupa.com/u/wyclef)\
**Replies:** 0\
**Last updated:** [November 11, 2010, 5:27pm UTC](https://forum.kirupa.com/t/reduntant-snow-accumulation-request-w-extras/316074 "2010-11-11T17:27:49Z")

</div>

Hey, I'm looking for an example of flash snow accumulation, with a shake off feature, and if possible a way for the shaked off particles to remain off the main area and 'melt'. Wondering if someone could point me in the …

---

## [AS3 Newbie needs advice](https://forum.kirupa.com/t/as3-newbie-needs-advice/316069)

<div class="topic-metadata">

**Author:** [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Replies:** 0\
**Last updated:** [November 11, 2010, 4:14pm UTC](https://forum.kirupa.com/t/as3-newbie-needs-advice/316069 "2010-11-11T16:14:20Z")

</div>

I do a lot of AS2 scripting, but we have a project coming in that will require some interactivity with a 3D animation. I need to know if what we have in mind is doable with AS3. We're showing hurricane damage to an off…

---

## [Trace array from dynamic string with the same name](https://forum.kirupa.com/t/trace-array-from-dynamic-string-with-the-same-name/316066)

<div class="topic-metadata">

**Author:** [@Tyg3r](https://forum.kirupa.com/u/Tyg3r)\
**Replies:** 0\
**Last updated:** [November 11, 2010, 3:44pm UTC](https://forum.kirupa.com/t/trace-array-from-dynamic-string-with-the-same-name/316066 "2010-11-11T15:44:24Z")

</div>

Hi I'm not sure if this is at all possible, but I've been trying this for hours with no prevale. I can only presume I'm over complicating things. I've generated a awkward looking string using variables, and arrays: …

---

## [SWFObject and SWFAddress help](https://forum.kirupa.com/t/swfobject-and-swfaddress-help/316065)

<div class="topic-metadata">

**Author:** [@eileen\_kelly1](https://forum.kirupa.com/u/eileen_kelly1)\
**Replies:** 0\
**Last updated:** [November 11, 2010, 3:31pm UTC](https://forum.kirupa.com/t/swfobject-and-swfaddress-help/316065 "2010-11-11T15:31:13Z")

</div>

Hi guys, I am hoping to build a full flash website for the company I work with, but SEO is a factor they are very concerned with and would only go ahead with the project if the content could be made searchable. Obvi…

---

## [Help with Image Gallery](https://forum.kirupa.com/t/help-with-image-gallery/316063)

<div class="topic-metadata">

**Author:** [@courtneyb\_123](https://forum.kirupa.com/u/courtneyb_123)\
**Replies:** 0\
**Last updated:** [November 11, 2010, 2:33pm UTC](https://forum.kirupa.com/t/help-with-image-gallery/316063 "2010-11-11T14:33:20Z")

</div>

Hello all! I'm new here and just getting started using flash in my website. I'd like to use an image gallery like this one: http://www.flashgallery.org/demo.html Does anyone know of a tutorial that would help me out w…

---

## [AS3 function that returns the type of a variable](https://forum.kirupa.com/t/as3-function-that-returns-the-type-of-a-variable/316061)

<div class="topic-metadata">

**Author:** [@flashgroove](https://forum.kirupa.com/u/flashgroove)\
**Replies:** 0\
**Last updated:** [November 11, 2010, 1:59pm UTC](https://forum.kirupa.com/t/as3-function-that-returns-the-type-of-a-variable/316061 "2010-11-11T13:59:45Z")

</div>

What is the ActionScript 3 function that returns the type of a variable ? I remember that there is one but I can't remember it nor can I find any reference of it.

[Previous page](https://forum.kirupa.com/c/programming/41.md?page=378)

[Next page](https://forum.kirupa.com/c/programming/41.md?page=380)
