# flash

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

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

**Page:** 929

---

## [Rotate square around y axis](https://forum.kirupa.com/t/rotate-square-around-y-axis/264103)

<div class="topic-metadata">

**Author:** [@levshin22](https://forum.kirupa.com/u/levshin22)\
**Replies:** 0\
**Last updated:** [June 23, 2008, 7:27am UTC](https://forum.kirupa.com/t/rotate-square-around-y-axis/264103 "2008-06-23T07:27:59Z")

</div>

I've attached a quicktime of what I would like. basically I want to rotate a square around its own y axis. Its part of my website I'm building. When the page loads a black square with my logo is there. Then when a us…

---

## [Questions about the using of root and this.root](https://forum.kirupa.com/t/questions-about-the-using-of-root-and-this-root/264094)

<div class="topic-metadata">

**Author:** [@alex298](https://forum.kirupa.com/u/alex298)\
**Replies:** 1\
**Last updated:** [June 23, 2008, 6:48am UTC](https://forum.kirupa.com/t/questions-about-the-using-of-root-and-this-root/264094 "2008-06-23T06:48:17Z")

</div>

Hi, I have some questions about the using of “this” and “root”: Why the following codes works: var r = root; r.myText\_txt.text = “Kirupa Forum”; But not this: root.myText\_txt.text = “Kirupa Forum”; And why the f…

---

## [ACK! i am stuck =\[](https://forum.kirupa.com/t/ack-i-am-stuck/264018)

<div class="topic-metadata">

**Author:** [@lolz](https://forum.kirupa.com/u/lolz)\
**Replies:** 1\
**Last updated:** [June 23, 2008, 6:30am UTC](https://forum.kirupa.com/t/ack-i-am-stuck/264018 "2008-06-23T06:30:48Z")

</div>

ok so heres the problem I need a life counter similar to mario or sonic side-scrolling games where if the MC of the enemy hits the MC of my character it will subtract 1 life, yet no matter how hard i try to come up with …

---

## [Vista gadget policy file bug](https://forum.kirupa.com/t/vista-gadget-policy-file-bug/263584)

<div class="topic-metadata">

**Author:** [@yba](https://forum.kirupa.com/u/yba)\
**Replies:** 2\
**Last updated:** [June 23, 2008, 6:02am UTC](https://forum.kirupa.com/t/vista-gadget-policy-file-bug/263584 "2008-06-23T06:02:54Z")

</div>

We have developed a gadget application for Microsoft Vista one year ago, gadget includes a swf file which loads data from our webserver, so when client uses the gadget, the address of swf is, "file:///C:/Users/username/A…

---

## [Keyboard lag](https://forum.kirupa.com/t/keyboard-lag/263871)

<div class="topic-metadata">

**Author:** [@suvenier](https://forum.kirupa.com/u/suvenier)\
**Replies:** 9\
**Last updated:** [June 23, 2008, 3:40am UTC](https://forum.kirupa.com/t/keyboard-lag/263871 "2008-06-23T03:40:01Z")

</div>

hello as3! this is my main class: package { import flash.display.Sprite; import flash.events.Event; import flash.events.KeyboardEvent; import flash.ui.Keyboard; public class main extends Sprite…

---

## [Scaling buttons on rollOver](https://forum.kirupa.com/t/scaling-buttons-on-rollover/246363)

<div class="topic-metadata">

**Author:** [@meglundy](https://forum.kirupa.com/u/meglundy)\
**Replies:** 4\
**Last updated:** [June 22, 2008, 11:26pm UTC](https://forum.kirupa.com/t/scaling-buttons-on-rollover/246363 "2008-06-22T23:26:12Z")

</div>

Ok, so first thank you in advance for helping. Ok so check out this page: http://paragon.sortismarketing.com, and check out the scrolling menu below. This is the infinite scrolling menu found on this site. It works gre…

---

## [Help needed getting XML photo gallery categories working](https://forum.kirupa.com/t/help-needed-getting-xml-photo-gallery-categories-working/264063)

<div class="topic-metadata">

**Author:** [@mrflume](https://forum.kirupa.com/u/mrflume)\
**Replies:** 1\
**Last updated:** [June 22, 2008, 10:48pm UTC](https://forum.kirupa.com/t/help-needed-getting-xml-photo-gallery-categories-working/264063 "2008-06-22T22:48:55Z")

</div>

Hi, I searched through the forum and haven't really found a clear cut answer as to how to get categories working with the kirupa xml photo gallery. I read on one of the posts that I should make a "multi-dimensional array…

---

## [Counting Line Breaks in htmlText](https://forum.kirupa.com/t/counting-line-breaks-in-htmltext/264012)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 5\
**Last updated:** [June 22, 2008, 10:32pm UTC](https://forum.kirupa.com/t/counting-line-breaks-in-htmltext/264012 "2008-06-22T22:32:31Z")

</div>

Is there any way to count line breaks within htmlText? It doesn't look like using indexOf("\<br\>"); will work because the renderer has already created the textfield display by the time this code would run. So there w…

---

## [Astonishing X-ray Effect](https://forum.kirupa.com/t/astonishing-x-ray-effect/264061)

<div class="topic-metadata">

**Author:** [@Argentin](https://forum.kirupa.com/u/Argentin)\
**Replies:** 3\
**Last updated:** [June 22, 2008, 10:00pm UTC](https://forum.kirupa.com/t/astonishing-x-ray-effect/264061 "2008-06-22T22:00:33Z")

</div>

This Effect is like the best effect i ever seen until now I liked it so much i made a tutorial If you want to make it too check it out You also have the Effect Result too so you will see what you will get after you follo…

---

## [Make a Button Stay in the Roll Over State When Clicked](https://forum.kirupa.com/t/make-a-button-stay-in-the-roll-over-state-when-clicked/264057)

<div class="topic-metadata">

**Author:** [@s0undsystem](https://forum.kirupa.com/u/s0undsystem)\
**Replies:** 4\
**Last updated:** [June 22, 2008, 9:09pm UTC](https://forum.kirupa.com/t/make-a-button-stay-in-the-roll-over-state-when-clicked/264057 "2008-06-22T21:09:14Z")

</div>

Hi everyone, Does anyone know how to make a button stay in the down position in CS3, Actionscript 3.0? I have 3 buttons, each with the same roll over state. What I'd like to do is when the button is clicked, it remains…

---

## [Papervision3D Forum](https://forum.kirupa.com/t/papervision3d-forum/251335)

<div class="topic-metadata">

**Author:** [@MazAwushu](https://forum.kirupa.com/u/MazAwushu)\
**Replies:** 1\
**Last updated:** [June 22, 2008, 8:37pm UTC](https://forum.kirupa.com/t/papervision3d-forum/251335 "2008-06-22T20:37:17Z")

</div>

Hello to all! I've been watching the constantly increasing interest in Papervision3D technology (demos available at http://commandshift3.com/tag/papervision3d and http://www.beedigital.net/blog/?p=1736) and so I became…

---

## [Make a Button Stay in the Down State When Clicked](https://forum.kirupa.com/t/make-a-button-stay-in-the-down-state-when-clicked/264056)

<div class="topic-metadata">

**Author:** [@s0undsystem](https://forum.kirupa.com/u/s0undsystem)\
**Replies:** 2\
**Last updated:** [June 22, 2008, 8:27pm UTC](https://forum.kirupa.com/t/make-a-button-stay-in-the-down-state-when-clicked/264056 "2008-06-22T20:27:13Z")

</div>

Hi everyone, Does anyone know how to make a button stay in the down position in CS3, Actionscript 3.0? I have 3 buttons, each with the same roll over state. What I'd like to do is when the button is clicked, it remain…

---

## [Event.INIT question](https://forum.kirupa.com/t/event-init-question/264050)

<div class="topic-metadata">

**Author:** [@Dom\_1](https://forum.kirupa.com/u/Dom_1)\
**Replies:** 3\
**Last updated:** [June 22, 2008, 8:24pm UTC](https://forum.kirupa.com/t/event-init-question/264050 "2008-06-22T20:24:40Z")

</div>

So, when loading a swf file the Event.INIT event is dispatched when the first frame of the swf file has been loaded. Does this work with bitmaps ? can you access, say, the width and height of a bitmap in an Event.INIT ev…

---

## [Can't remove MovieClip Child Dynamically](https://forum.kirupa.com/t/cant-remove-movieclip-child-dynamically/263900)

<div class="topic-metadata">

**Author:** [@energy](https://forum.kirupa.com/u/energy)\
**Replies:** 9\
**Last updated:** [June 22, 2008, 7:42pm UTC](https://forum.kirupa.com/t/cant-remove-movieclip-child-dynamically/263900 "2008-06-22T19:42:34Z")

</div>

Hi EveryBody, Please help me out in solving this. I have been trying to remove all CHilds in a Movie CLip since Yesterday without success. Movie Clip is being filled dynamically and i also need to remove its childrens …

---

## [Nav Buttons & Active State: Fact or Fiction!](https://forum.kirupa.com/t/nav-buttons-active-state-fact-or-fiction/84598)

<div class="topic-metadata">

**Author:** [@lrhb](https://forum.kirupa.com/u/lrhb)\
**Replies:** 1\
**Last updated:** [June 22, 2008, 7:20pm UTC](https://forum.kirupa.com/t/nav-buttons-active-state-fact-or-fiction/84598 "2008-06-22T19:20:14Z")

</div>

Hello everyone, I'm sure there's a simple way to do this but my brain has left me thinking I am an academy and it is time for it's Spring Break. I think it might be somewhere in Mexico, but I just hope I don't see it o…

---

## [Cool Equalizer Bar Effect](https://forum.kirupa.com/t/cool-equalizer-bar-effect/264054)

<div class="topic-metadata">

**Author:** [@Argentin](https://forum.kirupa.com/u/Argentin)\
**Replies:** 0\
**Last updated:** [June 22, 2008, 7:07pm UTC](https://forum.kirupa.com/t/cool-equalizer-bar-effect/264054 "2008-06-22T19:07:32Z")

</div>

Check out this tutorial to see how you can make a cool looking Equalizer Bar Effect. Please tell me what you think about it. http://flashbase.smfforfree4.com/index.php/topic,9.msg9.html#msg9

---

## [Embed Video](https://forum.kirupa.com/t/embed-video/263978)

<div class="topic-metadata">

**Author:** [@SmoothDime](https://forum.kirupa.com/u/SmoothDime)\
**Replies:** 3\
**Last updated:** [June 22, 2008, 6:54pm UTC](https://forum.kirupa.com/t/embed-video/263978 "2008-06-22T18:54:59Z")

</div>

Hi, When I embed a video on a timeline and then call stop() the video portion stops but the sound continues to play(is if it weren't synced with the video). How can I also stop the sound within in the embedded timeli…

---

## [Loading Swf files](https://forum.kirupa.com/t/loading-swf-files/264052)

<div class="topic-metadata">

**Author:** [@antegrav08](https://forum.kirupa.com/u/antegrav08)\
**Replies:** 0\
**Last updated:** [June 22, 2008, 6:34pm UTC](https://forum.kirupa.com/t/loading-swf-files/264052 "2008-06-22T18:34:38Z")

</div>

Hello everyone, I just recently posted a msg concerning making an xml player load, and i pretty much resolved it by adding a different player. only now when i try loading the different sections only one section keeps com…

---

## [Help with assigning xml nodes to text field](https://forum.kirupa.com/t/help-with-assigning-xml-nodes-to-text-field/264049)

<div class="topic-metadata">

**Author:** [@kramp1502](https://forum.kirupa.com/u/kramp1502)\
**Replies:** 0\
**Last updated:** [June 22, 2008, 5:34pm UTC](https://forum.kirupa.com/t/help-with-assigning-xml-nodes-to-text-field/264049 "2008-06-22T17:34:49Z")

</div>

Hi there everybody, I was wondering if someone can help me with assigning the values from an xml file to textfields within four movieclips on my stage I have four movieclips: intance names = one, two,three, four in each …

---

## [removeEventListener function will nicht](https://forum.kirupa.com/t/removeeventlistener-function-will-nicht/264009)

<div class="topic-metadata">

**Author:** [@zoimt](https://forum.kirupa.com/u/zoimt)\
**Replies:** 3\
**Last updated:** [June 22, 2008, 4:54pm UTC](https://forum.kirupa.com/t/removeeventlistener-function-will-nicht/264009 "2008-06-22T16:54:45Z")

</div>

Good morning! I am at daggers drawn with the following. function onMouseclick(e:MouseEvent):void { if(e.target == buttonHome) { var noEventListener:Array = new Array("buttonFolioDraft", "buttonFolioPhot", "buttonF…

---

## [Random color generator AS Flash 8](https://forum.kirupa.com/t/random-color-generator-as-flash-8/263909)

<div class="topic-metadata">

**Author:** [@stic](https://forum.kirupa.com/u/stic)\
**Replies:** 5\
**Last updated:** [June 22, 2008, 4:24pm UTC](https://forum.kirupa.com/t/random-color-generator-as-flash-8/263909 "2008-06-22T16:24:19Z")

</div>

Hi everyone, There is this random color generator tutorial posted by Kirupa but written for AS 1.0 and Flash 5. The url is http://www.kirupa.com/developer/flash5/randomcolor.htm Can someone please re-write the code esp…

---

## [Create Textboxes in AS3](https://forum.kirupa.com/t/create-textboxes-in-as3/264043)

<div class="topic-metadata">

**Author:** [@imbored531](https://forum.kirupa.com/u/imbored531)\
**Replies:** 1\
**Last updated:** [June 22, 2008, 4:01pm UTC](https://forum.kirupa.com/t/create-textboxes-in-as3/264043 "2008-06-22T16:01:39Z")

</div>

I'm trying to figure out how to create a lot of text fields with different names in AS3. I want each text field's name to be unit0, unit1, unit2 and so on. Anyone have any idea how to do this with a for loop? Here'…

---

## [CSS problem in flash](https://forum.kirupa.com/t/css-problem-in-flash/264037)

<div class="topic-metadata">

**Author:** [@tpspoons](https://forum.kirupa.com/u/tpspoons)\
**Replies:** 2\
**Last updated:** [June 22, 2008, 3:12pm UTC](https://forum.kirupa.com/t/css-problem-in-flash/264037 "2008-06-22T15:12:03Z")

</div>

I'm not sure what I'm doing wrong here (my css skills are really poor) or if it isn't supported in flash, either way could anyone tell me why this isn't working: var str:String = "a.whatever:link { color:#FF0000 }" +…

---

## [Video player and Mac](https://forum.kirupa.com/t/video-player-and-mac/264034)

<div class="topic-metadata">

**Author:** [@astroanalyst](https://forum.kirupa.com/u/astroanalyst)\
**Replies:** 0\
**Last updated:** [June 22, 2008, 10:39am UTC](https://forum.kirupa.com/t/video-player-and-mac/264034 "2008-06-22T10:39:05Z")

</div>

I created a CDROM that uses flash video. Initially everything worked fine when I saved the executable to the root directory of the cdrom and the video player skin automatically got saved with it. To clean up the root …

---

## [F8|AS2 ExternalInterface AddCallback not working - Help!](https://forum.kirupa.com/t/f8-as2-externalinterface-addcallback-not-working-help/255087)

<div class="topic-metadata">

**Author:** [@Porton](https://forum.kirupa.com/u/Porton)\
**Replies:** 1\
**Last updated:** [June 22, 2008, 9:44am UTC](https://forum.kirupa.com/t/f8-as2-externalinterface-addcallback-not-working-help/255087 "2008-06-22T09:44:32Z")

</div>

I have never posted to this forum before but I am about to pull my hair out. Please help. I've created a page that used External Interface before with no problems and I can't figure out what makes this one different…

---

## [XML Gallery with category](https://forum.kirupa.com/t/xml-gallery-with-category/263513)

<div class="topic-metadata">

**Author:** [@ndableg](https://forum.kirupa.com/u/ndableg)\
**Replies:** 10\
**Last updated:** [June 22, 2008, 7:27am UTC](https://forum.kirupa.com/t/xml-gallery-with-category/263513 "2008-06-22T07:27:31Z")

</div>

Hi, I made a gallery with some categories. For example: 4 photo's in category 1, 2 photo's in category 2, etc. Therefore, I make the xml like this: \<?xml version="1.0" encoding="UTF-8"?\> \<gallery\> \<picture category…

---

## [Animated Music Button Issues (MX). Please Help :)](https://forum.kirupa.com/t/animated-music-button-issues-mx-please-help/263989)

<div class="topic-metadata">

**Author:** [@DC\_Creative](https://forum.kirupa.com/u/DC_Creative)\
**Replies:** 3\
**Last updated:** [June 22, 2008, 7:11am UTC](https://forum.kirupa.com/t/animated-music-button-issues-mx-please-help/263989 "2008-06-22T07:11:52Z")

</div>

\*\*Hey guys, \*\* I've got a problem that hopefully has a simple solution. I'm trying to create an animated speaker button (with animated soundwave icon) that automatically plays music loop when the site loads, and allows…

---

## [Help really needed!](https://forum.kirupa.com/t/help-really-needed/264019)

<div class="topic-metadata">

**Author:** [@hanx](https://forum.kirupa.com/u/hanx)\
**Replies:** 1\
**Last updated:** [June 22, 2008, 7:02am UTC](https://forum.kirupa.com/t/help-really-needed/264019 "2008-06-22T07:02:47Z")

</div>

Hi all, I have a problem about loading external image gallery. the gallery loaded, but the image won't show... my files is like this : main.swf \<---load--- pict.swf(is a gallery) \<---load-- images.jpg this is the files…

---

## [Can't get Word doc to load](https://forum.kirupa.com/t/cant-get-word-doc-to-load/264017)

<div class="topic-metadata">

**Author:** [@Tarnished](https://forum.kirupa.com/u/Tarnished)\
**Replies:** 0\
**Last updated:** [June 22, 2008, 5:42am UTC](https://forum.kirupa.com/t/cant-get-word-doc-to-load/264017 "2008-06-22T05:42:51Z")

</div>

I need to set up a button to open a word doc once it's pressed. I've already gotten one to work for a PDF, but the script is different I guess..any help would be greatly appreciated.

---

## [Links dont work when published!](https://forum.kirupa.com/t/links-dont-work-when-published/263981)

<div class="topic-metadata">

**Author:** [@anix](https://forum.kirupa.com/u/anix)\
**Replies:** 1\
**Last updated:** [June 22, 2008, 5:28am UTC](https://forum.kirupa.com/t/links-dont-work-when-published/263981 "2008-06-22T05:28:57Z")

</div>

Hi i have just inished creating my Flash portfolio website in Flash CS3 (AS3) and when i tested the movieclip in Flash everythink worked ok all the links worked perfectly and all was good. Now when i have published the f…

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

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