# flash

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

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

**Page:** 669

---

## [Scrolling Thumbnails with Tweener](https://forum.kirupa.com/t/scrolling-thumbnails-with-tweener/284765)

<div class="topic-metadata">

**Author:** [@Ricky55](https://forum.kirupa.com/u/Ricky55)\
**Replies:** 0\
**Last updated:** [March 23, 2009, 1:43pm UTC](https://forum.kirupa.com/t/scrolling-thumbnails-with-tweener/284765 "2009-03-23T13:43:18Z")

</div>

Hi I have some code that creates horizontal scrolling thumbnails, but when you scroll they are a little jerky well not so much jerky as just not nice and smooth. I've been looking for a tutorial that would show me ho…

---

## [Can't you change the reference of an obj after "addChild"?](https://forum.kirupa.com/t/cant-you-change-the-reference-of-an-obj-after-addchild/284760)

<div class="topic-metadata">

**Author:** [@zhangxiaorui](https://forum.kirupa.com/u/zhangxiaorui)\
**Replies:** 0\
**Last updated:** [March 23, 2009, 12:50pm UTC](https://forum.kirupa.com/t/cant-you-change-the-reference-of-an-obj-after-addchild/284760 "2009-03-23T12:50:06Z")

</div>

Well, see this simple example: var a:Bitmap = someExternalBitmap; addChild(a); a = someOtherExternalBitmap; So this above is not working, but you need to invoke the "addChild" again to let it work (see the underlined…

---

## [as2 little help with setInterval](https://forum.kirupa.com/t/as2-little-help-with-setinterval/284758)

<div class="topic-metadata">

**Author:** [@marcogiannini](https://forum.kirupa.com/u/marcogiannini)\
**Replies:** 0\
**Last updated:** [March 23, 2009, 12:36pm UTC](https://forum.kirupa.com/t/as2-little-help-with-setinterval/284758 "2009-03-23T12:36:46Z")

</div>

Hi all, I've got some problems with this bunch of code. I need to let start biciccioCheFa function and then apply a setInterval to frenaParti function. Now the setInterval goes, and stop after the counter reach 10. But…

---

## [Problems with Infinite Menu](https://forum.kirupa.com/t/problems-with-infinite-menu/284754)

<div class="topic-metadata">

**Author:** [@j0xmail](https://forum.kirupa.com/u/j0xmail)\
**Replies:** 0\
**Last updated:** [March 23, 2009, 11:54am UTC](https://forum.kirupa.com/t/problems-with-infinite-menu/284754 "2009-03-23T11:54:24Z")

</div>

I'm fairly new to Flash, and am currently trying to put together a simple portfolio website based around the Infinite Menu tutorial from this website. I have also been working from some code that I found posted on this …

---

## [From AS1.0 to AS2.0 (Problem)](https://forum.kirupa.com/t/from-as1-0-to-as2-0-problem/284752)

<div class="topic-metadata">

**Author:** [@Zelleso](https://forum.kirupa.com/u/Zelleso)\
**Replies:** 0\
**Last updated:** [March 23, 2009, 11:10am UTC](https://forum.kirupa.com/t/from-as1-0-to-as2-0-problem/284752 "2009-03-23T11:10:28Z")

</div>

Hello everyone! I'm trying to convert my code in Flash 5 into Flash 8, some how the output is not what I expected for. AS1.0 http://www.geocities.com/fatyang8\_8/graph1.fla AS2.0 http://www.geocities.com/fatyang8\_8/g…

---

## [Text Field on center stage using AS2](https://forum.kirupa.com/t/text-field-on-center-stage-using-as2/284750)

<div class="topic-metadata">

**Author:** [@humbuged](https://forum.kirupa.com/u/humbuged)\
**Replies:** 0\
**Last updated:** [March 23, 2009, 10:28am UTC](https://forum.kirupa.com/t/text-field-on-center-stage-using-as2/284750 "2009-03-23T10:28:31Z")

</div>

Hello \[smile\] I've managed to put a text field onto the stage using AS2 but now I'm trying to make it stay in the center of the stage. Here's the code I used; this.createTextField("dynamic\_txt",1,(Stage.width/2),(St…

---

## [XML or another way?](https://forum.kirupa.com/t/xml-or-another-way/284746)

<div class="topic-metadata">

**Author:** [@Alber\_Kidd](https://forum.kirupa.com/u/Alber_Kidd)\
**Replies:** 0\
**Last updated:** [March 23, 2009, 9:12am UTC](https://forum.kirupa.com/t/xml-or-another-way/284746 "2009-03-23T09:12:25Z")

</div>

So I have extended my textfield so I can add a some text, a style, an x and y position. var clientText:MyTextField = new MyTextField("Client:", "style1", 75, 60); addChild(clientText); The problem is …

---

## [Help Loading External .swf w/ MovieClipLoader](https://forum.kirupa.com/t/help-loading-external-swf-w-moviecliploader/284743)

<div class="topic-metadata">

**Author:** [@mnat](https://forum.kirupa.com/u/mnat)\
**Replies:** 0\
**Last updated:** [March 23, 2009, 7:47am UTC](https://forum.kirupa.com/t/help-loading-external-swf-w-moviecliploader/284743 "2009-03-23T07:47:16Z")

</div>

I'm a newbie who needs some help! I am using the MovieClipLoader class to externally load a .swf file with a preloader. The problem is that my .swf starts playnig behind the preloader, before it is completely loaded...…

---

## [Idiotic masks : )](https://forum.kirupa.com/t/idiotic-masks/284741)

<div class="topic-metadata">

**Author:** [@sekasi](https://forum.kirupa.com/u/sekasi)\
**Replies:** 0\
**Last updated:** [March 23, 2009, 6:55am UTC](https://forum.kirupa.com/t/idiotic-masks/284741 "2009-03-23T06:55:44Z")

</div>

Look, this has annoyed me for a while and I don't really know what the deal is. Anyone that knows the answer will defo be on my favorite people list for a while. In the Flash IDE, you can easily mask two layers with an…

---

## [Game Optimization](https://forum.kirupa.com/t/game-optimization/284739)

<div class="topic-metadata">

**Author:** [@Jagdish\_Chanda](https://forum.kirupa.com/u/Jagdish_Chanda)\
**Replies:** 0\
**Last updated:** [March 23, 2009, 6:00am UTC](https://forum.kirupa.com/t/game-optimization/284739 "2009-03-23T06:00:17Z")

</div>

Send tips and techniques that can help us to optimize the performance of online flash games.

---

## [Flash Special Effects](https://forum.kirupa.com/t/flash-special-effects/284737)

<div class="topic-metadata">

**Author:** [@Jagdish\_Chanda](https://forum.kirupa.com/u/Jagdish_Chanda)\
**Replies:** 0\
**Last updated:** [March 23, 2009, 5:58am UTC](https://forum.kirupa.com/t/flash-special-effects/284737 "2009-03-23T05:58:45Z")

</div>

Hello Friends, Pls here give samples, tutorial for creating special effects, such as thunder, rain drops, fire, blasts using action script codes.

---

## [How to trace coordinates of attached movieClip?](https://forum.kirupa.com/t/how-to-trace-coordinates-of-attached-movieclip/284730)

<div class="topic-metadata">

**Author:** [@descalabro](https://forum.kirupa.com/u/descalabro)\
**Replies:** 0\
**Last updated:** [March 23, 2009, 3:59am UTC](https://forum.kirupa.com/t/how-to-trace-coordinates-of-attached-movieclip/284730 "2009-03-23T03:59:47Z")

</div>

\[CS3/AS2\] Hi. If I attach a movieClip this way: \_root.attachMovie("object"+i,"object"+i,i,{\_x:\_root.objectx\*, \_y:\_root.objecty\*}); How do I trace its x and y coordinates? I tried (and many other ways): tra…

---

## [Prevent Multiple MouseEvents](https://forum.kirupa.com/t/prevent-multiple-mouseevents/284727)

<div class="topic-metadata">

**Author:** [@bortiquai](https://forum.kirupa.com/u/bortiquai)\
**Replies:** 0\
**Last updated:** [March 23, 2009, 1:28am UTC](https://forum.kirupa.com/t/prevent-multiple-mouseevents/284727 "2009-03-23T01:28:55Z")

</div>

I made a very simple scrollBar using the MouseEvent.MOUSE\_DOWN event, which works fine. The problem is I have a few other obejcts that have MouseEvent.Mouse\_OVER events, and so if you are dragging the scroll bar, and th…

---

## [\[flash8\]loading vars from url](https://forum.kirupa.com/t/flash8-loading-vars-from-url/284723)

<div class="topic-metadata">

**Author:** [@gunchowder](https://forum.kirupa.com/u/gunchowder)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 11:47pm UTC](https://forum.kirupa.com/t/flash8-loading-vars-from-url/284723 "2009-03-22T23:47:44Z")

</div>

i'm trying to fill out dynamic text fields by adding to my url like so: www.example.com/flash/movie.swf?name=gunchowder&status=dumb how should i proceed? if the url could link to the html in which the swf was loade…

---

## [Circle-circle collision with rotation](https://forum.kirupa.com/t/circle-circle-collision-with-rotation/284721)

<div class="topic-metadata">

**Author:** [@nook](https://forum.kirupa.com/u/nook)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 11:44pm UTC](https://forum.kirupa.com/t/circle-circle-collision-with-rotation/284721 "2009-03-22T23:44:11Z")

</div>

I've been searching a long time now without finding anything useful. Does anyone know of any tutorial or code example that deals with resolving circle-circle collisions including rotation?

---

## [Reparenting exercise](https://forum.kirupa.com/t/reparenting-exercise/284717)

<div class="topic-metadata">

**Author:** [@Thick](https://forum.kirupa.com/u/Thick)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 10:23pm UTC](https://forum.kirupa.com/t/reparenting-exercise/284717 "2009-03-22T22:23:00Z")

</div>

hello all. i'm trying to follow a reparenting exercise out of a book that i've purchased, but for one reason or another the script isn't properly being executed. the script is suppose to draw two squares, with a ball …

---

## [Problems loading swf file HELP :(](https://forum.kirupa.com/t/problems-loading-swf-file-help/284713)

<div class="topic-metadata">

**Author:** [@cwismer](https://forum.kirupa.com/u/cwismer)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 8:54pm UTC](https://forum.kirupa.com/t/problems-loading-swf-file-help/284713 "2009-03-22T20:54:37Z")

</div>

Hi guys, I'm building a website that has multiple pages. each page is a separate swf file. The website is working correctly, however when you click the button to navigate to a new page, for a split second, it switches …

---

## [XML FLASH question?](https://forum.kirupa.com/t/xml-flash-question/284706)

<div class="topic-metadata">

**Author:** [@bitorrent](https://forum.kirupa.com/u/bitorrent)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 7:55pm UTC](https://forum.kirupa.com/t/xml-flash-question/284706 "2009-03-22T19:55:50Z")

</div>

Hi, I'm relatively new to Flash so please bear with me. I have set up a .XML to connect with Flash. My friend wrote part of it for me to use as a guideline.... In the FLASH, he has a link to click which calls in an a…

---

## [Event target name](https://forum.kirupa.com/t/event-target-name/284698)

<div class="topic-metadata">

**Author:** [@xPINKMERCEDESx](https://forum.kirupa.com/u/xPINKMERCEDESx)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 4:20pm UTC](https://forum.kirupa.com/t/event-target-name/284698 "2009-03-22T16:20:30Z")

</div>

Hello guys. Can I change an event target's name? or it's an only-read property? I've been googling it but to no avail... For example, say this is my button code: buttonOne.addEventListener(MouseEvent.CLICK,showImageO…

---

## [Scrubbing problem with FLVPlayback](https://forum.kirupa.com/t/scrubbing-problem-with-flvplayback/284695)

<div class="topic-metadata">

**Author:** [@gaurnar](https://forum.kirupa.com/u/gaurnar)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 3:12pm UTC](https://forum.kirupa.com/t/scrubbing-problem-with-flvplayback/284695 "2009-03-22T15:12:24Z")

</div>

Hi everyone! I've come upon the following problem: I have a FLVPlayback component playing an .flv video file from CD (video is quite long, approx. 200 Mb). It plays OK, but when I try to seek into any part of the video…

---

## [How do I turn this HTML to ActionScript?](https://forum.kirupa.com/t/how-do-i-turn-this-html-to-actionscript/284691)

<div class="topic-metadata">

**Author:** [@Env](https://forum.kirupa.com/u/Env)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 1:28pm UTC](https://forum.kirupa.com/t/how-do-i-turn-this-html-to-actionscript/284691 "2009-03-22T13:28:52Z")

</div>

Hello! I want to turn this code into ActionScript using on Release(); \< href="about.html?x=2" onClick="openWindow('about.html?x=2', 500, 500); return false;"\>popup link html\</a\> So far in AS I have on (release) …

---

## [Passing (URL) variables between two swf (html) files](https://forum.kirupa.com/t/passing-url-variables-between-two-swf-html-files/284690)

<div class="topic-metadata">

**Author:** [@nkamp](https://forum.kirupa.com/u/nkamp)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 1:04pm UTC](https://forum.kirupa.com/t/passing-url-variables-between-two-swf-html-files/284690 "2009-03-22T13:04:26Z")

</div>

Hello, I'm asking myself how do I passing variables between two swf (html) files For instance how can I request the variable "var\_1" in the file blikvanger.swf (or blikvanger.html). Here is my code of one as file (cont…

---

## [XML: run function when data in XML file changes](https://forum.kirupa.com/t/xml-run-function-when-data-in-xml-file-changes/284685)

<div class="topic-metadata">

**Author:** [@JYCaR](https://forum.kirupa.com/u/JYCaR)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 11:24am UTC](https://forum.kirupa.com/t/xml-run-function-when-data-in-xml-file-changes/284685 "2009-03-22T11:24:47Z")

</div>

Hey guys... So, my situation is like this: I have an XML file. I load the file to flash and display data. But this XML file can be changed by some other system, updates data,... Now, i want to update my data in flash a…

---

## [What is AVM2 relates to AS3](https://forum.kirupa.com/t/what-is-avm2-relates-to-as3/284683)

<div class="topic-metadata">

**Author:** [@ayumilove](https://forum.kirupa.com/u/ayumilove)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 10:15am UTC](https://forum.kirupa.com/t/what-is-avm2-relates-to-as3/284683 "2009-03-22T10:15:45Z")

</div>

I know that AS3 \[Actionscript 3\] is used for programming a flash/swf. But what does it do with AVM2 \[Actionscript Virtual Machine\]? And What is actionscript virtual machine 1 different than 2? puzzled

---

## [Regex problem with matching dot characters](https://forum.kirupa.com/t/regex-problem-with-matching-dot-characters/284682)

<div class="topic-metadata">

**Author:** [@Blaeyze](https://forum.kirupa.com/u/Blaeyze)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 10:02am UTC](https://forum.kirupa.com/t/regex-problem-with-matching-dot-characters/284682 "2009-03-22T10:02:27Z")

</div>

Hello, I'm having a problem with using regexp to validate form fields, everything is working fine as long as I don't explicitly try to match a dot(.) character. This fails on both email and the voorletters regex. I'…

---

## [Receive XML data from ASC3 in Asp.Net2 page](https://forum.kirupa.com/t/receive-xml-data-from-asc3-in-asp-net2-page/284681)

<div class="topic-metadata">

**Author:** [@ahmy](https://forum.kirupa.com/u/ahmy)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 9:33am UTC](https://forum.kirupa.com/t/receive-xml-data-from-asc3-in-asp-net2-page/284681 "2009-03-22T09:33:03Z")

</div>

i have an ation script code that send SQL statements to an Asp.Net2 page and here it's: package { import flash.display.MovieClip; import flash.xml.\*; import flash.events.\*; import flash.net.\*; public …

---

## [Circle And Rectangle Collision](https://forum.kirupa.com/t/circle-and-rectangle-collision/284676)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 4:31am UTC](https://forum.kirupa.com/t/circle-and-rectangle-collision/284676 "2009-03-22T04:31:45Z")

</div>

Can anyone please tell me the most efficient way to test for a collision between a circle and a rectangle? Thank you in advance!

---

## [As3 preload swf, play MCs at set percentages](https://forum.kirupa.com/t/as3-preload-swf-play-mcs-at-set-percentages/284675)

<div class="topic-metadata">

**Author:** [@shopsmarts](https://forum.kirupa.com/u/shopsmarts)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 4:18am UTC](https://forum.kirupa.com/t/as3-preload-swf-play-mcs-at-set-percentages/284675 "2009-03-22T04:18:23Z")

</div>

Hello I'm a fan of AS3 not a geinus and this ones given me a brain explosion.... I want to preload a swf and insted of a bar I would like to play 5 mc at intervals trigered by the persentage of the total loaded I w…

---

## [Attaching Movieclips through code with different names](https://forum.kirupa.com/t/attaching-movieclips-through-code-with-different-names/284673)

<div class="topic-metadata">

**Author:** [@Jyaw3](https://forum.kirupa.com/u/Jyaw3)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 2:14am UTC](https://forum.kirupa.com/t/attaching-movieclips-through-code-with-different-names/284673 "2009-03-22T02:14:45Z")

</div>

Alright, so I'm trying out AS3.0, or learning to and I got some questions, which I think should be (and probably are) easy to do. Say I have an .as class file "Animal" and in the Library I have MCs - "Cat", "Dog" in …

---

## [Need help with fighting game](https://forum.kirupa.com/t/need-help-with-fighting-game/284670)

<div class="topic-metadata">

**Author:** [@ishiaru](https://forum.kirupa.com/u/ishiaru)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 1:14am UTC](https://forum.kirupa.com/t/need-help-with-fighting-game/284670 "2009-03-22T01:14:31Z")

</div>

\[AS2\] Let's say I make a guy that is able to punch. I give the guy 5 different animations of him punching. How do I make it so when I press the punch button, the guy randomly chooses one of those punch animations? Than…

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

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