# flash

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

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

**Page:** 122

---

## [Help me please! (hitTestObject)](https://forum.kirupa.com/t/help-me-please-hittestobject/324817)

<div class="topic-metadata">

**Author:** [@TheAwesomeDude](https://forum.kirupa.com/u/TheAwesomeDude)\
**Replies:** 0\
**Last updated:** [September 10, 2011, 8:19am UTC](https://forum.kirupa.com/t/help-me-please-hittestobject/324817 "2011-09-10T08:19:49Z")

</div>

Hi! I dont think that will work. I need to have it as individual blocks. I did a quick demo file to show what I need. You will se in the file that the map is randomized and I need it to be like that to! \[smile\] READ…

---

## [AS2 Code conversion to AS3](https://forum.kirupa.com/t/as2-code-conversion-to-as3/324816)

<div class="topic-metadata">

**Author:** [@Raabi](https://forum.kirupa.com/u/Raabi)\
**Replies:** 0\
**Last updated:** [September 10, 2011, 6:11am UTC](https://forum.kirupa.com/t/as2-code-conversion-to-as3/324816 "2011-09-10T06:11:52Z")

</div>

Hi geeks I request for help in conversion of just a few lines of AS2 code into AS3 code. Please help. \_root.menu1.hit.onRollOver = function() { \_root.menu1.gotoAndPlay(2); \_root.menu2.gotoAndStop(1); \_root.menu3…

---

## [STOP buttons appear now but do nothing. Help!](https://forum.kirupa.com/t/stop-buttons-appear-now-but-do-nothing-help/324815)

<div class="topic-metadata">

**Author:** [@BLKelsey](https://forum.kirupa.com/u/BLKelsey)\
**Replies:** 0\
**Last updated:** [September 10, 2011, 4:02am UTC](https://forum.kirupa.com/t/stop-buttons-appear-now-but-do-nothing-help/324815 "2011-09-10T04:02:29Z")

</div>

I posted a question a day or two ago about my STOP buttons not appearing after the user selects a song by pressing the PLAY button. I have 3 song choices and the play buttons are vertically aligned. STOP buttons are dire…

---

## [Trouble with Custom Event Class](https://forum.kirupa.com/t/trouble-with-custom-event-class/324810)

<div class="topic-metadata">

**Author:** [@ccbass85](https://forum.kirupa.com/u/ccbass85)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 8:51pm UTC](https://forum.kirupa.com/t/trouble-with-custom-event-class/324810 "2011-09-09T20:51:18Z")

</div>

Hello Everyone, In an attempt to grow my AS3 knowledge, I've created a a custom event class that extends the event class. In it I basically pass a data object, so I can freely pass data between classes. It works grea…

---

## [Mobile iOS Rotation](https://forum.kirupa.com/t/mobile-ios-rotation/324808)

<div class="topic-metadata">

**Author:** [@sFoster83](https://forum.kirupa.com/u/sFoster83)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 6:41pm UTC](https://forum.kirupa.com/t/mobile-ios-rotation/324808 "2011-09-09T18:41:08Z")

</div>

Does anyone know how to stop the rotation animation on an iPad when I set the stageOrientation property? I would rather it be instant instead of this rotation thing that is going on when I call stage.setOrientation

---

## [Draw on intersection point on 3D mesh](https://forum.kirupa.com/t/draw-on-intersection-point-on-3d-mesh/324807)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 6:20pm UTC](https://forum.kirupa.com/t/draw-on-intersection-point-on-3d-mesh/324807 "2011-09-09T18:20:47Z")

</div>

For my second game, part of the core mechanics is drawing one object onto another upon collision. This is a very useful technique, and there doesn't appear to be much concise info about it. Basically all you have to …

---

## [Random numbers from an array without repeating](https://forum.kirupa.com/t/random-numbers-from-an-array-without-repeating/324803)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 1:16pm UTC](https://forum.kirupa.com/t/random-numbers-from-an-array-without-repeating/324803 "2011-09-09T13:16:14Z")

</div>

Hello!!! How do I make a random sequence of 10 numbers, from an array of 20 numbers in total, without repeating any of them on that sequence?

---

## [ThemeForest - corbiz - Corporate and Business HTML Template - Rip](https://forum.kirupa.com/t/themeforest-corbiz-corporate-and-business-html-template-rip/324802)

<div class="topic-metadata">

**Author:** [@dreamone25](https://forum.kirupa.com/u/dreamone25)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 1:14pm UTC](https://forum.kirupa.com/t/themeforest-corbiz-corporate-and-business-html-template-rip/324802 "2011-09-09T13:14:00Z")

</div>

\[image\] ThemeForest - corbiz - Corporate and Business HTML Template - Rip Demo: http://themeforest.net/item/corbiz-corporate-and-business-html-template/524842?WT.ac=category\_item&WT.seg\_1=category\_item&WT.z\_author=…

---

## [ExternalInterface.call not closing window](https://forum.kirupa.com/t/externalinterface-call-not-closing-window/324800)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 12:17pm UTC](https://forum.kirupa.com/t/externalinterface-call-not-closing-window/324800 "2011-09-09T12:17:56Z")

</div>

I need to have button that closes the window. The window is a .php page, but it has the following javascript function: function closeWindow(){ self.close(); } The AS I have is: ExternalInterface.call("closeWin…

---

## [ID structuring](https://forum.kirupa.com/t/id-structuring/324795)

<div class="topic-metadata">

**Author:** [@timba](https://forum.kirupa.com/u/timba)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 9:51am UTC](https://forum.kirupa.com/t/id-structuring/324795 "2011-09-09T09:51:51Z")

</div>

Hello, I didn't quite know what forum to put this in, since it's not directly programming related. But since the project it's related to is made with Actionscript3/flash/XML I figured I'd post it in here. Im working o…

---

## [Image Gallery Mouse Detection](https://forum.kirupa.com/t/image-gallery-mouse-detection/324793)

<div class="topic-metadata">

**Author:** [@TAJArtist](https://forum.kirupa.com/u/TAJArtist)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 8:32am UTC](https://forum.kirupa.com/t/image-gallery-mouse-detection/324793 "2011-09-09T08:32:26Z")

</div>

Hello all you AS3 junkies, I hope your coding is going quite well. I wish I could say the same for myself but I'm fairly new to this so mistakes arise more often than not. This one in particular has me stumped even thoug…

---

## [Stop buttons not appearing](https://forum.kirupa.com/t/stop-buttons-not-appearing/324792)

<div class="topic-metadata">

**Author:** [@BLKelsey](https://forum.kirupa.com/u/BLKelsey)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 6:43am UTC](https://forum.kirupa.com/t/stop-buttons-not-appearing/324792 "2011-09-09T06:43:27Z")

</div>

Hey all, I'm working on an external mp3 jukebox for an Interactive Design course and I've almost got it. However, none of my 'stop' buttons appear to stop the song. I have 3 songs, so I have 3 sets of 'play' buttons an…

---

## [Tweener: 'alpha' not a property?](https://forum.kirupa.com/t/tweener-alpha-not-a-property/324788)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 12:39am UTC](https://forum.kirupa.com/t/tweener-alpha-not-a-property/324788 "2011-09-09T00:39:51Z")

</div>

I have a custom class in which I create a large number of display objects pulled from the library. Each has its alpha set to 0 initially. Then a series of functions call Tweener.addTween to change their alpha to 1 and ot…

---

## [OOP - basic test](https://forum.kirupa.com/t/oop-basic-test/324787)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [September 8, 2011, 9:28pm UTC](https://forum.kirupa.com/t/oop-basic-test/324787 "2011-09-08T21:28:51Z")

</div>

Hiya - Itd be great if someone could help me out here .. I want to use OOP as a test, to put an MC on the Stage. Here goes - be patient - im trying to also keep it as clean as poss for peeps to actually get in here and h…

---

## [Arrays - holding functions?](https://forum.kirupa.com/t/arrays-holding-functions/324786)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [September 8, 2011, 7:31pm UTC](https://forum.kirupa.com/t/arrays-holding-functions/324786 "2011-09-08T19:31:35Z")

</div>

Hiya .. is it possible to put a function into an array and execute it from calling it via the array? I did this before in as2 var funcs:Array = new Array(one); function one() { //do this; } funcs\[0\](); // Bammmm exe…

---

## [Stream Youtube Videos in your own flash app](https://forum.kirupa.com/t/stream-youtube-videos-in-your-own-flash-app/324783)

<div class="topic-metadata">

**Author:** [@svimp](https://forum.kirupa.com/u/svimp)\
**Replies:** 0\
**Last updated:** [September 8, 2011, 5:04pm UTC](https://forum.kirupa.com/t/stream-youtube-videos-in-your-own-flash-app/324783 "2011-09-08T17:04:15Z")

</div>

Hello , is there any way to stream youtube videos in a flash swf file ? i need to make a flash that will load several videos from youtube in a personalise flash player. Button1 = video1 Button2 = video2 Button3 = v…

---

## [Removing FRAMES in between KEYFRAMEES](https://forum.kirupa.com/t/removing-frames-in-between-keyframees/324781)

<div class="topic-metadata">

**Author:** [@BUroKHUli](https://forum.kirupa.com/u/BUroKHUli)\
**Replies:** 0\
**Last updated:** [September 8, 2011, 12:46pm UTC](https://forum.kirupa.com/t/removing-frames-in-between-keyframees/324781 "2011-09-08T12:46:26Z")

</div>

I just switched from FLASH 8 to CS4 and I'm kinda shocked with all the new features. What I am very concerned is removing FRAMES in between KEYFRAMES. In the previous version, we can just click on that LAYER, choose a fr…

---

## [Doubt in Declaration](https://forum.kirupa.com/t/doubt-in-declaration/324779)

<div class="topic-metadata">

**Author:** [@eternity22](https://forum.kirupa.com/u/eternity22)\
**Replies:** 0\
**Last updated:** [September 8, 2011, 10:22am UTC](https://forum.kirupa.com/t/doubt-in-declaration/324779 "2011-09-08T10:22:19Z")

</div>

Hi var num:\*; can we declare like this?

---

## [Strange syntax](https://forum.kirupa.com/t/strange-syntax/324778)

<div class="topic-metadata">

**Author:** [@Lamcho](https://forum.kirupa.com/u/Lamcho)\
**Replies:** 0\
**Last updated:** [September 8, 2011, 9:31am UTC](https://forum.kirupa.com/t/strange-syntax/324778 "2011-09-08T09:31:05Z")

</div>

I came across on this code, someone has any idea what this exactly do ? //BUILD CLASSES DataModel:; SoundFunctions:; The class name doesn't matter, but what is the suffix ":;" about ?

---

## [How to add a parameter to control the speed of drawing?](https://forum.kirupa.com/t/how-to-add-a-parameter-to-control-the-speed-of-drawing/324774)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [September 8, 2011, 5:49am UTC](https://forum.kirupa.com/t/how-to-add-a-parameter-to-control-the-speed-of-drawing/324774 "2011-09-08T05:49:31Z")

</div>

Hi, Now it draws a square with normal speed but I would like to customize the speed. How to add a parameter to control the speed of drawing? import com.greensock.\*; import flash.events.MouseEvent; //create line va…

---

## [Exporting Old AS2 Code to Flash Player 7/8 - Breaks My Code - Please Help!](https://forum.kirupa.com/t/exporting-old-as2-code-to-flash-player-7-8-breaks-my-code-please-help/324770)

<div class="topic-metadata">

**Author:** [@bryggreen](https://forum.kirupa.com/u/bryggreen)\
**Replies:** 0\
**Last updated:** [September 7, 2011, 11:26pm UTC](https://forum.kirupa.com/t/exporting-old-as2-code-to-flash-player-7-8-breaks-my-code-please-help/324770 "2011-09-07T23:26:42Z")

</div>

I've got this old code from back in '05 that I wanted to use in something but when I export it for anything higher than flash player 6, it stops working. Nothing happens. Can someone take a look and let me know what I'm …

---

## [Navigation without mouse](https://forum.kirupa.com/t/navigation-without-mouse/324768)

<div class="topic-metadata">

**Author:** [@fazzy](https://forum.kirupa.com/u/fazzy)\
**Replies:** 0\
**Last updated:** [September 7, 2011, 9:25pm UTC](https://forum.kirupa.com/t/navigation-without-mouse/324768 "2011-09-07T21:25:22Z")

</div>

I have a swf that I'd like to navigate with keyboard arrows to access each active button. (a) navigating through 'hit state' buttons on a menu page using arrow keys (b) a highlight\_mc that remains on the focus item. …

---

## [Autoplay button](https://forum.kirupa.com/t/autoplay-button/324766)

<div class="topic-metadata">

**Author:** [@gregof75](https://forum.kirupa.com/u/gregof75)\
**Replies:** 0\
**Last updated:** [September 7, 2011, 5:12pm UTC](https://forum.kirupa.com/t/autoplay-button/324766 "2011-09-07T17:12:17Z")

</div>

Hi, would you help me - what the code should has the button for autoplay Photo Gallery. I used this template: http://www.kirupa.com/developer/mx/photogallery.htm Thank you for your help G.

---

## [Tween Garbage Collection Madness](https://forum.kirupa.com/t/tween-garbage-collection-madness/324764)

<div class="topic-metadata">

**Author:** [@h3d0](https://forum.kirupa.com/u/h3d0)\
**Replies:** 0\
**Last updated:** [September 7, 2011, 3:22pm UTC](https://forum.kirupa.com/t/tween-garbage-collection-madness/324764 "2011-09-07T15:22:38Z")

</div>

Hello, the TweenEvent.COMPLETE just wouldn't trigger sometimes. I've searched the web for solutions, these are methods I've already tried: - Declaring Tween as global variable - Using Class for storing link on Tween - …

---

## [Remote SWF Issues](https://forum.kirupa.com/t/remote-swf-issues/324754)

<div class="topic-metadata">

**Author:** [@Nebulous](https://forum.kirupa.com/u/Nebulous)\
**Replies:** 0\
**Last updated:** [September 7, 2011, 8:28am UTC](https://forum.kirupa.com/t/remote-swf-issues/324754 "2011-09-07T08:28:05Z")

</div>

Hi, I am making a preloader, which so far is working fine..... provided the target SWF is sat on one domain... For the life of me I can't work out why it will not connect to any other domain (I get a whole bunch of s…

---

## [Code on the Timeline?](https://forum.kirupa.com/t/code-on-the-timeline/324752)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [September 7, 2011, 3:14am UTC](https://forum.kirupa.com/t/code-on-the-timeline/324752 "2011-09-07T03:14:20Z")

</div>

Hi everyone, Someone asked me an \[interesting question on Twitter about when one should have code on the timeline as opposed to a class. My \[URL="http://twitter.com/#!/kirupa/status/111274938899513344"\]answer\](http://twi…

---

## [Tutorial: Arrays in AS3](https://forum.kirupa.com/t/tutorial-arrays-in-as3/324751)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [September 7, 2011, 2:09am UTC](https://forum.kirupa.com/t/tutorial-arrays-in-as3/324751 "2011-09-07T02:09:25Z")

</div>

Hi everyone, This is the thread to discuss all things related to the Arrays in AS3 tutorial. Don't be shy. Cheers, Kirupa =)

---

## [AS3 have buttons remember their state on load of external swf](https://forum.kirupa.com/t/as3-have-buttons-remember-their-state-on-load-of-external-swf/324749)

<div class="topic-metadata">

**Author:** [@fonzio](https://forum.kirupa.com/u/fonzio)\
**Replies:** 0\
**Last updated:** [September 7, 2011, 12:26am UTC](https://forum.kirupa.com/t/as3-have-buttons-remember-their-state-on-load-of-external-swf/324749 "2011-09-07T00:26:54Z")

</div>

hi first of all thanks for looking, problem brief: ok i have a container swf which loads external swfs into container\_mc they go as follows \> = loads container swf \> start swf \> preloader swf \> main swf ok so ive…

---

## [I tried following this tutorial on Resizing](https://forum.kirupa.com/t/i-tried-following-this-tutorial-on-resizing/324747)

<div class="topic-metadata">

**Author:** [@CapsizedRecords](https://forum.kirupa.com/u/CapsizedRecords)\
**Replies:** 0\
**Last updated:** [September 6, 2011, 10:59pm UTC](https://forum.kirupa.com/t/i-tried-following-this-tutorial-on-resizing/324747 "2011-09-06T22:59:33Z")

</div>

found here: http://www.kirupa.com/developer/as3/resizing\_centering\_as3.htm and I want it to turn out exactly as it does here: http://www.kirupa.com/developer/as3/swf/resizing.html Except that when I add the actionscr…

---

## [Shared Object sync event endlessly firing when code=SharedObject.NoWriteAccess](https://forum.kirupa.com/t/shared-object-sync-event-endlessly-firing-when-code-sharedobject-nowriteaccess/324746)

<div class="topic-metadata">

**Author:** [@BillyWilliams](https://forum.kirupa.com/u/BillyWilliams)\
**Replies:** 0\
**Last updated:** [September 6, 2011, 10:57pm UTC](https://forum.kirupa.com/t/shared-object-sync-event-endlessly-firing-when-code-sharedobject-nowriteaccess/324746 "2011-09-06T22:57:11Z")

</div>

I'm new to using shared objects in AS3 and came here looking for some advice with something I came across. I have been playing around with a shared object to get a feel for them. After setting a client's write access o…

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

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