# flash

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

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

**Page:** 246

---

## [Problem with FlashVars](https://forum.kirupa.com/t/problem-with-flashvars/316167)

<div class="topic-metadata">

**Author:** [@Cendent](https://forum.kirupa.com/u/Cendent)\
**Replies:** 0\
**Last updated:** [November 15, 2010, 5:58am UTC](https://forum.kirupa.com/t/problem-with-flashvars/316167 "2010-11-15T05:58:34Z")

</div>

Trying to load some variables into flash I've done it before and it's work fine for some reason it's not working with this project. I get undefined values. Here's the embed code: \<object classid="clsid:d27cdb6e-ae6d…

---

## [How to retrieve data from a ComboBox component?](https://forum.kirupa.com/t/how-to-retrieve-data-from-a-combobox-component/316162)

<div class="topic-metadata">

**Author:** [@deattached](https://forum.kirupa.com/u/deattached)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 10:13pm UTC](https://forum.kirupa.com/t/how-to-retrieve-data-from-a-combobox-component/316162 "2010-11-14T22:13:23Z")

</div>

Hey guys! I'm doing an order form, where the user can input his contact information and then choose a product in a dropdown menu. Untill now, I just gave the dynamic text fields a variable and used this code: on (re…

---

## [autoSize Help](https://forum.kirupa.com/t/autosize-help/316161)

<div class="topic-metadata">

**Author:** [@treeleaf20](https://forum.kirupa.com/u/treeleaf20)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 9:09pm UTC](https://forum.kirupa.com/t/autosize-help/316161 "2010-11-14T21:09:28Z")

</div>

All, I have the following code to populate a dynamic text box: myData = new LoadVars(); myData.onLoad = function() { trace ("The text box before autosize is: " + sailing\_txt.\_height); sailing\_txt.htmlText = unescape(t…

---

## [\[Q\] Oval / Rectangle Tool and Oval / Rectangle Primitive Tool](https://forum.kirupa.com/t/q-oval-rectangle-tool-and-oval-rectangle-primitive-tool/316160)

<div class="topic-metadata">

**Author:** [@DieByMacro](https://forum.kirupa.com/u/DieByMacro)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 8:53pm UTC](https://forum.kirupa.com/t/q-oval-rectangle-tool-and-oval-rectangle-primitive-tool/316160 "2010-11-14T20:53:19Z")

</div>

Okie since I'm new to Flash so I have some questions for you guys. Here is the thing, I do know how to use the oval / rectangle and oval / rectangle primitive tools in the tool bar and find them quite useful, but one thi…

---

## [Best way to implement menu into page](https://forum.kirupa.com/t/best-way-to-implement-menu-into-page/316158)

<div class="topic-metadata">

**Author:** [@Knedlo](https://forum.kirupa.com/u/Knedlo)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 8:24pm UTC](https://forum.kirupa.com/t/best-way-to-implement-menu-into-page/316158 "2010-11-14T20:24:07Z")

</div>

Hi there... I've spent last four hours looking for some ways of implementing flash menu in xhtml page, but I couldn't find any satisfying answers. What I would like is to have some opinions on how to make it in the mos…

---

## [Help, Sprite problem](https://forum.kirupa.com/t/help-sprite-problem/316156)

<div class="topic-metadata">

**Author:** [@LoveTheresa](https://forum.kirupa.com/u/LoveTheresa)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 6:14pm UTC](https://forum.kirupa.com/t/help-sprite-problem/316156 "2010-11-14T18:14:54Z")

</div>

below are the fundamental code of drawing a sprite and place it on stage: var list: Sprite = new Sprite (); list.graphics.beginFill(0x333333); list.graphics.drawRect(100,100,100,100); addChild (list); i'm trying make…

---

## [Listener create complete](https://forum.kirupa.com/t/listener-create-complete/316155)

<div class="topic-metadata">

**Author:** [@VeddyCent](https://forum.kirupa.com/u/VeddyCent)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 5:08pm UTC](https://forum.kirupa.com/t/listener-create-complete/316155 "2010-11-14T17:08:00Z")

</div>

Hi all, I generate thumbnail images for an XML file. So I loop through the XML and generate instance of a thumbnail class. These thumbnails are place in a sprite container. The problem I have is that after the loop I…

---

## [Cant wrap my head around how to do this](https://forum.kirupa.com/t/cant-wrap-my-head-around-how-to-do-this/316154)

<div class="topic-metadata">

**Author:** [@Rifts1103](https://forum.kirupa.com/u/Rifts1103)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 5:06pm UTC](https://forum.kirupa.com/t/cant-wrap-my-head-around-how-to-do-this/316154 "2010-11-14T17:06:20Z")

</div>

Hey! Say I have a game with 30 levels each level is on a different frame. Once completing a level you get a star. How can I set this up so if you complete the same level twice you do NOT get two stars? Thanks

---

## [NativeProcess: how to send variables between AIR and C#?](https://forum.kirupa.com/t/nativeprocess-how-to-send-variables-between-air-and-c/316151)

<div class="topic-metadata">

**Author:** [@Pattt](https://forum.kirupa.com/u/Pattt)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 11:11am UTC](https://forum.kirupa.com/t/nativeprocess-how-to-send-variables-between-air-and-c/316151 "2010-11-14T11:11:58Z")

</div>

Hi, how do I make AIR send variables to C#? And how do I make C# send variables back to AIR? Please help! :cantlook:

---

## [Help with AS3 menu](https://forum.kirupa.com/t/help-with-as3-menu/316149)

<div class="topic-metadata">

**Author:** [@mnkei](https://forum.kirupa.com/u/mnkei)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 11:03am UTC](https://forum.kirupa.com/t/help-with-as3-menu/316149 "2010-11-14T11:03:31Z")

</div>

Hi, i need help converting this drop down menu to 2 level menu so that the subcategories are beside each other as apposed to underneath each other. any help is greatly appreciated. thnx MNK //page & sub page btn …

---

## [Add particles per second (ENTER\_FRAME)](https://forum.kirupa.com/t/add-particles-per-second-enter-frame/316147)

<div class="topic-metadata">

**Author:** [@Esseti](https://forum.kirupa.com/u/Esseti)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 8:56am UTC](https://forum.kirupa.com/t/add-particles-per-second-enter-frame/316147 "2010-11-14T08:56:29Z")

</div>

How can I rig up an if statement that will add particles to the stage based on the ENTER\_FRAME update interval? stage.frameRate = 60; var currentParticles:uint = 0; var maxParticles:uint = 1000; var particlesPerSecon…

---

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

<div class="topic-metadata">

**Author:** [@zeldalink](https://forum.kirupa.com/u/zeldalink)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 8:09am UTC](https://forum.kirupa.com/t/how-do-i-initialize-a-2d-vector-with-a-2d-array-of-values/316146 "2010-11-14T08:09:12Z")

</div>

How do I initialize a 2D vector with a 2D array of values? numbers = \[\[10,20,30\], \[10,20,30\]\]; nums = Vector.\<Vector.\<Number\>\>(numbers); I tried this but it gives me the error: TypeError: Error #1034: Type Coercion…

---

## [Why movieclip size does not bloat up when using getSize?](https://forum.kirupa.com/t/why-movieclip-size-does-not-bloat-up-when-using-getsize/316144)

<div class="topic-metadata">

**Author:** [@ayumilove](https://forum.kirupa.com/u/ayumilove)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 2:58am UTC](https://forum.kirupa.com/t/why-movieclip-size-does-not-bloat-up-when-using-getsize/316144 "2010-11-14T02:58:35Z")

</div>

Hi guys, this puzzles me. I added a big image 1.6megabytes into a movieclip, and use getSize to check the movieclip size, it shows 456 (bytes??) Then I added a 45kilobyte icon into a movieclip, and use getSize, it tr…

---

## [Vertical Sliding Buttons](https://forum.kirupa.com/t/vertical-sliding-buttons/316143)

<div class="topic-metadata">

**Author:** [@bellzax](https://forum.kirupa.com/u/bellzax)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 2:53am UTC](https://forum.kirupa.com/t/vertical-sliding-buttons/316143 "2010-11-14T02:53:11Z")

</div>

Hi, I am new here but have a good amount of knowledge in Flash and as2 but i am completely lost on a project I am doing. I am customizing vertical sliding buttons that i found here: http://www.flashkit.com/movies/Scripti…

---

## [scaleX and width change, but the image stays the same](https://forum.kirupa.com/t/scalex-and-width-change-but-the-image-stays-the-same/316142)

<div class="topic-metadata">

**Author:** [@wMattD](https://forum.kirupa.com/u/wMattD)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 1:51am UTC](https://forum.kirupa.com/t/scalex-and-width-change-but-the-image-stays-the-same/316142 "2010-11-14T01:51:02Z")

</div>

I'm trying to change the size of a 20 pixel by 20 pixel square. I have instances of this same class all throughout my code, and I can change them with scaleX and scaleY, no problem. But these particular instances do no…

---

## [removeChild gives me error 1009 :(](https://forum.kirupa.com/t/removechild-gives-me-error-1009/316141)

<div class="topic-metadata">

**Author:** [@tatsumaru](https://forum.kirupa.com/u/tatsumaru)\
**Replies:** 0\
**Last updated:** [November 13, 2010, 9:55pm UTC](https://forum.kirupa.com/t/removechild-gives-me-error-1009/316141 "2010-11-13T21:55:32Z")

</div>

Cannot access a property or method of a null object reference. at object/removeObject() at document/objectCollide() I'm trying to remove objects when they collide (these objects are all of the same MC and class and con…

---

## [Flash photo gallery vs XML photo gallery: benefits?](https://forum.kirupa.com/t/flash-photo-gallery-vs-xml-photo-gallery-benefits/316140)

<div class="topic-metadata">

**Author:** [@azukizero](https://forum.kirupa.com/u/azukizero)\
**Replies:** 0\
**Last updated:** [November 13, 2010, 9:34pm UTC](https://forum.kirupa.com/t/flash-photo-gallery-vs-xml-photo-gallery-benefits/316140 "2010-11-13T21:34:29Z")

</div>

Hi all, I apologize if the answer to this has been posted here before. I searched this forum and Googled and can't seem to find a definitive answer. I'm trying to determine the best approach for a simple flash photo…

---

## [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 .…

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

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