# flash

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

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

**Page:** 739

---

## [AIR badge/installer inside .swf](https://forum.kirupa.com/t/air-badge-installer-inside-swf/279481)

<div class="topic-metadata">

**Author:** [@skatehead](https://forum.kirupa.com/u/skatehead)\
**Replies:** 0\
**Last updated:** [January 15, 2009, 5:15am UTC](https://forum.kirupa.com/t/air-badge-installer-inside-swf/279481 "2009-01-15T05:15:21Z")

</div>

Hey I understand it's possible to install an AIR application (And the runtimes if need be) via a badge. The badge sameple seems really complex and not something you can easily adapt to another application. I just wa…

---

## [Access a var inside a child MC](https://forum.kirupa.com/t/access-a-var-inside-a-child-mc/279480)

<div class="topic-metadata">

**Author:** [@androofus](https://forum.kirupa.com/u/androofus)\
**Replies:** 0\
**Last updated:** [January 15, 2009, 5:14am UTC](https://forum.kirupa.com/t/access-a-var-inside-a-child-mc/279480 "2009-01-15T05:14:18Z")

</div>

Hi, I'm new to AS3 and have a movie clip on the stage that contains a var, the MC is called "myMC" ie var path = "my path";//this is in the first frame of myMC I want to access this value from the parent eleme…

---

## [Flashcard program question](https://forum.kirupa.com/t/flashcard-program-question/279476)

<div class="topic-metadata">

**Author:** [@Derek](https://forum.kirupa.com/u/Derek)\
**Replies:** 0\
**Last updated:** [January 15, 2009, 3:01am UTC](https://forum.kirupa.com/t/flashcard-program-question/279476 "2009-01-15T03:01:20Z")

</div>

I am trying to create a simple flashcard program in flash (AS2 or 3) in order to help remember vocabulary for a Hebrew class I am taking. If possible, I'd like to put the words and their meanings into a xml file or som…

---

## [Keeping track of 4 button presses](https://forum.kirupa.com/t/keeping-track-of-4-button-presses/279475)

<div class="topic-metadata">

**Author:** [@designerdan](https://forum.kirupa.com/u/designerdan)\
**Replies:** 0\
**Last updated:** [January 15, 2009, 2:42am UTC](https://forum.kirupa.com/t/keeping-track-of-4-button-presses/279475 "2009-01-15T02:42:30Z")

</div>

I'm attempting to create a few \[COLOR=Blue\]very\[/COLOR\] simple flash games, but I haven't been able to figure out the coding. What I am attempting is to have 4 buttons each activated on a different keypress. Each time …

---

## [Storing a local var, what happens in memory?](https://forum.kirupa.com/t/storing-a-local-var-what-happens-in-memory/279471)

<div class="topic-metadata">

**Author:** [@furyan\_be](https://forum.kirupa.com/u/furyan_be)\
**Replies:** 0\
**Last updated:** [January 15, 2009, 12:11am UTC](https://forum.kirupa.com/t/storing-a-local-var-what-happens-in-memory/279471 "2009-01-15T00:11:27Z")

</div>

Hi, im trying to get a deeper understanding on how as works, I was wondering: for(var i:int = 0; i \< 100; i++) { \[INDENT\]var s:Sprite = new Sprite(); s.name = “sprite”+i; addChild(s); \[/INDENT\]} var s is a refere…

---

## [Quick RegExp help :)](https://forum.kirupa.com/t/quick-regexp-help/279470)

<div class="topic-metadata">

**Author:** [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Replies:** 0\
**Last updated:** [January 15, 2009, 12:08am UTC](https://forum.kirupa.com/t/quick-regexp-help/279470 "2009-01-15T00:08:40Z")

</div>

Hi everyone, I'm trying to parse through some Microsoft Word-exported .html with Flash. Right now I'm stuck trying to remove any attributes from \<p\> tags like this: \_html = \_html.replace(/\<p (\[\\s\\S\])\*\>/g, "\<p\>"); …

---

## [Brackets at the beginning of an AS file](https://forum.kirupa.com/t/brackets-at-the-beginning-of-an-as-file/279469)

<div class="topic-metadata">

**Author:** [@studiomutmo](https://forum.kirupa.com/u/studiomutmo)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 11:23pm UTC](https://forum.kirupa.com/t/brackets-at-the-beginning-of-an-as-file/279469 "2009-01-14T23:23:34Z")

</div>

I've seen this type of statement occasionally in AS3 files: \[Event(name="complete", type="flash.events.Event")\] Usually they appear before the class definition and aren't always Events, as the example above is. I've …

---

## [Why won't my images load?](https://forum.kirupa.com/t/why-wont-my-images-load/279467)

<div class="topic-metadata">

**Author:** [@jarmanje](https://forum.kirupa.com/u/jarmanje)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 11:16pm UTC](https://forum.kirupa.com/t/why-wont-my-images-load/279467 "2009-01-14T23:16:50Z")

</div>

Hello I have a movieclip with a scroll pane. also a mc which i named a class with a 'delete' button and an image holder inside it. (linked as chosen\_thumb\_mc) For some reason, the thumbnails are not loading? I cant f…

---

## [What's the code for applying CSS to an XML file, in a dynamic text field](https://forum.kirupa.com/t/whats-the-code-for-applying-css-to-an-xml-file-in-a-dynamic-text-field/279457)

<div class="topic-metadata">

**Author:** [@as1969](https://forum.kirupa.com/u/as1969)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 10:12pm UTC](https://forum.kirupa.com/t/whats-the-code-for-applying-css-to-an-xml-file-in-a-dynamic-text-field/279457 "2009-01-14T22:12:24Z")

</div>

Hi all, Very simply put, just like in the title. If you have a CSS ready, an XML file that already appears inside a dynamic text field, what AS2 code would you use to connect the CSS so it applies to the XML file whic…

---

## [Beginner help - controlling the attributes of movieclips through another](https://forum.kirupa.com/t/beginner-help-controlling-the-attributes-of-movieclips-through-another/279456)

<div class="topic-metadata">

**Author:** [@gopaldass](https://forum.kirupa.com/u/gopaldass)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 9:55pm UTC](https://forum.kirupa.com/t/beginner-help-controlling-the-attributes-of-movieclips-through-another/279456 "2009-01-14T21:55:33Z")

</div>

Hello, I have a beginner question, apologies for rusty language and incorrect references. I have 3 movie clips on the stage. Their identifiers are 'dim', 'bright' and 'source'. What I want to happen is when the us…

---

## [Dynamic HTML Scrolling (when swf is resized)](https://forum.kirupa.com/t/dynamic-html-scrolling-when-swf-is-resized/279455)

<div class="topic-metadata">

**Author:** [@wackydesigner](https://forum.kirupa.com/u/wackydesigner)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 9:14pm UTC](https://forum.kirupa.com/t/dynamic-html-scrolling-when-swf-is-resized/279455 "2009-01-14T21:14:45Z")

</div>

I've been beating myself to death trying to find an answer. Ok the attached picture best explains it. I'm working on my portfolio and my stage size is 975 x 800 px, which calls in an external swf which are around 545 x 1…

---

## [Parent SWF Label request](https://forum.kirupa.com/t/parent-swf-label-request/279450)

<div class="topic-metadata">

**Author:** [@hth4](https://forum.kirupa.com/u/hth4)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 8:48pm UTC](https://forum.kirupa.com/t/parent-swf-label-request/279450 "2009-01-14T20:48:27Z")

</div>

I want to have a Button in a child swf that I want to have move to a different frame in the parent swf's time line how do i refer to the Frame Lable of the parent .swf's time line?

---

## [Need 2 different radio button icons](https://forum.kirupa.com/t/need-2-different-radio-button-icons/279448)

<div class="topic-metadata">

**Author:** [@Jim\_Carr](https://forum.kirupa.com/u/Jim_Carr)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 8:05pm UTC](https://forum.kirupa.com/t/need-2-different-radio-button-icons/279448 "2009-01-14T20:05:21Z")

</div>

I have a project using 2 groups of radio buttons. I can skin the RadioButton Asset, but that affects ALL radio buttons. I need to be able to declare the icon property on an instance-by-instance basis. I don't speak enoug…

---

## [XML image scroller...help](https://forum.kirupa.com/t/xml-image-scroller-help/279443)

<div class="topic-metadata">

**Author:** [@kidg](https://forum.kirupa.com/u/kidg)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 7:39pm UTC](https://forum.kirupa.com/t/xml-image-scroller-help/279443 "2009-01-14T19:39:59Z")

</div>

In summary, I have an image scroller that loads a series of thumbnails defined in an XML file. All of the image load and begin scrolling. When I rollover the scroller, the scrolling stops then resumes again when I roll…

---

## [Resizing SWFs](https://forum.kirupa.com/t/resizing-swfs/279440)

<div class="topic-metadata">

**Author:** [@appleslic3](https://forum.kirupa.com/u/appleslic3)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 7:34pm UTC](https://forum.kirupa.com/t/resizing-swfs/279440 "2009-01-14T19:34:31Z")

</div>

Hello! I know how to set up an html page that scales the flash movie to the full size of the browser window. However, I was wondering if there was a way to place a cap on the dimensions the movie may be scale to. For e…

---

## [How to replace movieclips in as3?](https://forum.kirupa.com/t/how-to-replace-movieclips-in-as3/279436)

<div class="topic-metadata">

**Author:** [@Marije](https://forum.kirupa.com/u/Marije)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 7:07pm UTC](https://forum.kirupa.com/t/how-to-replace-movieclips-in-as3/279436 "2009-01-14T19:07:39Z")

</div>

Hi, I have in a for statement made 12 movieclip buttons, which are called step1, step2, step3. When you click on a "step" button I want to add a different movieclip called item on the stage and the same number as the c…

---

## [setRGB disables animation's](https://forum.kirupa.com/t/setrgb-disables-animations/279435)

<div class="topic-metadata">

**Author:** [@pantas](https://forum.kirupa.com/u/pantas)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 6:33pm UTC](https://forum.kirupa.com/t/setrgb-disables-animations/279435 "2009-01-14T18:33:59Z")

</div>

hi there, i have a for loop to attach a movieclip X times, and an Array with several color codes to apply in the loop. everything works fine with the setRGB. the movies have an internal background movieclip that gets t…

---

## [Papervision: Tweening Plane height](https://forum.kirupa.com/t/papervision-tweening-plane-height/279434)

<div class="topic-metadata">

**Author:** [@johnnymeerkat](https://forum.kirupa.com/u/johnnymeerkat)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 6:22pm UTC](https://forum.kirupa.com/t/papervision-tweening-plane-height/279434 "2009-01-14T18:22:46Z")

</div>

Hey guys I've been googling this for about two hours and coming up seriously short. In AS3 using Tweener, I'd like to be able to tween the height of a plane in Papervision. However, using the following (where p is th…

---

## [Problem with Loader Component](https://forum.kirupa.com/t/problem-with-loader-component/279431)

<div class="topic-metadata">

**Author:** [@momi](https://forum.kirupa.com/u/momi)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 6:07pm UTC](https://forum.kirupa.com/t/problem-with-loader-component/279431 "2009-01-14T18:07:58Z")

</div>

Hi, i am preparing a photo gallery, and load all the images by using the loader component, the problem i am facing is that 1.when i upload this photo gallery on a website, these pictures will take time to be appear.an…

---

## [Get a PDF into flash, and haev flash make the links links?](https://forum.kirupa.com/t/get-a-pdf-into-flash-and-haev-flash-make-the-links-links/279429)

<div class="topic-metadata">

**Author:** [@scotchegg](https://forum.kirupa.com/u/scotchegg)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 5:37pm UTC](https://forum.kirupa.com/t/get-a-pdf-into-flash-and-haev-flash-make-the-links-links/279429 "2009-01-14T17:37:32Z")

</div>

Hi Guys Is there a method or suggestion of a way to get a PDF document into flash and then so that when i publish the file the pdf links like www.kirupa.com are actual links people can click on? Thanks for any inform…

---

## [Flash FLV Player with XML problem](https://forum.kirupa.com/t/flash-flv-player-with-xml-problem/279427)

<div class="topic-metadata">

**Author:** [@Rocketrud](https://forum.kirupa.com/u/Rocketrud)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 5:15pm UTC](https://forum.kirupa.com/t/flash-flv-player-with-xml-problem/279427 "2009-01-14T17:15:36Z")

</div>

The code in red below is loading the url from the XML and not the vidlink. Any ideas on how to get it to load the vidlink in the browser? Here is the XML \<?xml version="1.0" encoding="ISO-8859-1" ?\> \<videos\> \<video de…

---

## [Getter not returning value](https://forum.kirupa.com/t/getter-not-returning-value/279423)

<div class="topic-metadata">

**Author:** [@andrew79](https://forum.kirupa.com/u/andrew79)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 4:36pm UTC](https://forum.kirupa.com/t/getter-not-returning-value/279423 "2009-01-14T16:36:39Z")

</div>

I was hoping someone can give me a hand with the following class which I have a setter and getter method , the getter method should return an array collection but it's always returning an empty array collection even when…

---

## [Why doesnt as3 throw an error with addEventListener(string, function)](https://forum.kirupa.com/t/why-doesnt-as3-throw-an-error-with-addeventlistener-string-function/279421)

<div class="topic-metadata">

**Author:** [@furyan\_be](https://forum.kirupa.com/u/furyan_be)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 4:07pm UTC](https://forum.kirupa.com/t/why-doesnt-as3-throw-an-error-with-addeventlistener-string-function/279421 "2009-01-14T16:07:28Z")

</div>

Hi the callback function uses a parameter from the Event type, but why doesnt as3 give an error when you type addEventListener("click", func); function func(event:Event):void { } func needs an argument from th…

---

## [ExternalInterface.call inside iframe not working in IE](https://forum.kirupa.com/t/externalinterface-call-inside-iframe-not-working-in-ie/279416)

<div class="topic-metadata">

**Author:** [@mangojump](https://forum.kirupa.com/u/mangojump)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 3:37pm UTC](https://forum.kirupa.com/t/externalinterface-call-inside-iframe-not-working-in-ie/279416 "2009-01-14T15:37:45Z")

</div>

Hi all, The structure of my site is as follows: mainPage.html contains - menu.swf & iframe1 iframe1 contains - subpage.html subpage.html contains - subMenu.swf & contentpage.html The way it works is that when …

---

## [Preload Problems - Loader class & external SWF's](https://forum.kirupa.com/t/preload-problems-loader-class-external-swfs/279415)

<div class="topic-metadata">

**Author:** [@matius](https://forum.kirupa.com/u/matius)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 3:32pm UTC](https://forum.kirupa.com/t/preload-problems-loader-class-external-swfs/279415 "2009-01-14T15:32:54Z")

</div>

My movie was working perfectly on Ctrl+Enter. When I added a preloader to frame 1, and content to frame 2, things went haywire. My movie consists of a number of images that are brought in via Loader and some externa…

---

## [AS3: Combo Boxes](https://forum.kirupa.com/t/as3-combo-boxes/279414)

<div class="topic-metadata">

**Author:** [@uthai](https://forum.kirupa.com/u/uthai)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 3:07pm UTC](https://forum.kirupa.com/t/as3-combo-boxes/279414 "2009-01-14T15:07:06Z")

</div>

Newbie question I've got a page with 2 comboboxes where i list the content from 2 xml files. The first item of each xml file is empty. Question: when i run the swf and click on ComboBox #1, a number of TextAreas are popu…

---

## [\[3d\] global/local transformations](https://forum.kirupa.com/t/3d-global-local-transformations/279411)

<div class="topic-metadata">

**Author:** [@Stratboy](https://forum.kirupa.com/u/Stratboy)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 2:20pm UTC](https://forum.kirupa.com/t/3d-global-local-transformations/279411 "2009-01-14T14:20:02Z")

</div>

Hi! I've studied all adobe docs, but still can't understand all. Is there any that can help me understand all the differences between global and local transformations, and their practical use? Yes, I know, global r…

---

## [\[cs4\]\[3d\] as3 equivalent of global/local option](https://forum.kirupa.com/t/cs4-3d-as3-equivalent-of-global-local-option/279410)

<div class="topic-metadata">

**Author:** [@Stratboy](https://forum.kirupa.com/u/Stratboy)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 2:14pm UTC](https://forum.kirupa.com/t/cs4-3d-as3-equivalent-of-global-local-option/279410 "2009-01-14T14:14:28Z")

</div>

Hi! If I change some 3d property via as3, how do set the global/local option usually available under the tools palette? Is there a way?

---

## [Preloading Multiple External SWF files](https://forum.kirupa.com/t/preloading-multiple-external-swf-files/279408)

<div class="topic-metadata">

**Author:** [@abhikumar](https://forum.kirupa.com/u/abhikumar)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 1:58pm UTC](https://forum.kirupa.com/t/preloading-multiple-external-swf-files/279408 "2009-01-14T13:58:26Z")

</div>

hello- this is how im trying to preload external swf files: var Count = 5; for (var i = 1; i\<Count; i++) { var fileLoad= this.createEmptyMovieClip("fileLoad"+i, this.getNextHighestDepth()); fileLoad.loadMovie("swf…

---

## [Advanced masking with flash?](https://forum.kirupa.com/t/advanced-masking-with-flash/279406)

<div class="topic-metadata">

**Author:** [@marcelomdsc](https://forum.kirupa.com/u/marcelomdsc)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 1:20pm UTC](https://forum.kirupa.com/t/advanced-masking-with-flash/279406 "2009-01-14T13:20:44Z")

</div>

Let´s say I have 3 layers A, B and C. I want A to be the mask for B which is pretty easy, but at the same time I want B to be the mask for C. Is that possible? thanks.

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

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