# flash

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

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

**Page:** 543

---

## [Timed incremental Increase (For, setInterval?)](https://forum.kirupa.com/t/timed-incremental-increase-for-setinterval/294247)

<div class="topic-metadata">

**Author:** [@Kaitenshin](https://forum.kirupa.com/u/Kaitenshin)\
**Replies:** 0\
**Last updated:** [August 11, 2009, 12:19pm UTC](https://forum.kirupa.com/t/timed-incremental-increase-for-setinterval/294247 "2009-08-11T12:19:26Z")

</div>

I'm trying to make certain variables I have, increase by a set variable amount every 1 second, in a continuous loop. However, everything I've tried (using 'for' or 'setInterval') never seems to work for me. Does any one …

---

## [TextField restrict property and RegExp?](https://forum.kirupa.com/t/textfield-restrict-property-and-regexp/294244)

<div class="topic-metadata">

**Author:** [@jdoe](https://forum.kirupa.com/u/jdoe)\
**Replies:** 0\
**Last updated:** [August 11, 2009, 11:29am UTC](https://forum.kirupa.com/t/textfield-restrict-property-and-regexp/294244 "2009-08-11T11:29:50Z")

</div>

Hi: It seems it isn't possible to use RegExp with restrict property, any workaround? I received this specification for dates in an input field: ^((0\[1-9\]|\[12\]\[0-9\]|3\[01\])/(0\[1-9\]|1\[0-2\])/(19\[0-9\]\[0-9\]|2\[0-9\]\[0-9\]\[0-9…

---

## [AS2 help for a newbeeee please!](https://forum.kirupa.com/t/as2-help-for-a-newbeeee-please/294243)

<div class="topic-metadata">

**Author:** [@cinimod3](https://forum.kirupa.com/u/cinimod3)\
**Replies:** 0\
**Last updated:** [August 11, 2009, 11:29am UTC](https://forum.kirupa.com/t/as2-help-for-a-newbeeee-please/294243 "2009-08-11T11:29:44Z")

</div>

Hi. My first post! :hugegrin: I have been an admirer of this forum for many many month now and i am very grateful for the hours of head scratching i've avoided thanks to it and all the good people offering their advice. …

---

## [Auto-Resizing and Centering your Content tutorial](https://forum.kirupa.com/t/auto-resizing-and-centering-your-content-tutorial/294241)

<div class="topic-metadata">

**Author:** [@arsenalfc](https://forum.kirupa.com/u/arsenalfc)\
**Replies:** 0\
**Last updated:** [August 11, 2009, 11:16am UTC](https://forum.kirupa.com/t/auto-resizing-and-centering-your-content-tutorial/294241 "2009-08-11T11:16:27Z")

</div>

I've just run through this tutorial and I've got my site centering in my browser as planned. http://www.kirupa.com/developer/as3/resizing\_centering\_as3.htm However when I resize my browser window the text (I'm using …

---

## [Question about image gallery](https://forum.kirupa.com/t/question-about-image-gallery/294240)

<div class="topic-metadata">

**Author:** [@solomondg1](https://forum.kirupa.com/u/solomondg1)\
**Replies:** 0\
**Last updated:** [August 11, 2009, 11:07am UTC](https://forum.kirupa.com/t/question-about-image-gallery/294240 "2009-08-11T11:07:41Z")

</div>

I used the image gallery code from this tutorial: http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm Everything works great, I heavily modified the code and even added the ability to load/play flv files an…

---

## [Dispatching event on exit](https://forum.kirupa.com/t/dispatching-event-on-exit/294239)

<div class="topic-metadata">

**Author:** [@komapeb](https://forum.kirupa.com/u/komapeb)\
**Replies:** 0\
**Last updated:** [August 11, 2009, 11:03am UTC](https://forum.kirupa.com/t/dispatching-event-on-exit/294239 "2009-08-11T11:03:08Z")

</div>

Does flash dispatch any event just before it's closed? e.g. When the user closes the browser? I searched the documentation and there's nothing. I thought the stage should dispatch an event. If there isn't any can I make …

---

## [How to enable the esc key AS shortcuts?](https://forum.kirupa.com/t/how-to-enable-the-esc-key-as-shortcuts/294238)

<div class="topic-metadata">

**Author:** [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Replies:** 0\
**Last updated:** [August 11, 2009, 10:48am UTC](https://forum.kirupa.com/t/how-to-enable-the-esc-key-as-shortcuts/294238 "2009-08-11T10:48:23Z")

</div>

OK, this is starting to annoy me pretty intensely. For some reason the esc key shortcuts are not functioning, and nothing I do seems to be able to restore them. Even ticking the 'Esc Key Shortcuts' option in the actions …

---

## [New to flash: creating seperate control box](https://forum.kirupa.com/t/new-to-flash-creating-seperate-control-box/294237)

<div class="topic-metadata">

**Author:** [@adypeckitt](https://forum.kirupa.com/u/adypeckitt)\
**Replies:** 0\
**Last updated:** [August 11, 2009, 10:40am UTC](https://forum.kirupa.com/t/new-to-flash-creating-seperate-control-box/294237 "2009-08-11T10:40:27Z")

</div>

hi, im pretty new to flash im primarily a vfx designer for video working in after effects, shake etc ive designed a gallery for my website but the problem is i need to have the thumbnail based controls in a seperate …

---

## [Flash Banner Effect](https://forum.kirupa.com/t/flash-banner-effect/294233)

<div class="topic-metadata">

**Author:** [@rashmi\_shri](https://forum.kirupa.com/u/rashmi_shri)\
**Replies:** 0\
**Last updated:** [August 11, 2009, 10:13am UTC](https://forum.kirupa.com/t/flash-banner-effect/294233 "2009-08-11T10:13:49Z")

</div>

Can anyone guide me to create this type of Flash banner effect in Flash CS4 http://www.templatehelp.com/preset/pr\_preview.php?i=23437&pr\_code=e26LVbrq8rUOas4ED4N0z1FwpQL6sK

---

## [Make xml imported in loader class global](https://forum.kirupa.com/t/make-xml-imported-in-loader-class-global/294226)

<div class="topic-metadata">

**Author:** [@phastings](https://forum.kirupa.com/u/phastings)\
**Replies:** 0\
**Last updated:** [August 11, 2009, 7:09am UTC](https://forum.kirupa.com/t/make-xml-imported-in-loader-class-global/294226 "2009-08-11T07:09:06Z")

</div>

Hi, I tried to search for this but the search wasn't working. I have a loder class where i load in some xml. This is the function that's called after the xml is loaded: public function loadedXML(e:Event):void { …

---

## [Flv issue](https://forum.kirupa.com/t/flv-issue/294220)

<div class="topic-metadata">

**Author:** [@roll4dasoul](https://forum.kirupa.com/u/roll4dasoul)\
**Replies:** 0\
**Last updated:** [August 11, 2009, 3:42am UTC](https://forum.kirupa.com/t/flv-issue/294220 "2009-08-11T03:42:57Z")

</div>

Hello, I'm having an issu converting an flv for web. This may not be the right place to post because of the videos source but I thought I would give it a try. Anyways the video is coming from premiere pro and being enc…

---

## [Problem with Event Propagation](https://forum.kirupa.com/t/problem-with-event-propagation/294218)

<div class="topic-metadata">

**Author:** [@kodos](https://forum.kirupa.com/u/kodos)\
**Replies:** 0\
**Last updated:** [August 11, 2009, 12:42am UTC](https://forum.kirupa.com/t/problem-with-event-propagation/294218 "2009-08-11T00:42:29Z")

</div>

I am having a problem using Event Propagation. I have a movieclip with a Mouse Over and Mouse Out function attached to it. The visual result I am seeking is this: http://www.garrigan.net/Question/ This SWF was create…

---

## [Modifying the kirupa thumbnail scroller for gallery?](https://forum.kirupa.com/t/modifying-the-kirupa-thumbnail-scroller-for-gallery/294217)

<div class="topic-metadata">

**Author:** [@tokey666](https://forum.kirupa.com/u/tokey666)\
**Replies:** 0\
**Last updated:** [August 11, 2009, 12:31am UTC](https://forum.kirupa.com/t/modifying-the-kirupa-thumbnail-scroller-for-gallery/294217 "2009-08-11T00:31:09Z")

</div>

I am looking to modify the kirupa thumbnail scroller. It just doesn't work as smoothly and as well as I would like. I simply would like to have two buttons that make the thumbnails slide in the correct directions. Here…

---

## [Add a button using AS 3.0](https://forum.kirupa.com/t/add-a-button-using-as-3-0/294215)

<div class="topic-metadata">

**Author:** [@jfeiner99](https://forum.kirupa.com/u/jfeiner99)\
**Replies:** 0\
**Last updated:** [August 10, 2009, 11:21pm UTC](https://forum.kirupa.com/t/add-a-button-using-as-3-0/294215 "2009-08-10T23:21:35Z")

</div>

Hello does anyone know how to add a button using AS 3.0 I tried the following import import fl.controls.button; and got the error 1172: Definition fl.controls:button could not be found. any ideas Thanks Jason

---

## [Stopping a sound that's in the timeline of a movieClip?](https://forum.kirupa.com/t/stopping-a-sound-thats-in-the-timeline-of-a-movieclip/294214)

<div class="topic-metadata">

**Author:** [@madfatter](https://forum.kirupa.com/u/madfatter)\
**Replies:** 0\
**Last updated:** [August 10, 2009, 11:19pm UTC](https://forum.kirupa.com/t/stopping-a-sound-thats-in-the-timeline-of-a-movieclip/294214 "2009-08-10T23:19:16Z")

</div>

I've got a situation where I'm trying to synch a camera sound with some flashing light effects that are contained in a movieClip on the stage. I only want the flashing sounds to go off twice. If I call the sound from ac…

---

## [Tween Thumbnail Scrolling - trouble with button control](https://forum.kirupa.com/t/tween-thumbnail-scrolling-trouble-with-button-control/294209)

<div class="topic-metadata">

**Author:** [@NewFormDesign](https://forum.kirupa.com/u/NewFormDesign)\
**Replies:** 0\
**Last updated:** [August 10, 2009, 9:50pm UTC](https://forum.kirupa.com/t/tween-thumbnail-scrolling-trouble-with-button-control/294209 "2009-08-10T21:50:10Z")

</div>

Hi all, I'm a newbie, totally stuck, and would GREATLY appreciate any help on this. All I've been trying to do is to move a string of thumbnails - thumbHolder\_mc - incrementally (like every 386 pixels) left and right, c…

---

## [Attempting to get a movie clip to play from another (AS3)](https://forum.kirupa.com/t/attempting-to-get-a-movie-clip-to-play-from-another-as3/294207)

<div class="topic-metadata">

**Author:** [@hued](https://forum.kirupa.com/u/hued)\
**Replies:** 0\
**Last updated:** [August 10, 2009, 9:13pm UTC](https://forum.kirupa.com/t/attempting-to-get-a-movie-clip-to-play-from-another-as3/294207 "2009-08-10T21:13:13Z")

</div>

Hello all, I am attempting to get a movie clip from the Library to play from another movie clip. I knew how to do this in AS2, but I'm trying to learn AS3 and I am at a loss to understand how to do this. In AS2 I woul…

---

## [FlashVars as Global Variables?](https://forum.kirupa.com/t/flashvars-as-global-variables/294206)

<div class="topic-metadata">

**Author:** [@FPG](https://forum.kirupa.com/u/FPG)\
**Replies:** 0\
**Last updated:** [August 10, 2009, 9:02pm UTC](https://forum.kirupa.com/t/flashvars-as-global-variables/294206 "2009-08-10T21:02:07Z")

</div>

I'm trying to make my FlashVars global so that they can be accessed in all of my scripts. I have an external .as file called 'globalvars.as' and it has the following code: package{ import flash.display.\*; pub…

---

## [How to tween a regular number variable with AS3](https://forum.kirupa.com/t/how-to-tween-a-regular-number-variable-with-as3/294201)

<div class="topic-metadata">

**Author:** [@tjphilli](https://forum.kirupa.com/u/tjphilli)\
**Replies:** 0\
**Last updated:** [August 10, 2009, 8:32pm UTC](https://forum.kirupa.com/t/how-to-tween-a-regular-number-variable-with-as3/294201 "2009-08-10T20:32:03Z")

</div>

Hey all. I have several objects referencing one value in a number, and I need to tween this number but I cant figure out how. I'll use whatever, the built in tweens or tweener or anything. I cant figure out how to refe…

---

## [Simple question - randomize a list](https://forum.kirupa.com/t/simple-question-randomize-a-list/294200)

<div class="topic-metadata">

**Author:** [@cantaloupe](https://forum.kirupa.com/u/cantaloupe)\
**Replies:** 0\
**Last updated:** [August 10, 2009, 8:08pm UTC](https://forum.kirupa.com/t/simple-question-randomize-a-list/294200 "2009-08-10T20:08:19Z")

</div>

Hi, I think this would prob be done with arrays? Though I'm not sure. Say I have a list of 5 boys names - I want the list to be in a different order each time the swf is played. So... Jon Dan Bob Bill Dave \*The n…

---

## [Strange Issue - Panelworx](https://forum.kirupa.com/t/strange-issue-panelworx/294193)

<div class="topic-metadata">

**Author:** [@dmennenoh](https://forum.kirupa.com/u/dmennenoh)\
**Replies:** 0\
**Last updated:** [August 10, 2009, 7:31pm UTC](https://forum.kirupa.com/t/strange-issue-panelworx/294193 "2009-08-10T19:31:53Z")

</div>

I've got an issue that I've been unable to get a handle on and am hoping someone may have seen something similar. I have a game, done in AS3 which works perfect on three different test machines - all running XP, SP3. On…

---

## [Full Screen problem with loaded .SWF](https://forum.kirupa.com/t/full-screen-problem-with-loaded-swf/294190)

<div class="topic-metadata">

**Author:** [@jMilstead](https://forum.kirupa.com/u/jMilstead)\
**Replies:** 0\
**Last updated:** [August 10, 2009, 7:16pm UTC](https://forum.kirupa.com/t/full-screen-problem-with-loaded-swf/294190 "2009-08-10T19:16:51Z")

</div>

I am making a video player that will be used every where on my site. The full screen button works fine on the FLV player I built, when it is embedded in html, but if I try and load it through another SWF file that is emb…

---

## [Img gallery XMLList issue : (](https://forum.kirupa.com/t/img-gallery-xmllist-issue/294186)

<div class="topic-metadata">

**Author:** [@Atroxe](https://forum.kirupa.com/u/Atroxe)\
**Replies:** 0\
**Last updated:** [August 10, 2009, 5:37pm UTC](https://forum.kirupa.com/t/img-gallery-xmllist-issue/294186 "2009-08-10T17:37:29Z")

</div>

So, I've steered my boat in to the world of Flash and AS3, indeed very funny and creative, but i comes along with a heap of problems. I've built a basic gallery to display images and some text content, which can be see…

---

## [Papervision3D "Front-on" Camera Angle](https://forum.kirupa.com/t/papervision3d-front-on-camera-angle/294183)

<div class="topic-metadata">

**Author:** [@trundrumbalind](https://forum.kirupa.com/u/trundrumbalind)\
**Replies:** 0\
**Last updated:** [August 10, 2009, 5:04pm UTC](https://forum.kirupa.com/t/papervision3d-front-on-camera-angle/294183 "2009-08-10T17:04:00Z")

</div>

Hi there, So I'm going to have a wall of cubes and basically, I don't want to see the sides of them. I just want them all to be facing directly into the camera (so basically you'd just think it was a bunch of squares to …

---

## [How to implement the word effect like twba.com.cn](https://forum.kirupa.com/t/how-to-implement-the-word-effect-like-twba-com-cn/294180)

<div class="topic-metadata">

**Author:** [@EmilMatthew](https://forum.kirupa.com/u/EmilMatthew)\
**Replies:** 0\
**Last updated:** [August 10, 2009, 3:33pm UTC](https://forum.kirupa.com/t/how-to-implement-the-word-effect-like-twba-com-cn/294180 "2009-08-10T15:33:27Z")

</div>

On the site www.twba.com.cn , for the words showing out, it use a dynamic effect to show it out. And especially,the blue background of the text is adjust accroding to the each line’s width. I just want to know is the…

---

## [3D Flip - RotationY](https://forum.kirupa.com/t/3d-flip-rotationy/294178)

<div class="topic-metadata">

**Author:** [@jfloss](https://forum.kirupa.com/u/jfloss)\
**Replies:** 0\
**Last updated:** [August 10, 2009, 2:47pm UTC](https://forum.kirupa.com/t/3d-flip-rotationy/294178 "2009-08-10T14:47:41Z")

</div>

What's going on? I'm a newbie but I'm learning fast and furiously. I want to rotate two images on the y axis. For instance I got two cards, front and back. On EnterFrame I want the rotating movieclip to exchange th…

---

## [Child access issue](https://forum.kirupa.com/t/child-access-issue/294177)

<div class="topic-metadata">

**Author:** [@Alpha\_Remex](https://forum.kirupa.com/u/Alpha_Remex)\
**Replies:** 0\
**Last updated:** [August 10, 2009, 2:37pm UTC](https://forum.kirupa.com/t/child-access-issue/294177 "2009-08-10T14:37:54Z")

</div>

Ok, so I have a form in my program where people can check off individual buttons using click event listeners. This works great. Now I am trying to add a "Select All" button. This loops through all of the MovieClips i…

---

## [Draw line to follow MC](https://forum.kirupa.com/t/draw-line-to-follow-mc/294176)

<div class="topic-metadata">

**Author:** [@fjckls](https://forum.kirupa.com/u/fjckls)\
**Replies:** 0\
**Last updated:** [August 10, 2009, 2:11pm UTC](https://forum.kirupa.com/t/draw-line-to-follow-mc/294176 "2009-08-10T14:11:11Z")

</div>

Hi, I have moving movie clip on stage and I want to draw a line so that it fallows my MC. var sp:Sprite = new Sprite(); addChild(sp); var g:Graphics = sp.graphics; g.lineStyle(1,0x000000); addEventListener(Event.ENTE…

---

## [Easiest Way To Solve This?](https://forum.kirupa.com/t/easiest-way-to-solve-this/294175)

<div class="topic-metadata">

**Author:** [@popnfresh24](https://forum.kirupa.com/u/popnfresh24)\
**Replies:** 0\
**Last updated:** [August 10, 2009, 2:04pm UTC](https://forum.kirupa.com/t/easiest-way-to-solve-this/294175 "2009-08-10T14:04:52Z")

</div>

I have 34 movieclips which are all dragable... they can be dragged to any of 5 different targets... but i need a way so that if there is a movieclip already in one of the targets then it'll return to it's original place …

---

## [Problem with Button function](https://forum.kirupa.com/t/problem-with-button-function/294174)

<div class="topic-metadata">

**Author:** [@Gyan\_Singh](https://forum.kirupa.com/u/Gyan_Singh)\
**Replies:** 0\
**Last updated:** [August 10, 2009, 1:57pm UTC](https://forum.kirupa.com/t/problem-with-button-function/294174 "2009-08-10T13:57:05Z")

</div>

Hi Friends, I have different buttons on my stage to go to different frame.. To avoid multiple function, I write single function like this: targetFrame (btn1, "frame\_q1"); targetFrame (btn2, "frame\_q2"); targetFram…

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

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