# flash

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

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

**Page:** 645

---

## [Publish with percentage dimensions ruins my masks](https://forum.kirupa.com/t/publish-with-percentage-dimensions-ruins-my-masks/286482)

<div class="topic-metadata">

**Author:** [@nunonaos](https://forum.kirupa.com/u/nunonaos)\
**Replies:** 0\
**Last updated:** [April 16, 2009, 4:35am UTC](https://forum.kirupa.com/t/publish-with-percentage-dimensions-ruins-my-masks/286482 "2009-04-16T04:35:54Z")

</div>

Hello, i need heal to create a mask with as3. I dray a rectangle in the right place. But when i add the code to transform that rectangle in a mask the rectangle doesn't keep it's size, wich means that the mask doesn't ge…

---

## [Flash Embed Tutorials?](https://forum.kirupa.com/t/flash-embed-tutorials/286480)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [April 16, 2009, 4:02am UTC](https://forum.kirupa.com/t/flash-embed-tutorials/286480 "2009-04-16T04:02:49Z")

</div>

Are there any tutorials out there for how to properly use Embed? (as well as other similar keywords) \[Embed(source='MyCollada.dae', symbol='MyCollada')\] Searching Google for "AS3 Embed" isn't really giving any good res…

---

## [Help with onEnterFrame inside a Class](https://forum.kirupa.com/t/help-with-onenterframe-inside-a-class/286479)

<div class="topic-metadata">

**Author:** [@Thefox14](https://forum.kirupa.com/u/Thefox14)\
**Replies:** 0\
**Last updated:** [April 16, 2009, 3:11am UTC](https://forum.kirupa.com/t/help-with-onenterframe-inside-a-class/286479 "2009-04-16T03:11:33Z")

</div>

I've been trying to run some functions in my class every frame and have come up with this code: class playercam extends MovieClip { var ThefocusX:Number=0; var ThefocusY:Number=0; var smootherscrollX:Number=0; var…

---

## [Help fixing a power bar](https://forum.kirupa.com/t/help-fixing-a-power-bar/286474)

<div class="topic-metadata">

**Author:** [@Thefox14](https://forum.kirupa.com/u/Thefox14)\
**Replies:** 0\
**Last updated:** [April 16, 2009, 1:29am UTC](https://forum.kirupa.com/t/help-fixing-a-power-bar/286474 "2009-04-16T01:29:59Z")

</div>

'm trying to make a simple power bar seen in PC billiard games, in which the power bar extends as far as the mouse is. But I've been having some problems. If you'd like to see the problem its very obvious heh, ::FILE:: …

---

## [Loading multiples clips from library and unloading it](https://forum.kirupa.com/t/loading-multiples-clips-from-library-and-unloading-it/286473)

<div class="topic-metadata">

**Author:** [@Dan008](https://forum.kirupa.com/u/Dan008)\
**Replies:** 0\
**Last updated:** [April 16, 2009, 12:40am UTC](https://forum.kirupa.com/t/loading-multiples-clips-from-library-and-unloading-it/286473 "2009-04-16T00:40:41Z")

</div>

Hi to all, I am trying to create a gallery using loading of clips from the library when I select one of the thumbnails and then a close button on the clip to unload it. I am using the custom scrolling script I got from…

---

## [How would I get an MC to resize proportionally with embedded swf](https://forum.kirupa.com/t/how-would-i-get-an-mc-to-resize-proportionally-with-embedded-swf/286472)

<div class="topic-metadata">

**Author:** [@kanji2000](https://forum.kirupa.com/u/kanji2000)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 11:52pm UTC](https://forum.kirupa.com/t/how-would-i-get-an-mc-to-resize-proportionally-with-embedded-swf/286472 "2009-04-15T23:52:35Z")

</div>

his isn't as simple as it seems. Basically, I'm loading an external swf that calls an XML file and plays a slideshow animation that enlarges or contracts the pics being loaded (similar to a Ken Burns effect). The exter…

---

## [Scrolling dynamic text in MC - PROBLEM](https://forum.kirupa.com/t/scrolling-dynamic-text-in-mc-problem/286469)

<div class="topic-metadata">

**Author:** [@realdoyle](https://forum.kirupa.com/u/realdoyle)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 10:01pm UTC](https://forum.kirupa.com/t/scrolling-dynamic-text-in-mc-problem/286469 "2009-04-15T22:01:28Z")

</div>

I need help solving a small problem I am having with scrolling dynamic text inside a movieclip. I followed and combined the two wonderful Kirupa tutorials below. My problem is now that I have to preset the textbox height…

---

## [AS2 Button headaches!](https://forum.kirupa.com/t/as2-button-headaches/286466)

<div class="topic-metadata">

**Author:** [@BeerOclock](https://forum.kirupa.com/u/BeerOclock)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 9:05pm UTC](https://forum.kirupa.com/t/as2-button-headaches/286466 "2009-04-15T21:05:48Z")

</div>

Im actually pretty experienced in AS3 but I'm a complete noob at AS2: I have a button that opens a url like so: buttonA.onPress = navToPageA; function navToPageA() { getURL("http://www.urlA.com", "\_blank"); } Th…

---

## [AS 2.0 Form Filled Page HELP!](https://forum.kirupa.com/t/as-2-0-form-filled-page-help/286464)

<div class="topic-metadata">

**Author:** [@mattozawa](https://forum.kirupa.com/u/mattozawa)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 9:01pm UTC](https://forum.kirupa.com/t/as-2-0-form-filled-page-help/286464 "2009-04-15T21:01:28Z")

</div>

I am taking over a site that has already been built. It was built in either 1.0 or 2.0 and I am not familiar with either of those versions. Normally when I build a form (3.0) I use .php but this guy seemed to have don…

---

## [Why my motion tweens look so jagged?](https://forum.kirupa.com/t/why-my-motion-tweens-look-so-jagged/286462)

<div class="topic-metadata">

**Author:** [@mov2046](https://forum.kirupa.com/u/mov2046)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 8:30pm UTC](https://forum.kirupa.com/t/why-my-motion-tweens-look-so-jagged/286462 "2009-04-15T20:30:41Z")

</div>

Hi, I have been working on this banner ad using motion tweens (with scaling) for four objects, three road signs and a background. Sometimes it runs very smoothly, but most of the time, the four objects run in a very ja…

---

## [Pacman source code :)](https://forum.kirupa.com/t/pacman-source-code/286461)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 8:19pm UTC](https://forum.kirupa.com/t/pacman-source-code/286461 "2009-04-15T20:19:49Z")

</div>

Anybody has it ?? :hugegrin::hugegrin::hugegrin:

---

## [Help with code drag an drop](https://forum.kirupa.com/t/help-with-code-drag-an-drop/286460)

<div class="topic-metadata">

**Author:** [@rboyart](https://forum.kirupa.com/u/rboyart)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 7:40pm UTC](https://forum.kirupa.com/t/help-with-code-drag-an-drop/286460 "2009-04-15T19:40:38Z")

</div>

Hello! I'm trying to do a "drag and drop" with an array, but i can only move everything at the same time, and i'll like to move each element of the array separately. this is my code, and i have a movieclip in the lib…

---

## [Complete Newbie here come to blow your mind](https://forum.kirupa.com/t/complete-newbie-here-come-to-blow-your-mind/286459)

<div class="topic-metadata">

**Author:** [@repticon](https://forum.kirupa.com/u/repticon)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 7:35pm UTC](https://forum.kirupa.com/t/complete-newbie-here-come-to-blow-your-mind/286459 "2009-04-15T19:35:01Z")

</div>

Hey all. I am trying to use if and else statements and failing. I am either completely missing their purpose, or just not writing the correct code. Scenario: I have designed a gallery that consists of animation in movi…

---

## [Animated Stopwatch Pie](https://forum.kirupa.com/t/animated-stopwatch-pie/286454)

<div class="topic-metadata">

**Author:** [@whsu](https://forum.kirupa.com/u/whsu)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 6:51pm UTC](https://forum.kirupa.com/t/animated-stopwatch-pie/286454 "2009-04-15T18:51:59Z")

</div>

Hey there, I'm making a stopwatch. The stopwatch works, so now I want to be able to start the stopwatch at any point, then as the second hand sweeps across clockwise, it creates a pie behind it. So say you did a 10 sec…

---

## [Question to getColorBoundsRect](https://forum.kirupa.com/t/question-to-getcolorboundsrect/286453)

<div class="topic-metadata">

**Author:** [@TZP](https://forum.kirupa.com/u/TZP)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 6:28pm UTC](https://forum.kirupa.com/t/question-to-getcolorboundsrect/286453 "2009-04-15T18:28:11Z")

</div>

Good day to you. I´m working with BitmapData.getColorBoundsRect and it works so far fine for me. But what if I want to find more rectangles with the same color? For example: I got a BitmapData with 3 red rectangles. If…

---

## [TileList with MovieClips for cells (Custom Cell Renderer)](https://forum.kirupa.com/t/tilelist-with-movieclips-for-cells-custom-cell-renderer/286452)

<div class="topic-metadata">

**Author:** [@rocking](https://forum.kirupa.com/u/rocking)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 6:05pm UTC](https://forum.kirupa.com/t/tilelist-with-movieclips-for-cells-custom-cell-renderer/286452 "2009-04-15T18:05:16Z")

</div>

I want to add to the stage a MovieClip with a tilelist with cells that are filled with MovieClips. I have tried everything but just can not get the cells to show up. I can only see a dark skin of TopMovie that I have cus…

---

## [Stop Play Button](https://forum.kirupa.com/t/stop-play-button/286451)

<div class="topic-metadata">

**Author:** [@dannywilkins777](https://forum.kirupa.com/u/dannywilkins777)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 6:04pm UTC](https://forum.kirupa.com/t/stop-play-button/286451 "2009-04-15T18:04:52Z")

</div>

Hi there I am going out of my mind. I am trying to get a play/stop function to work in one button. I know how to stop the play head and start it again with two separate buttons but can't do it with one button that togg…

---

## [Flash player crashing on Macs?](https://forum.kirupa.com/t/flash-player-crashing-on-macs/286450)

<div class="topic-metadata">

**Author:** [@test1](https://forum.kirupa.com/u/test1)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 5:28pm UTC](https://forum.kirupa.com/t/flash-player-crashing-on-macs/286450 "2009-04-15T17:28:47Z")

</div>

Recently I've had an issue with one of my swf files causing the flash player to crash both safari and firefox on a mac. As far as I can tell it only effects some versions of the flash 9 player and to make matters worse i…

---

## [\[AS2 / CS4\] iPhone like kinetic navigation w/ physics](https://forum.kirupa.com/t/as2-cs4-iphone-like-kinetic-navigation-w-physics/286445)

<div class="topic-metadata">

**Author:** [@estralow](https://forum.kirupa.com/u/estralow)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 3:28pm UTC](https://forum.kirupa.com/t/as2-cs4-iphone-like-kinetic-navigation-w-physics/286445 "2009-04-15T15:28:27Z")

</div>

I'm looking to build a fairly simple photo gallery. The rub being that I'd like to navigate between photos with a 'click, drag and throw' / click-to-stop sort of kinetic movement w/ physics similar to how one navigates …

---

## [RE: Loading Techniques: Flash 5 & Flash MX written by ilyas usal a.k.a. pom](https://forum.kirupa.com/t/re-loading-techniques-flash-5-flash-mx-written-by-ilyas-usal-a-k-a-pom/286442)

<div class="topic-metadata">

**Author:** [@moonbase2](https://forum.kirupa.com/u/moonbase2)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 3:19pm UTC](https://forum.kirupa.com/t/re-loading-techniques-flash-5-flash-mx-written-by-ilyas-usal-a-k-a-pom/286442 "2009-04-15T15:19:44Z")

</div>

Hi Everyone, I'm having trouble with this tutorial that I found here. I've had no trouble getting this to work on my machine, locally, however even with the same folder structure, once it hits the server, it tanks...…

---

## [Redesign this site](https://forum.kirupa.com/t/redesign-this-site/286441)

<div class="topic-metadata">

**Author:** [@fotilx470](https://forum.kirupa.com/u/fotilx470)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 3:02pm UTC](https://forum.kirupa.com/t/redesign-this-site/286441 "2009-04-15T15:02:14Z")

</div>

Hello I am trying to recreate the following website except using different graphics but with the same navigation elements and the same motion and tweening and animation effects going on in the stage.http://www.leerone.co…

---

## [Applying Filters to an MC with Alpha 0](https://forum.kirupa.com/t/applying-filters-to-an-mc-with-alpha-0/286440)

<div class="topic-metadata">

**Author:** [@tester123](https://forum.kirupa.com/u/tester123)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 2:53pm UTC](https://forum.kirupa.com/t/applying-filters-to-an-mc-with-alpha-0/286440 "2009-04-15T14:53:15Z")

</div>

I'm running into a little bit of an issue, I have an MC that I'm using TweenMax to manipulate filters on. I want to alpha the clip to 0 but have the outerglow remain, almost like a stroke, does anyone have any ideas on h…

---

## [How to remove numbers from a string](https://forum.kirupa.com/t/how-to-remove-numbers-from-a-string/286439)

<div class="topic-metadata">

**Author:** [@FlexWannabe](https://forum.kirupa.com/u/FlexWannabe)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 2:33pm UTC](https://forum.kirupa.com/t/how-to-remove-numbers-from-a-string/286439 "2009-04-15T14:33:46Z")

</div>

I'm trying to replace numbers in a person's name, but cannot seem to get the syntax correct. Can someone help? Below is what I thought would work. var name:String = "BabeRuth27"; var regEx:RegExp = new RegExp("/\[0-9\]/…

---

## [External XML works loaded offline, not loaded online](https://forum.kirupa.com/t/external-xml-works-loaded-offline-not-loaded-online/286437)

<div class="topic-metadata">

**Author:** [@IanCremona](https://forum.kirupa.com/u/IanCremona)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 1:44pm UTC](https://forum.kirupa.com/t/external-xml-works-loaded-offline-not-loaded-online/286437 "2009-04-15T13:44:04Z")

</div>

Can someone tell me what I am doing wrong: var slideNo:Number; slideNo = 0; var xmlLoader:URLLoader = new URLLoader(); xmlLoader.addEventListener(Event.COMPLETE, showXML); xmlLoader.load(new URLRequest("jackpots.xml")…

---

## [CS3 Movie Clip Position on Stage](https://forum.kirupa.com/t/cs3-movie-clip-position-on-stage/286436)

<div class="topic-metadata">

**Author:** [@johnb2](https://forum.kirupa.com/u/johnb2)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 1:42pm UTC](https://forum.kirupa.com/t/cs3-movie-clip-position-on-stage/286436 "2009-04-15T13:42:59Z")

</div>

Hello, I've built a simple XML image viewer in Flash using AS2, fullscreen (noScale). You can view it here - http://www.adamwooden.com/clients/johnbb/imgviewr/ What I'm looking for is help with 2 things. I was lookin…

---

## [How can I do this calculation with actionscript 3.0?](https://forum.kirupa.com/t/how-can-i-do-this-calculation-with-actionscript-3-0/286435)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 1:26pm UTC](https://forum.kirupa.com/t/how-can-i-do-this-calculation-with-actionscript-3-0/286435 "2009-04-15T13:26:29Z")

</div>

\[FONT=Calibri\] Hi, \[/FONT\] \[FONT=Calibri\] How hard would that be to calculate how many time will object “B” fit in object “A” using actionscript 3.0. \[/FONT\] \[FONT=Calibri\] What I want to do is to calculate how…

---

## [FLARToolkit timeline script](https://forum.kirupa.com/t/flartoolkit-timeline-script/286432)

<div class="topic-metadata">

**Author:** [@Dahaka](https://forum.kirupa.com/u/Dahaka)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 12:22pm UTC](https://forum.kirupa.com/t/flartoolkit-timeline-script/286432 "2009-04-15T12:22:07Z")

</div>

Hi all, I'm tying to convert the FLARToolkit class Lee showed in his tutorial for timeline scripting.(i.a. copied the whole damn thing, and put it on a actions layer) So far so good, I cleared out all the class relate…

---

## [Control Delicacy Control](https://forum.kirupa.com/t/control-delicacy-control/286431)

<div class="topic-metadata">

**Author:** [@The\_X](https://forum.kirupa.com/u/The_X)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 12:06pm UTC](https://forum.kirupa.com/t/control-delicacy-control/286431 "2009-04-15T12:06:24Z")

</div>

So, I have a basic Tetris game, which runs quite happily at 15 fps. However, the controls are slightly too sensitive at the moment, as you'll probably see here. Is there anyway way to make the controls less sensitive (sp…

---

## ["new frame label" event?](https://forum.kirupa.com/t/new-frame-label-event/286430)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 12:05pm UTC](https://forum.kirupa.com/t/new-frame-label-event/286430 "2009-04-15T12:05:17Z")

</div>

Is there a way to detect that the playing movieclip's current frame label has changed?

---

## [URL in AS3](https://forum.kirupa.com/t/url-in-as3/286428)

<div class="topic-metadata">

**Author:** [@vikrant29nov](https://forum.kirupa.com/u/vikrant29nov)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 10:51am UTC](https://forum.kirupa.com/t/url-in-as3/286428 "2009-04-15T10:51:11Z")

</div>

I am using below code for URL in AS3 but its not running in browser i.e., when I click on the button it is not opening http://www.kirupa.com function gotoPage(event:MouseEvent):void { var targetURL:URLRequest=new U…

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

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