# flash

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

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

**Page:** 337

---

## [Drop down menu with animated button](https://forum.kirupa.com/t/drop-down-menu-with-animated-button/309720)

<div class="topic-metadata">

**Author:** [@Andy4729](https://forum.kirupa.com/u/Andy4729)\
**Replies:** 0\
**Last updated:** [May 22, 2010, 1:25pm UTC](https://forum.kirupa.com/t/drop-down-menu-with-animated-button/309720 "2010-05-22T13:25:37Z")

</div>

Ok, so first I made a curcular button which animates when the mouse rolls over it which you can see here: http://megaswf.com/view/3bfabdcee12d...121bde5e0.html I have since realised that I want to have the button p…

---

## [attachMovie with jpeg from library CS4](https://forum.kirupa.com/t/attachmovie-with-jpeg-from-library-cs4/309717)

<div class="topic-metadata">

**Author:** [@boyiscola](https://forum.kirupa.com/u/boyiscola)\
**Replies:** 0\
**Last updated:** [May 22, 2010, 8:23am UTC](https://forum.kirupa.com/t/attachmovie-with-jpeg-from-library-cs4/309717 "2010-05-22T08:23:08Z")

</div>

Has attachMovie changed behaviour in the last 10 years? I'm running the following code: \_root.createEmptyMovieClip("holder", 1); \_root.holder.attachMovie('p1','image\_1',2); trace(\_root.holder.image\_1.\_width); Trace…

---

## [Calculate perfect textHeight which loads image with text](https://forum.kirupa.com/t/calculate-perfect-textheight-which-loads-image-with-text/309716)

<div class="topic-metadata">

**Author:** [@black\_pearl](https://forum.kirupa.com/u/black_pearl)\
**Replies:** 0\
**Last updated:** [May 22, 2010, 6:35am UTC](https://forum.kirupa.com/t/calculate-perfect-textheight-which-loads-image-with-text/309716 "2010-05-22T06:35:06Z")

</div>

I have a dynamic textfield (with HTML = true) in stage. I am loading content into this textfield using HTML syntax. I want to calculate the textfield height. The textfield height is showing perfectly when I am loading …

---

## [Updating dynamic text box for simple rpg](https://forum.kirupa.com/t/updating-dynamic-text-box-for-simple-rpg/309713)

<div class="topic-metadata">

**Author:** [@overlordlink](https://forum.kirupa.com/u/overlordlink)\
**Replies:** 0\
**Last updated:** [May 22, 2010, 2:03am UTC](https://forum.kirupa.com/t/updating-dynamic-text-box-for-simple-rpg/309713 "2010-05-22T02:03:34Z")

</div>

Hey everyone im trying to learn and understand actionscript 2.0... so i figured the first thing i would do is make a simple rpg. What i have done so far is make 4 way movement and now im trying to make a hitTest where th…

---

## [Saving Progress - What & Why](https://forum.kirupa.com/t/saving-progress-what-why/309712)

<div class="topic-metadata">

**Author:** [@Nyst](https://forum.kirupa.com/u/Nyst)\
**Replies:** 0\
**Last updated:** [May 22, 2010, 1:58am UTC](https://forum.kirupa.com/t/saving-progress-what-why/309712 "2010-05-22T01:58:34Z")

</div>

Greetings! I am learning flash, and to do so I'm writing a little adventure game. My current issue is with saving progress; namely, having the game remembering what was done on previous frames. I've experimented wit…

---

## [Pseudorandom crashes in Flash Debugger - My bad, or Adobe's?](https://forum.kirupa.com/t/pseudorandom-crashes-in-flash-debugger-my-bad-or-adobes/309709)

<div class="topic-metadata">

**Author:** [@rinogo](https://forum.kirupa.com/u/rinogo)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 11:06pm UTC](https://forum.kirupa.com/t/pseudorandom-crashes-in-flash-debugger-my-bad-or-adobes/309709 "2010-05-21T23:06:36Z")

</div>

I'm working on a large-size dual AS3/Flex project (some parts are pure AS3, other parts are Flex), and I'm experiencing a lot of Flash Debugger crashes. These crashes aren't completely random - it seems like I can get …

---

## [as2 twitter widget?](https://forum.kirupa.com/t/as2-twitter-widget/309708)

<div class="topic-metadata">

**Author:** [@Panama](https://forum.kirupa.com/u/Panama)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 10:23pm UTC](https://forum.kirupa.com/t/as2-twitter-widget/309708 "2010-05-21T22:23:01Z")

</div>

I have a site I built in AS3 that included a twitter widget I learned how to create from a tutorial: (http://www.republicofcode.com/tutorials/flash/twitter\_widget/3.php). Now, the site has to be in AS2!!! I can convert …

---

## [Object "Fragmenting" during animation](https://forum.kirupa.com/t/object-fragmenting-during-animation/309707)

<div class="topic-metadata">

**Author:** [@Kirbyprime](https://forum.kirupa.com/u/Kirbyprime)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 9:43pm UTC](https://forum.kirupa.com/t/object-fragmenting-during-animation/309707 "2010-05-21T21:43:02Z")

</div>

I'm wondering if anyone knows anything about this. I'm currently making an animation that involves an object bouncing within the confines of the flash movie. The problem is that the object itself sometimes fragments, lik…

---

## [Loading with sound only played once but keeping hover over menu item sound intact](https://forum.kirupa.com/t/loading-with-sound-only-played-once-but-keeping-hover-over-menu-item-sound-intact/309706)

<div class="topic-metadata">

**Author:** [@azdolfan](https://forum.kirupa.com/u/azdolfan)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 9:17pm UTC](https://forum.kirupa.com/t/loading-with-sound-only-played-once-but-keeping-hover-over-menu-item-sound-intact/309706 "2010-05-21T21:17:20Z")

</div>

Hi All - I have a flash header that was never completed because the guy I hired took people's money and ran. So now I even wonder if what he said could work with my flash header is true or not. But, usually there i…

---

## [TypeError: Error #1006: set is not a function](https://forum.kirupa.com/t/typeerror-error-1006-set-is-not-a-function/309704)

<div class="topic-metadata">

**Author:** [@Dimitree](https://forum.kirupa.com/u/Dimitree)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 9:00pm UTC](https://forum.kirupa.com/t/typeerror-error-1006-set-is-not-a-function/309704 "2010-05-21T21:00:34Z")

</div>

I have a "setter" function in a class public function set(date:Date):void { \_targetDate = date; //...etc When I try to access this from my Document class by this syntax: var targetDate:Date = new Date(); t…

---

## [SecurityError: Error #2060: Security sandbox violation: (I need help)](https://forum.kirupa.com/t/securityerror-error-2060-security-sandbox-violation-i-need-help/309701)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 7:58pm UTC](https://forum.kirupa.com/t/securityerror-error-2060-security-sandbox-violation-i-need-help/309701 "2010-05-21T19:58:43Z")

</div>

Hi All, I've searched everywhere trying to figure this out. I've tried everything that i've read, but it's still not working. I have a swf file that loads another swf file, but when I compile, I can see a few traces…

---

## [Rewinding the tween class](https://forum.kirupa.com/t/rewinding-the-tween-class/309700)

<div class="topic-metadata">

**Author:** [@sherm](https://forum.kirupa.com/u/sherm)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 7:44pm UTC](https://forum.kirupa.com/t/rewinding-the-tween-class/309700 "2010-05-21T19:44:09Z")

</div>

Hi everyone, I am making a button have a tween effect (using the tween class) on MOUSE\_OVER. Then, on MOUSE\_OUT, I want the button tween back to it's original position. It works right now, but if I hover over and the…

---

## [Better Way to Reference One of Many Objects](https://forum.kirupa.com/t/better-way-to-reference-one-of-many-objects/309694)

<div class="topic-metadata">

**Author:** [@Stubbs](https://forum.kirupa.com/u/Stubbs)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 5:09pm UTC](https://forum.kirupa.com/t/better-way-to-reference-one-of-many-objects/309694 "2010-05-21T17:09:12Z")

</div>

How do you guys reference one of multiple objects? Every recent project of mine winds up having a bunch of items pushed into an array, and I find out which one to manipulate like this: function myFunction():void { …

---

## [Challenge to Center Working Preloader](https://forum.kirupa.com/t/challenge-to-center-working-preloader/309691)

<div class="topic-metadata">

**Author:** [@landrvr1](https://forum.kirupa.com/u/landrvr1)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 3:18pm UTC](https://forum.kirupa.com/t/challenge-to-center-working-preloader/309691 "2010-05-21T15:18:52Z")

</div>

I'm in a bit of a pickle and can't sort my way out. I'm loading an external swf that has a preloader on Scene 1, and the main content on Scene2. While the content on Scene 2 centers nicely, the preloader content refuses …

---

## [FLVPlayback Function](https://forum.kirupa.com/t/flvplayback-function/309688)

<div class="topic-metadata">

**Author:** [@saenim](https://forum.kirupa.com/u/saenim)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 2:43pm UTC](https://forum.kirupa.com/t/flvplayback-function/309688 "2010-05-21T14:43:35Z")

</div>

Hi there, Trying to write a function to render a movieclip invisible when the user clicks on the play button on the FLVPlayback component (video player) on the stage; and when the video is done playing, have that movic…

---

## [AS3 dynamic XML gallery help](https://forum.kirupa.com/t/as3-dynamic-xml-gallery-help/309685)

<div class="topic-metadata">

**Author:** [@tomto](https://forum.kirupa.com/u/tomto)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 10:16am UTC](https://forum.kirupa.com/t/as3-dynamic-xml-gallery-help/309685 "2010-05-21T10:16:03Z")

</div>

Hi All, I'm currently trying to create a (what I thought would be) relatively simple XML gallery in AS3. What I currently have is my thumbnails being brought in through the XML and distributed horizontally at the bot…

---

## [Possible to read ppt file?](https://forum.kirupa.com/t/possible-to-read-ppt-file/309677)

<div class="topic-metadata">

**Author:** [@Tinelise](https://forum.kirupa.com/u/Tinelise)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 7:54am UTC](https://forum.kirupa.com/t/possible-to-read-ppt-file/309677 "2010-05-21T07:54:02Z")

</div>

Is it possible to get the content of a ppt file with as3? Possibliy similar to loading and reading an xml?

---

## [Disable buttons in bottom of two CSS-overlapped swfs?](https://forum.kirupa.com/t/disable-buttons-in-bottom-of-two-css-overlapped-swfs/309674)

<div class="topic-metadata">

**Author:** [@fastasleep](https://forum.kirupa.com/u/fastasleep)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 7:28am UTC](https://forum.kirupa.com/t/disable-buttons-in-bottom-of-two-css-overlapped-swfs/309674 "2010-05-21T07:28:45Z")

</div>

Is this even possible? I thought if I overlapped the entire underlying Flash with a button on the upper layer, it wouldn't register mouse events underneath. Well, it does. I need to disable the rollovers and click action…

---

## [Scale From Center After Drag](https://forum.kirupa.com/t/scale-from-center-after-drag/309673)

<div class="topic-metadata">

**Author:** [@tcambron](https://forum.kirupa.com/u/tcambron)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 7:03am UTC](https://forum.kirupa.com/t/scale-from-center-after-drag/309673 "2010-05-21T07:03:45Z")

</div>

I have an image inside a movie clip that a user can scale from its center using the slider....works great. However the use can also drag the movie clip. After the movie clip is dragged to a new location it and then scale…

---

## [\[Ask\] Over and Out Button Animation](https://forum.kirupa.com/t/ask-over-and-out-button-animation/309671)

<div class="topic-metadata">

**Author:** [@fupuripu](https://forum.kirupa.com/u/fupuripu)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 6:06am UTC](https://forum.kirupa.com/t/ask-over-and-out-button-animation/309671 "2010-05-21T06:06:58Z")

</div>

Hello there. For this few days, I've been googling entire site i can find, and finally I can arrange this script from many sources for my button: button\_btn.addEventListener(MouseEvent.MOUSE\_OVER, buttonOver); butto…

---

## [Encrypt in PHP and decrypt in AS3?](https://forum.kirupa.com/t/encrypt-in-php-and-decrypt-in-as3/309669)

<div class="topic-metadata">

**Author:** [@arundracula](https://forum.kirupa.com/u/arundracula)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 5:26am UTC](https://forum.kirupa.com/t/encrypt-in-php-and-decrypt-in-as3/309669 "2010-05-21T05:26:45Z")

</div>

I am making an AIR project. In that the AIR application sends a request to a PHP script. The script returns an encrypted file. Then the Application decrypts it. How to do this? (I don't want the process to send the file …

---

## [How do I resuse a MovieClip (Class + Graphics) in AS3?](https://forum.kirupa.com/t/how-do-i-resuse-a-movieclip-class-graphics-in-as3/309668)

<div class="topic-metadata">

**Author:** [@Casperankinen](https://forum.kirupa.com/u/Casperankinen)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 5:26am UTC](https://forum.kirupa.com/t/how-do-i-resuse-a-movieclip-class-graphics-in-as3/309668 "2010-05-21T05:26:20Z")

</div>

Hi, I'm still in the process of completely moving from AS2 to AS3 and I felt confident how to do this in AS2 but AS3 is much slower to work with. I'm generally ok with all the syntax changes but I'd continued to put al…

---

## [Arrays that "wrap around"? Or is there a better way?](https://forum.kirupa.com/t/arrays-that-wrap-around-or-is-there-a-better-way/309660)

<div class="topic-metadata">

**Author:** [@booglebop](https://forum.kirupa.com/u/booglebop)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 2:17am UTC](https://forum.kirupa.com/t/arrays-that-wrap-around-or-is-there-a-better-way/309660 "2010-05-21T02:17:31Z")

</div>

Hey All, Banging my head against the wall...Here's what I've got going on: There are three questions. If a user hovers over a question, the answer to that question pops up. What I'm having trouble with is: I want t…

---

## [Not able to create text](https://forum.kirupa.com/t/not-able-to-create-text/309658)

<div class="topic-metadata">

**Author:** [@shivam](https://forum.kirupa.com/u/shivam)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 1:52am UTC](https://forum.kirupa.com/t/not-able-to-create-text/309658 "2010-05-21T01:52:56Z")

</div>

Hello, I copied this code from a site and tried to add textbox in the readResponse() method. I am getting errors which i indicated in bold. Can someone please tell me how to get rid of those errors. Thanks packa…

---

## [Backward on button](https://forum.kirupa.com/t/backward-on-button/309645)

<div class="topic-metadata">

**Author:** [@Stein7](https://forum.kirupa.com/u/Stein7)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 4:35pm UTC](https://forum.kirupa.com/t/backward-on-button/309645 "2010-05-20T16:35:08Z")

</div>

Anyone, help me.. How I create a backward event, this event will have the following tasks: 1. When I 'over' (place my pointer) to the button, a light is appearing, and it's moving from left to right. 2. But when I move m…

---

## [Find string at character(s)](https://forum.kirupa.com/t/find-string-at-character-s/309644)

<div class="topic-metadata">

**Author:** [@nlyttle](https://forum.kirupa.com/u/nlyttle)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 3:47pm UTC](https://forum.kirupa.com/t/find-string-at-character-s/309644 "2010-05-20T15:47:26Z")

</div>

In a dynamic text field, I need to be able to search for the string "http://" and all of the characters after that up until it reaches a \<space\> then return that whole string into a variable I can use.

---

## [How to use Mouse wheel for zoom in zoomout?](https://forum.kirupa.com/t/how-to-use-mouse-wheel-for-zoom-in-zoomout/309642)

<div class="topic-metadata">

**Author:** [@palanivelrajan](https://forum.kirupa.com/u/palanivelrajan)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 1:29pm UTC](https://forum.kirupa.com/t/how-to-use-mouse-wheel-for-zoom-in-zoomout/309642 "2010-05-20T13:29:27Z")

</div>

addEventListener(MouseEvent.MOUSE\_WHEEL,Object\_Zoomin); private function Object\_Zoomin(event:MouseEvent):void { zoom-=10; car.scale=zoom; } I don't know how to write a code for zoom out. Pleas…

---

## [How to reference the webservice in .mxml file?](https://forum.kirupa.com/t/how-to-reference-the-webservice-in-mxml-file/309641)

<div class="topic-metadata">

**Author:** [@krunalkakadia](https://forum.kirupa.com/u/krunalkakadia)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 12:59pm UTC](https://forum.kirupa.com/t/how-to-reference-the-webservice-in-mxml-file/309641 "2010-05-20T12:59:28Z")

</div>

Hi guys, i m new in FLAX. i have just started to learn the FLAX. i have created a web service.now my poroblem is that how to set webservice in my .mxml file? hope you will reply soon guys, Thanks & Regards kk

---

## [Actionscript 2.0 (CS4) - XML/FLASH](https://forum.kirupa.com/t/actionscript-2-0-cs4-xml-flash/309639)

<div class="topic-metadata">

**Author:** [@nas007](https://forum.kirupa.com/u/nas007)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 12:51pm UTC](https://forum.kirupa.com/t/actionscript-2-0-cs4-xml-flash/309639 "2010-05-20T12:51:41Z")

</div>

Hi, I have an xml based "slideshow" file that I am trying to edit. I want to add two attributes to the xml/flash doc. Right now the XML file allows me to enter a URL (so when you click an image it will load the speci…

---

## [Cant figure out the Event Dispatcher](https://forum.kirupa.com/t/cant-figure-out-the-event-dispatcher/309637)

<div class="topic-metadata">

**Author:** [@rez1n](https://forum.kirupa.com/u/rez1n)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 12:45pm UTC](https://forum.kirupa.com/t/cant-figure-out-the-event-dispatcher/309637 "2010-05-20T12:45:54Z")

</div>

Hey Guys, I wonder if you can help. Maybe im going about this all wrong. I have coded a navigation class to work with movieclip on the stage. when the user clicks it needs to tell the main website class, im trying to fig…

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

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