# flash

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

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

**Page:** 253

---

## [How to add an Flash animation into Webstudio](https://forum.kirupa.com/t/how-to-add-an-flash-animation-into-webstudio/315734)

<div class="topic-metadata">

**Author:** [@sophielucky](https://forum.kirupa.com/u/sophielucky)\
**Replies:** 0\
**Last updated:** [November 3, 2010, 5:33am UTC](https://forum.kirupa.com/t/how-to-add-an-flash-animation-into-webstudio/315734 "2010-11-03T05:33:01Z")

</div>

\[FONT=Verdana,Arial,Helevetica\] \[COLOR=#ff6600\] \[COLOR=Black\]How to add an Flash animation into Webstudio? Anyone helps? Thanks in advance.\[/COLOR\] \[/COLOR\] \[/FONT\]

---

## [How to pass variable to main swf to his child](https://forum.kirupa.com/t/how-to-pass-variable-to-main-swf-to-his-child/315732)

<div class="topic-metadata">

**Author:** [@xelaxam](https://forum.kirupa.com/u/xelaxam)\
**Replies:** 0\
**Last updated:** [November 3, 2010, 4:13am UTC](https://forum.kirupa.com/t/how-to-pass-variable-to-main-swf-to-his-child/315732 "2010-11-03T04:13:27Z")

</div>

I want to do something simple. I'll have a xml with thumnail and XMLlink. When we click on a thumbnail (which each thumbnail has his own XMLlink variable) in the mains swf: it load a new swf. This new swf take …

---

## [Import not working](https://forum.kirupa.com/t/import-not-working/315730)

<div class="topic-metadata">

**Author:** [@zerdang](https://forum.kirupa.com/u/zerdang)\
**Replies:** 0\
**Last updated:** [November 3, 2010, 2:15am UTC](https://forum.kirupa.com/t/import-not-working/315730 "2010-11-03T02:15:54Z")

</div>

I import a class(this is in a .as file for flash CS5.) I define it and clearly I later instantiate it \[CENTER\] import com.greensock.TweenMax; public class Turret extends MovieClip { ..... public v…

---

## [attachMovie randomly WITHIN a specific shape?](https://forum.kirupa.com/t/attachmovie-randomly-within-a-specific-shape/315725)

<div class="topic-metadata">

**Author:** [@Kappa](https://forum.kirupa.com/u/Kappa)\
**Replies:** 0\
**Last updated:** [November 2, 2010, 11:06pm UTC](https://forum.kirupa.com/t/attachmovie-randomly-within-a-specific-shape/315725 "2010-11-02T23:06:10Z")

</div>

I'm currently using a script I picked up from these forums to attach movieclips from the library based on how many child's there are in an XML document. I was wondering if it was possible though, to have each movieclip…

---

## [Load/unload external swf with fadein / fadeout](https://forum.kirupa.com/t/load-unload-external-swf-with-fadein-fadeout/315723)

<div class="topic-metadata">

**Author:** [@tsunami5150](https://forum.kirupa.com/u/tsunami5150)\
**Replies:** 0\
**Last updated:** [November 2, 2010, 9:50pm UTC](https://forum.kirupa.com/t/load-unload-external-swf-with-fadein-fadeout/315723 "2010-11-02T21:50:38Z")

</div>

Hello everyone, I have a very simple main.swf with buttons in a mc. once a button is clicked it loads and external swf file into x y pos. How can I set it up so when the external swf loads with a fade in and the o…

---

## [Mail to question/problem](https://forum.kirupa.com/t/mail-to-question-problem/315721)

<div class="topic-metadata">

**Author:** [@enjoibp3](https://forum.kirupa.com/u/enjoibp3)\
**Replies:** 0\
**Last updated:** [November 2, 2010, 8:54pm UTC](https://forum.kirupa.com/t/mail-to-question-problem/315721 "2010-11-02T20:54:25Z")

</div>

I'm working on my companys website and I am trying to make a link from flash open the default mail program so they can send us an email. All of that works fine and dandy.... on PCs. While using a mac I was not able to ge…

---

## [Loader for site](https://forum.kirupa.com/t/loader-for-site/315716)

<div class="topic-metadata">

**Author:** [@tbhD41](https://forum.kirupa.com/u/tbhD41)\
**Replies:** 0\
**Last updated:** [November 2, 2010, 7:54pm UTC](https://forum.kirupa.com/t/loader-for-site/315716 "2010-11-02T19:54:01Z")

</div>

Hey Im new to AS3 and have made this site: d41.dk My problem is I will make a loader for this site, but it doesn't work. Message: TypeError: Error #1009: Cannot access a property or method of a null object referenc…

---

## [Help creating a rotating nav menu](https://forum.kirupa.com/t/help-creating-a-rotating-nav-menu/315715)

<div class="topic-metadata">

**Author:** [@moebe97](https://forum.kirupa.com/u/moebe97)\
**Replies:** 0\
**Last updated:** [November 2, 2010, 6:21pm UTC](https://forum.kirupa.com/t/help-creating-a-rotating-nav-menu/315715 "2010-11-02T18:21:54Z")

</div>

Hey there! I am working on a project and am trying to create a menu that upon clicking a certain point rotates to a frame and then plays a clip. Something similar to this navigation would be great: see navigation at bo…

---

## [Checkbox not showing as checked when selected=true](https://forum.kirupa.com/t/checkbox-not-showing-as-checked-when-selected-true/315712)

<div class="topic-metadata">

**Author:** [@Gilgemesh](https://forum.kirupa.com/u/Gilgemesh)\
**Replies:** 0\
**Last updated:** [November 2, 2010, 5:31pm UTC](https://forum.kirupa.com/t/checkbox-not-showing-as-checked-when-selected-true/315712 "2010-11-02T17:31:33Z")

</div>

I have a preferences option at the beginning of my app. It calls in some values from an XML file and passes them to a static var and to myCheckbox.selected which should display a checked box if the value is true. The va…

---

## [AS3 / Captivate 5 skin](https://forum.kirupa.com/t/as3-captivate-5-skin/315711)

<div class="topic-metadata">

**Author:** [@red2034](https://forum.kirupa.com/u/red2034)\
**Replies:** 0\
**Last updated:** [November 2, 2010, 5:20pm UTC](https://forum.kirupa.com/t/as3-captivate-5-skin/315711 "2010-11-02T17:20:02Z")

</div>

I am trying to re-purpose the CC btn in a Captivate 5 skin: SO I have updated the btn image and added the btn code Actionscript Code: \[LEFT\]pbcCC\_mc.\[COLOR=#006600\]addEventListener\[/COLOR\]\[COLOR=#66cc66\](\[/COLOR\]Mous…

---

## [AS3 beat em up, need help with attacking!](https://forum.kirupa.com/t/as3-beat-em-up-need-help-with-attacking/315706)

<div class="topic-metadata">

**Author:** [@woodhall2k](https://forum.kirupa.com/u/woodhall2k)\
**Replies:** 0\
**Last updated:** [November 2, 2010, 12:42pm UTC](https://forum.kirupa.com/t/as3-beat-em-up-need-help-with-attacking/315706 "2010-11-02T12:42:18Z")

</div>

Ok, hello my name is matt, and im currently making an "AS3 beat em up" ala streets of rage or double dragon. Currently i have my character moving and a few animations done and i am trying to figure out how to make att…

---

## [RemoveEventListener, Base Class](https://forum.kirupa.com/t/removeeventlistener-base-class/315705)

<div class="topic-metadata">

**Author:** [@denispage](https://forum.kirupa.com/u/denispage)\
**Replies:** 0\
**Last updated:** [November 2, 2010, 11:46am UTC](https://forum.kirupa.com/t/removeeventlistener-base-class/315705 "2010-11-02T11:46:02Z")

</div>

I have a class "BaseMenu", which, needless to say, is a base class to menus that have eventlisteners. When I trigger the function to remove the menu itself, I don't know how to remove these eventlisteners, since their …

---

## [\[Flash8\]Help needed! Naming an Instance '1'](https://forum.kirupa.com/t/flash8-help-needed-naming-an-instance-1/315704)

<div class="topic-metadata">

**Author:** [@tommybanana](https://forum.kirupa.com/u/tommybanana)\
**Replies:** 0\
**Last updated:** [November 2, 2010, 11:40am UTC](https://forum.kirupa.com/t/flash8-help-needed-naming-an-instance-1/315704 "2010-11-02T11:40:54Z")

</div>

Hi in one of the (fantastic) kirupa tutorials on making random colour, the example code provided works because some squares have instance names as numbers 1,2,3,4,5 etc. I can open the source file and the instances sho…

---

## [OCX Error](https://forum.kirupa.com/t/ocx-error/315702)

<div class="topic-metadata">

**Author:** [@glisando](https://forum.kirupa.com/u/glisando)\
**Replies:** 0\
**Last updated:** [November 2, 2010, 9:39am UTC](https://forum.kirupa.com/t/ocx-error/315702 "2010-11-02T09:39:00Z")

</div>

Hi Guys, I was testing out some applications written in AS3 and it worked fine untill I encountered one app when I got the Flash10i.ocx error message. I uninstalled and re-installed the flash player and this time when …

---

## [Urgent need help](https://forum.kirupa.com/t/urgent-need-help/315701)

<div class="topic-metadata">

**Author:** [@moogen](https://forum.kirupa.com/u/moogen)\
**Replies:** 0\
**Last updated:** [November 2, 2010, 9:36am UTC](https://forum.kirupa.com/t/urgent-need-help/315701 "2010-11-02T09:36:11Z")

</div>

Hi everyone! Im totally new here and i have a really bad problem Im working on a banner using cs3 as2 and im using xml to upload the pics i need to upload 11 pics using xml but when i do its stuck at showing 4 pics. when…

---

## [Please Help me on this simple codes](https://forum.kirupa.com/t/please-help-me-on-this-simple-codes/315700)

<div class="topic-metadata">

**Author:** [@LoveTheresa](https://forum.kirupa.com/u/LoveTheresa)\
**Replies:** 0\
**Last updated:** [November 2, 2010, 8:55am UTC](https://forum.kirupa.com/t/please-help-me-on-this-simple-codes/315700 "2010-11-02T08:55:04Z")

</div>

I just started to learn AS3, and I'm trying to do some simple function such as the drag and drop, below is my code: box\_mc.addEventListener (MouseEvent.MOUSE\_DOWN, drag); box\_mc.addEventListener (MouseEvent.MOUSE\_UP,…

---

## [Bug in Flash Player 10?](https://forum.kirupa.com/t/bug-in-flash-player-10/315699)

<div class="topic-metadata">

**Author:** [@cortezcreations](https://forum.kirupa.com/u/cortezcreations)\
**Replies:** 0\
**Last updated:** [November 2, 2010, 8:43am UTC](https://forum.kirupa.com/t/bug-in-flash-player-10/315699 "2010-11-02T08:43:43Z")

</div>

Hello everyone. Not sure if I'm posting in the right spot but I'm having a funny issue with an all flash based site. Few of the specs: SWFADDRESS SFWOBJECT swfmacmousewheel.js AS2 Individual pages (swf files) are loa…

---

## [How is this bitmap effect done?](https://forum.kirupa.com/t/how-is-this-bitmap-effect-done/315694)

<div class="topic-metadata">

**Author:** [@gooselips](https://forum.kirupa.com/u/gooselips)\
**Replies:** 0\
**Last updated:** [November 2, 2010, 7:22am UTC](https://forum.kirupa.com/t/how-is-this-bitmap-effect-done/315694 "2010-11-02T07:22:54Z")

</div>

http://www.shoulder.com.br/ If you select any of the thumbs from the menu on the bottom of the page (once the site is loaded), you'll see the image splits into two as a transition. Anyone have any pointers on how to…

---

## [What to use ( variable?)](https://forum.kirupa.com/t/what-to-use-variable/315693)

<div class="topic-metadata">

**Author:** [@xelaxam](https://forum.kirupa.com/u/xelaxam)\
**Replies:** 0\
**Last updated:** [November 2, 2010, 4:55am UTC](https://forum.kirupa.com/t/what-to-use-variable/315693 "2010-11-02T04:55:32Z")

</div>

I maked a gallery for a tutorial on the web. Here's the result. http://www.pingouincreation.com/plabelle/flash/pcarousel.swf What I want to do is simple. When you click on a thumbnail the big picture apperar but i nee…

---

## [addEventListener to all in Array as3](https://forum.kirupa.com/t/addeventlistener-to-all-in-array-as3/315691)

<div class="topic-metadata">

**Author:** [@NekoAthena](https://forum.kirupa.com/u/NekoAthena)\
**Replies:** 0\
**Last updated:** [November 2, 2010, 4:13am UTC](https://forum.kirupa.com/t/addeventlistener-to-all-in-array-as3/315691 "2010-11-02T04:13:10Z")

</div>

okay, i am trying to use arrays to add and remove event listeners to some drag and drop items, and keep getting the Error #1009: Cannot access a property or method of a null object reference. here's what i got: var …

---

## [gotoAndPlay with movie clips](https://forum.kirupa.com/t/gotoandplay-with-movie-clips/315686)

<div class="topic-metadata">

**Author:** [@treeleaf20](https://forum.kirupa.com/u/treeleaf20)\
**Replies:** 0\
**Last updated:** [November 2, 2010, 1:41am UTC](https://forum.kirupa.com/t/gotoandplay-with-movie-clips/315686 "2010-11-02T01:41:37Z")

</div>

All, I have some sendAndLoad code which works good. Instead of outputting something to a text box I'd like to go to a different place in my movie. I've got quite a few embedded movie clips and the path is the following: …

---

## [Issue with gotoAndStop and listener response](https://forum.kirupa.com/t/issue-with-gotoandstop-and-listener-response/315685)

<div class="topic-metadata">

**Author:** [@danthebeliever](https://forum.kirupa.com/u/danthebeliever)\
**Replies:** 0\
**Last updated:** [November 1, 2010, 10:56pm UTC](https://forum.kirupa.com/t/issue-with-gotoandstop-and-listener-response/315685 "2010-11-01T22:56:56Z")

</div>

Hello, I am currently writing a little fishing game just for fun. I made a menu screen and now my listeners don't respond after i gotoAndStop() (unless I click, which is pointless). Here's my code: This is frame 1 …

---

## [UILoader](https://forum.kirupa.com/t/uiloader/315682)

<div class="topic-metadata">

**Author:** [@mpr](https://forum.kirupa.com/u/mpr)\
**Replies:** 0\
**Last updated:** [November 1, 2010, 9:27pm UTC](https://forum.kirupa.com/t/uiloader/315682 "2010-11-01T21:27:56Z")

</div>

I dropped a UILoader onto a stage so an external .swf file will play within it (let's call it "external.swf"). I can see "external.swf" and all in my movie, but it doesn't maintain its original width and height; it cover…

---

## [How can i waving this flag without clicking on it?](https://forum.kirupa.com/t/how-can-i-waving-this-flag-without-clicking-on-it/315681)

<div class="topic-metadata">

**Author:** [@gayandproud](https://forum.kirupa.com/u/gayandproud)\
**Replies:** 0\
**Last updated:** [November 1, 2010, 7:45pm UTC](https://forum.kirupa.com/t/how-can-i-waving-this-flag-without-clicking-on-it/315681 "2010-11-01T19:45:16Z")

</div>

Hello, this project is created in FlashDevelop. It is a waving a flag by clicking on it,but, how I can make the flag flown directly when i execute the swf?. Here's the code: package { import com.innerdrivestudi…

---

## [How to make sound loop in as3](https://forum.kirupa.com/t/how-to-make-sound-loop-in-as3/315680)

<div class="topic-metadata">

**Author:** [@rnw](https://forum.kirupa.com/u/rnw)\
**Replies:** 0\
**Last updated:** [November 1, 2010, 6:38pm UTC](https://forum.kirupa.com/t/how-to-make-sound-loop-in-as3/315680 "2010-11-01T18:38:49Z")

</div>

Hello, I created some music background for a website, but the problem is that when it finishes playing, the sound stops. I want it to start over when it's complete. I tried a few things I found on the internet, but it…

---

## [What would check to see what frame I'm on?](https://forum.kirupa.com/t/what-would-check-to-see-what-frame-im-on/315679)

<div class="topic-metadata">

**Author:** [@Thrillhou](https://forum.kirupa.com/u/Thrillhou)\
**Replies:** 0\
**Last updated:** [November 1, 2010, 6:29pm UTC](https://forum.kirupa.com/t/what-would-check-to-see-what-frame-im-on/315679 "2010-11-01T18:29:51Z")

</div>

I have a problem with a header I've been working on. It's four frames, each loading an external swf into a movieclip, that can be navigated through back and forth using arrow buttons on either side, or autoloads every ei…

---

## [Getting a pre-drawn shape into AS3](https://forum.kirupa.com/t/getting-a-pre-drawn-shape-into-as3/315674)

<div class="topic-metadata">

**Author:** [@SenseiTG](https://forum.kirupa.com/u/SenseiTG)\
**Replies:** 0\
**Last updated:** [November 1, 2010, 4:01pm UTC](https://forum.kirupa.com/t/getting-a-pre-drawn-shape-into-as3/315674 "2010-11-01T16:01:05Z")

</div>

Hey all! I've got a little problem that I've not really found a good solution for. I have a symbol containing a moderately complex shape (a few fills and bunch of curves). Instead of animating this symbol I want to…

---

## [Random number between 1 & 16?](https://forum.kirupa.com/t/random-number-between-1-16/315673)

<div class="topic-metadata">

**Author:** [@jpearson311](https://forum.kirupa.com/u/jpearson311)\
**Replies:** 0\
**Last updated:** [November 1, 2010, 3:32pm UTC](https://forum.kirupa.com/t/random-number-between-1-16/315673 "2010-11-01T15:32:39Z")

</div>

Hello all. I need to create a variable that holds a random number between 1 & 16. Any idea how I can do this? This is the way the variable looks right now: var randomTurkey:Number = Math.floor(Math.random()\*100);

---

## [Bounding circle](https://forum.kirupa.com/t/bounding-circle/315671)

<div class="topic-metadata">

**Author:** [@civictjai](https://forum.kirupa.com/u/civictjai)\
**Replies:** 0\
**Last updated:** [November 1, 2010, 2:34pm UTC](https://forum.kirupa.com/t/bounding-circle/315671 "2010-11-01T14:34:35Z")

</div>

Hi, Is it possible to make a bounding circle instead of a bounding box? The objects should bounce INSIDE the circle. I have now a bounding box outside the circle, but the objects exceeds the circle at the corners. …

---

## [sendAndLoad - Response issues!](https://forum.kirupa.com/t/sendandload-response-issues/315670)

<div class="topic-metadata">

**Author:** [@jnewbie](https://forum.kirupa.com/u/jnewbie)\
**Replies:** 0\
**Last updated:** [November 1, 2010, 2:03pm UTC](https://forum.kirupa.com/t/sendandload-response-issues/315670 "2010-11-01T14:03:23Z")

</div>

Hey - really hoping someone can help me here after a few hours trawling several forums and posts.. I am stumped. I have a fairly simple form built in as2 using an input text box that users can enter text, edit and save…

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

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