# flash

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

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

**Page:** 643

---

## [htmlText anchor tag killing me](https://forum.kirupa.com/t/htmltext-anchor-tag-killing-me/286620)

<div class="topic-metadata">

**Author:** [@akrantz](https://forum.kirupa.com/u/akrantz)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 7:15pm UTC](https://forum.kirupa.com/t/htmltext-anchor-tag-killing-me/286620 "2009-04-17T19:15:41Z")

</div>

hey guys, been awhile since I have posted for help but this one is killing me. for some reason the href tag in my AS3 code will not execute. It works fine when I publish the .swf but when I embed the swf into an html pag…

---

## [Better to thumbnail client side or server side?](https://forum.kirupa.com/t/better-to-thumbnail-client-side-or-server-side/286619)

<div class="topic-metadata">

**Author:** [@tibberous](https://forum.kirupa.com/u/tibberous)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 7:09pm UTC](https://forum.kirupa.com/t/better-to-thumbnail-client-side-or-server-side/286619 "2009-04-17T19:09:05Z")

</div>

I am making an app where people upload a bunch of images and it thumbnails them and saves them to the server. Is it better to create thumbnails from the uploaded images, or to upload them to the server then re-download t…

---

## [Passing Variables -- HELP!](https://forum.kirupa.com/t/passing-variables-help/286618)

<div class="topic-metadata">

**Author:** [@atomstore](https://forum.kirupa.com/u/atomstore)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 7:07pm UTC](https://forum.kirupa.com/t/passing-variables-help/286618 "2009-04-17T19:07:08Z")

</div>

Hello! I currently have a login form in flash that needs to pass variables to a PHP script. That part works fine. The problem I am having is that when Flash passes the variables to PHP, it also passes the style of th…

---

## [Performance Issue](https://forum.kirupa.com/t/performance-issue/286617)

<div class="topic-metadata">

**Author:** [@Cpt\_Awesome](https://forum.kirupa.com/u/Cpt_Awesome)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 6:57pm UTC](https://forum.kirupa.com/t/performance-issue/286617 "2009-04-17T18:57:00Z")

</div>

I´m having trouble with a flash application I'm working on. You´re this dude walking around in a bar. . \[smile\] Problem is that atm I have the dude standing still and move the background instead and seeing that the back…

---

## [AIR kicking my butt!](https://forum.kirupa.com/t/air-kicking-my-butt/286616)

<div class="topic-metadata">

**Author:** [@ORNj](https://forum.kirupa.com/u/ORNj)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 6:43pm UTC](https://forum.kirupa.com/t/air-kicking-my-butt/286616 "2009-04-17T18:43:43Z")

</div>

Ok so I have a site prototype we are trying to show to the client and I'm we are trying to package it as an AIR app to make it easier for them to run it locally. I have video players on some pages that are refusing to fi…

---

## [onRollOut not alway working?](https://forum.kirupa.com/t/onrollout-not-alway-working/286614)

<div class="topic-metadata">

**Author:** [@artriste](https://forum.kirupa.com/u/artriste)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 6:28pm UTC](https://forum.kirupa.com/t/onrollout-not-alway-working/286614 "2009-04-17T18:28:03Z")

</div>

I will keep the question simple for now and provide example if needed. I just have a simple button set up to move a \[COLOR=DarkOrange\]BOX\[/COLOR\] on rollOver using tweens and move it back into position onRollOut. \*\*P…

---

## [Math.random() for certain numbers](https://forum.kirupa.com/t/math-random-for-certain-numbers/286613)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 6:11pm UTC](https://forum.kirupa.com/t/math-random-for-certain-numbers/286613 "2009-04-17T18:11:55Z")

</div>

I have a function that creates a Movieclip every two seconds. I want each Movieclip to go to a random frame. But if there is already a Movieclip on the stage that is currently on frame 4 (for example), then no other Movi…

---

## [removeChild() Question](https://forum.kirupa.com/t/removechild-question/286611)

<div class="topic-metadata">

**Author:** [@madhat](https://forum.kirupa.com/u/madhat)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 6:01pm UTC](https://forum.kirupa.com/t/removechild-question/286611 "2009-04-17T18:01:43Z")

</div>

Hi Everyone, I'm an AS2 programmer making the jump to AS3. I'm having trouble grasping the display set. Here's what I'm trying to do: \[LIST\] \[\*\]I have a button on the stage. When you press it, it duplicates an object f…

---

## [How to tell what packages to import?](https://forum.kirupa.com/t/how-to-tell-what-packages-to-import/286610)

<div class="topic-metadata">

**Author:** [@fhickler](https://forum.kirupa.com/u/fhickler)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 6:01pm UTC](https://forum.kirupa.com/t/how-to-tell-what-packages-to-import/286610 "2009-04-17T18:01:16Z")

</div>

This might be a dumb question, but I am making the move from intermedite timeline scripting to more advanced object oriented document class scripting. So this is the question: how does one know what packages need to b…

---

## [AS3 - how to add event listener to multiple dynamically created objects](https://forum.kirupa.com/t/as3-how-to-add-event-listener-to-multiple-dynamically-created-objects/286607)

<div class="topic-metadata">

**Author:** [@EmmsieLu](https://forum.kirupa.com/u/EmmsieLu)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 5:14pm UTC](https://forum.kirupa.com/t/as3-how-to-add-event-listener-to-multiple-dynamically-created-objects/286607 "2009-04-17T17:14:52Z")

</div>

Hi there, I know this is a real newbie question, but I've been going over it for days, so before I tear all my hair out, I thought I'd see if anyone could give me some advice. So I have an object, generated on each c…

---

## [3d Carousel with MC background?](https://forum.kirupa.com/t/3d-carousel-with-mc-background/286606)

<div class="topic-metadata">

**Author:** [@screamster](https://forum.kirupa.com/u/screamster)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 4:51pm UTC](https://forum.kirupa.com/t/3d-carousel-with-mc-background/286606 "2009-04-17T16:51:04Z")

</div>

Howdy, I am a newb to CS4 AS3 and am working on a 3d carousel with a background MC. I am having a tough time trying to get setChildIndex to work. I want the MC to be a background image behind the 3d carousel, but wh…

---

## [Problems with unloading swf](https://forum.kirupa.com/t/problems-with-unloading-swf/286605)

<div class="topic-metadata">

**Author:** [@soundmatic](https://forum.kirupa.com/u/soundmatic)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 4:10pm UTC](https://forum.kirupa.com/t/problems-with-unloading-swf/286605 "2009-04-17T16:10:07Z")

</div>

I am loading an external swf into the main stage. The close button is within the new swf. What I need is when user clicks the close button the animation in the loaded swf plays until the end of the timeline than unloads …

---

## [Getting the user's login name](https://forum.kirupa.com/t/getting-the-users-login-name/286599)

<div class="topic-metadata">

**Author:** [@Alpha\_Remex](https://forum.kirupa.com/u/Alpha_Remex)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 3:11pm UTC](https://forum.kirupa.com/t/getting-the-users-login-name/286599 "2009-04-17T15:11:43Z")

</div>

Question - I can't seem to find this anywhere... is it possible to get the user's login name with as3? I'm referring to the name they log into the OS with... this is possible in just about every other language... Any …

---

## [Drawing lines in flash](https://forum.kirupa.com/t/drawing-lines-in-flash/286597)

<div class="topic-metadata">

**Author:** [@sebby64](https://forum.kirupa.com/u/sebby64)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 2:41pm UTC](https://forum.kirupa.com/t/drawing-lines-in-flash/286597 "2009-04-17T14:41:01Z")

</div>

Hello everyone, I'm trying to design an application where you can draw lines. This is my code. onMouseDown = function (){ original\_x = \_root.\_xmouse original\_y = \_root.\_ymouse value\_obtained = true } on…

---

## [My array is empty](https://forum.kirupa.com/t/my-array-is-empty/286596)

<div class="topic-metadata">

**Author:** [@vanderwaal](https://forum.kirupa.com/u/vanderwaal)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 2:38pm UTC](https://forum.kirupa.com/t/my-array-is-empty/286596 "2009-04-17T14:38:40Z")

</div>

i know it has to be something simple but i've been staring at it too long now to see what it is. can someone tell me why my array is empty when i trace it at the end of the script? it's really simple code. should work…

---

## [Can't wrap my head around 3.0 "\_root"](https://forum.kirupa.com/t/cant-wrap-my-head-around-3-0--root/286593)

<div class="topic-metadata">

**Author:** [@CkretAjint](https://forum.kirupa.com/u/CkretAjint)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 1:28pm UTC](https://forum.kirupa.com/t/cant-wrap-my-head-around-3-0--root/286593 "2009-04-17T13:28:07Z")

</div>

Originally this file I have was built using AS 2.0. The boss wants it converted over to AS 3.0.For some reason i am having a difficult time getting my head around the fact there there is no longer a root/parent AND what …

---

## [Adding hyperlinks to customized Pop-up](https://forum.kirupa.com/t/adding-hyperlinks-to-customized-pop-up/286590)

<div class="topic-metadata">

**Author:** [@SrihariCh](https://forum.kirupa.com/u/SrihariCh)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 12:58pm UTC](https://forum.kirupa.com/t/adding-hyperlinks-to-customized-pop-up/286590 "2009-04-17T12:58:17Z")

</div>

Hi all, I need to add as many number of hyperlinks to a custom "pop-up". The properties for customised Pop-up are as follows: A pop-up is a retangle shaped figure with BackgroundColour = #FFFFCC, Width=1…

---

## [Dragging Issue](https://forum.kirupa.com/t/dragging-issue/286589)

<div class="topic-metadata">

**Author:** [@DJR](https://forum.kirupa.com/u/DJR)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 12:33pm UTC](https://forum.kirupa.com/t/dragging-issue/286589 "2009-04-17T12:33:29Z")

</div>

This seems to be a problematic day. I have built an example file to demonstrate the following problem: I have externally loaded an image onto a button (to act as an image button). I have made the button draggable and w…

---

## [Flash cs4 and xml item](https://forum.kirupa.com/t/flash-cs4-and-xml-item/286588)

<div class="topic-metadata">

**Author:** [@wassim](https://forum.kirupa.com/u/wassim)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 12:14pm UTC](https://forum.kirupa.com/t/flash-cs4-and-xml-item/286588 "2009-04-17T12:14:42Z")

</div>

hello, i'm using adobe flash cs4 to make my web site template, and also i'm using an xml file to add the menu and the item, it works ok... but when i'm trying to write an arabic text in the xml file, the specific item …

---

## [Adding Thumbails Tutorial Help](https://forum.kirupa.com/t/adding-thumbails-tutorial-help/286586)

<div class="topic-metadata">

**Author:** [@george\_gaz](https://forum.kirupa.com/u/george_gaz)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 10:21am UTC](https://forum.kirupa.com/t/adding-thumbails-tutorial-help/286586 "2009-04-17T10:21:33Z")

</div>

Hello, I have been looking at the Adding Thumbnails Tutorial. Great stuff, exactly what I was looking for. However, I just have one issue with it. The problem is (with onRelease) that when you click the thumbnail and …

---

## [Calling a function on maintimeline from class](https://forum.kirupa.com/t/calling-a-function-on-maintimeline-from-class/286583)

<div class="topic-metadata">

**Author:** [@AeonAnimation](https://forum.kirupa.com/u/AeonAnimation)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 9:39am UTC](https://forum.kirupa.com/t/calling-a-function-on-maintimeline-from-class/286583 "2009-04-17T09:39:17Z")

</div>

How do i go about calling a function in frame 1 of my timeline \*\*from a class \*\*file? my function \*\*TEST \*\*on frame one of main timeline is just using a trace. This is my error: 1061: Call to a possibly undefined me…

---

## [Weird issue with motion tween in Flash CS3](https://forum.kirupa.com/t/weird-issue-with-motion-tween-in-flash-cs3/286580)

<div class="topic-metadata">

**Author:** [@astralmaster](https://forum.kirupa.com/u/astralmaster)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 8:42am UTC](https://forum.kirupa.com/t/weird-issue-with-motion-tween-in-flash-cs3/286580 "2009-04-17T08:42:00Z")

</div>

Hey Guys, Got a weird issue with motion tween. Im making kind of slideshow for my project; assume every frame is a single slide. all of the frames have eventlisteners for KeyboardEvent.KEY\_DOWN event. …

---

## [Scrolling banner: hyperlinks possible?](https://forum.kirupa.com/t/scrolling-banner-hyperlinks-possible/286579)

<div class="topic-metadata">

**Author:** [@Erik\_Arckens](https://forum.kirupa.com/u/Erik_Arckens)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 8:31am UTC](https://forum.kirupa.com/t/scrolling-banner-hyperlinks-possible/286579 "2009-04-17T08:31:34Z")

</div>

Hi, I am very new at flash, but a friend of mine wants a webpage with a scrolling banner and I felt obliged to try. I found this fantastic site after having visited Adobe Flash forums; this page http://www.kirupa.com/dev…

---

## [Multiple file preloader](https://forum.kirupa.com/t/multiple-file-preloader/286578)

<div class="topic-metadata">

**Author:** [@izzie](https://forum.kirupa.com/u/izzie)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 8:23am UTC](https://forum.kirupa.com/t/multiple-file-preloader/286578 "2009-04-17T08:23:28Z")

</div>

I need to preload 12 images and 12 mp3 files, and the xml file for my text, at the beginning of my swf file. Is there any fairly easy way to do this? I've searches for tutorials/examples, but can't find anything helpfu…

---

## [Array position on mouseclick](https://forum.kirupa.com/t/array-position-on-mouseclick/286577)

<div class="topic-metadata">

**Author:** [@RossKidd](https://forum.kirupa.com/u/RossKidd)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 8:19am UTC](https://forum.kirupa.com/t/array-position-on-mouseclick/286577 "2009-04-17T08:19:05Z")

</div>

I have two arrays thumbs and images, both the thumb and image are added to the same index in their arrays, so thumb\[0\] is the thumb of image\[0\] but what I need to do is get the index position of the clicked item, how d…

---

## [Website workflow](https://forum.kirupa.com/t/website-workflow/286576)

<div class="topic-metadata">

**Author:** [@sledziu](https://forum.kirupa.com/u/sledziu)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 8:04am UTC](https://forum.kirupa.com/t/website-workflow/286576 "2009-04-17T08:04:21Z")

</div>

Hi, I'm interested in workflow of site like this: http://www.switchmw.com/ and also I would like to know how people make flash sites with 3d objects and how the optimize the size of all stuff. I hope some will be a…

---

## [Sandbox Security confusion](https://forum.kirupa.com/t/sandbox-security-confusion/286574)

<div class="topic-metadata">

**Author:** [@mdev](https://forum.kirupa.com/u/mdev)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 7:10am UTC](https://forum.kirupa.com/t/sandbox-security-confusion/286574 "2009-04-17T07:10:23Z")

</div>

I haven't fully grasped how the flash security model works, and now I've ran into a problem. I have a base SWF that loads a game loader swf, which in turn loads the actual game. What I'm trying to do is taking a curren…

---

## [Add value to main timeline variable](https://forum.kirupa.com/t/add-value-to-main-timeline-variable/286572)

<div class="topic-metadata">

**Author:** [@xPINKMERCEDESx](https://forum.kirupa.com/u/xPINKMERCEDESx)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 6:52am UTC](https://forum.kirupa.com/t/add-value-to-main-timeline-variable/286572 "2009-04-17T06:52:16Z")

</div>

hello... I'm trying to add a value to a variable inside the Main .SWF from a loaded movie. More clearly, My main movie name is Main.swf. On the main timeline of Main.Swf, I have a variable named currentMovie. Now,…

---

## [As3 code to As2?!](https://forum.kirupa.com/t/as3-code-to-as2/286570)

<div class="topic-metadata">

**Author:** [@Me86](https://forum.kirupa.com/u/Me86)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 6:29am UTC](https://forum.kirupa.com/t/as3-code-to-as2/286570 "2009-04-17T06:29:59Z")

</div>

Hello, I did a flash movie about dragging and dropping objects with this tutorial: http://monkeyflash.com/tutorials/flash-drag-and-drop/ and it works fine... The problem is that I have used Actionscript 2 before and I…

---

## [Image crop](https://forum.kirupa.com/t/image-crop/286569)

<div class="topic-metadata">

**Author:** [@jatin\_thakkar02](https://forum.kirupa.com/u/jatin_thakkar02)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 6:27am UTC](https://forum.kirupa.com/t/image-crop/286569 "2009-04-17T06:27:56Z")

</div>

Hi, I am having some problems regarding image crop.I am able to crop an image but with the use of rectangle class or in rectangular shape.But i would like to crop in circular shape(for example go to Jibjab.com).So Can ay…

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

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