# flash

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

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

**Page:** 1161

---

## [Synch audio and tweens from actionscript](https://forum.kirupa.com/t/synch-audio-and-tweens-from-actionscript/244505)

<div class="topic-metadata">

**Author:** [@jayrich86](https://forum.kirupa.com/u/jayrich86)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 5:33am UTC](https://forum.kirupa.com/t/synch-audio-and-tweens-from-actionscript/244505 "2007-11-19T05:33:34Z")

</div>

I was thinking what would be the best way to do this pure actionscript? if i use a sound's .position could i create events to be called when the sound hits that position? i.e. when the sound position = 2500 miliseco…

---

## [Default Script Timeout](https://forum.kirupa.com/t/default-script-timeout/244499)

<div class="topic-metadata">

**Author:** [@barrence](https://forum.kirupa.com/u/barrence)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 4:04am UTC](https://forum.kirupa.com/t/default-script-timeout/244499 "2007-11-19T04:04:36Z")

</div>

Hi, I was trying to code a script but I keep getting this error: "Error #1502: A script has executed for longer than the default timeout period of 15 seconds." So after googling this for a while, I found you could c…

---

## [2 different fscommands](https://forum.kirupa.com/t/2-different-fscommands/244497)

<div class="topic-metadata">

**Author:** [@jibble](https://forum.kirupa.com/u/jibble)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 4:02am UTC](https://forum.kirupa.com/t/2-different-fscommands/244497 "2007-11-19T04:02:03Z")

</div>

I'm using this code for aligning a navigation to the bottom of my browser. fscommand("fullscreen", "true"); Stage.align = "TL"; Stage.scaleMode = "noScale"; var myListener2:Object = new Object(); myListener2.onResize…

---

## [Input TextField SetSelection?](https://forum.kirupa.com/t/input-textfield-setselection/244494)

<div class="topic-metadata">

**Author:** [@quietless](https://forum.kirupa.com/u/quietless)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 2:45am UTC](https://forum.kirupa.com/t/input-textfield-setselection/244494 "2007-11-19T02:45:36Z")

</div>

Where did this go? I'm trying to have a good ol' input text field have focus when the application loads so the user doesn't have to click on it first. I see a setSelection() method which lets you select part of the strin…

---

## [getURL with xml and action script](https://forum.kirupa.com/t/geturl-with-xml-and-action-script/244493)

<div class="topic-metadata">

**Author:** [@william7](https://forum.kirupa.com/u/william7)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 2:42am UTC](https://forum.kirupa.com/t/geturl-with-xml-and-action-script/244493 "2007-11-19T02:42:45Z")

</div>

Hello i need a genius to help me, Say if we where making the flash photo gallery from KIRUPA.com http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm And we wanted to add a link to the image. So i'v…

---

## [Having trouble with prototype](https://forum.kirupa.com/t/having-trouble-with-prototype/244491)

<div class="topic-metadata">

**Author:** [@girasquid](https://forum.kirupa.com/u/girasquid)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 2:23am UTC](https://forum.kirupa.com/t/having-trouble-with-prototype/244491 "2007-11-19T02:23:17Z")

</div>

Hello, all. I am currently working on a project that involves parsing multiple XML files, and using their attributes. I found a snippet on actionscript.org that would allow me to give Flash's XML type the "getElementsB…

---

## [\_loadMovie problem](https://forum.kirupa.com/t/-loadmovie-problem/244489)

<div class="topic-metadata">

**Author:** [@teokon](https://forum.kirupa.com/u/teokon)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 2:19am UTC](https://forum.kirupa.com/t/-loadmovie-problem/244489 "2007-11-19T02:19:10Z")

</div>

hey everyone... i used kirupa's (http://www.kirupa.com/developer/mx/preloader\_transition.htm) tutorial to create a movie with buttons that load external movies and works seamlessly. my problem is that i want to do th…

---

## [Pulling random MovieClips with an onMouseDown Listener](https://forum.kirupa.com/t/pulling-random-movieclips-with-an-onmousedown-listener/244486)

<div class="topic-metadata">

**Author:** [@mtsfestivus](https://forum.kirupa.com/u/mtsfestivus)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 12:50am UTC](https://forum.kirupa.com/t/pulling-random-movieclips-with-an-onmousedown-listener/244486 "2007-11-19T00:50:08Z")

</div>

Hello all. This is pretty simple and I think I'm pretty close, but I can't seem to get this to work. Basic functionality will be that wherever you click on the stage, a random MovieClip will be displayed. I've been out…

---

## [Help with contact forum](https://forum.kirupa.com/t/help-with-contact-forum/244483)

<div class="topic-metadata">

**Author:** [@sethstacey](https://forum.kirupa.com/u/sethstacey)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 12:25am UTC](https://forum.kirupa.com/t/help-with-contact-forum/244483 "2007-11-19T00:25:47Z")

</div>

Hello, I have a question: I am trying to use the form that I found on this site (http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm). It works great! However, I do have one issue. I need to have thi…

---

## [How to get the "real" size of a movieclip?](https://forum.kirupa.com/t/how-to-get-the-real-size-of-a-movieclip/244481)

<div class="topic-metadata">

**Author:** [@tp3t3r](https://forum.kirupa.com/u/tp3t3r)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 11:47pm UTC](https://forum.kirupa.com/t/how-to-get-the-real-size-of-a-movieclip/244481 "2007-11-18T23:47:20Z")

</div>

Hi there, I have an annoying problem with MCs which have a dynamic text field. After setting the textfield.text to the proper value (while textfield.autoSize = true) the \_height of the textfield increases, but the \_hei…

---

## [Please have a look what's wrong w. this code](https://forum.kirupa.com/t/please-have-a-look-whats-wrong-w-this-code/244480)

<div class="topic-metadata">

**Author:** [@tsf06](https://forum.kirupa.com/u/tsf06)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 11:37pm UTC](https://forum.kirupa.com/t/please-have-a-look-whats-wrong-w-this-code/244480 "2007-11-18T23:37:13Z")

</div>

Hi, I found a bit of code for "magnetic effx" but this works only with Flash player 6 and earlier. Does anybody know how to make it work with FP 8. Here is the code: \[COLOR=Navy\]MovieClip.prototype.onEnterFrame = f…

---

## [Create something like this](https://forum.kirupa.com/t/create-something-like-this/244478)

<div class="topic-metadata">

**Author:** [@csr500](https://forum.kirupa.com/u/csr500)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 10:21pm UTC](https://forum.kirupa.com/t/create-something-like-this/244478 "2007-11-18T22:21:57Z")

</div>

Hello everyone I saw this website and would like to create something similar, but with a few less pages. http://www.schematic.com/#// I was hoping someone could point me in the direction of a tutorial or at least t…

---

## [MovieClip Transition Problem](https://forum.kirupa.com/t/movieclip-transition-problem/244473)

<div class="topic-metadata">

**Author:** [@zao](https://forum.kirupa.com/u/zao)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 9:01pm UTC](https://forum.kirupa.com/t/movieclip-transition-problem/244473 "2007-11-18T21:01:11Z")

</div>

this.onRelease = function() { if (\_root.currSection == undefined) { \_root.currSection = "areas"; \_root.container.attachMovie("areas","areasSection\_mc",\_root.getNextHighestDepth()); trace(\_root.currSection); …

---

## [Datefield problem....urgent](https://forum.kirupa.com/t/datefield-problem-urgent/244467)

<div class="topic-metadata">

**Author:** [@alphasil](https://forum.kirupa.com/u/alphasil)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 5:18pm UTC](https://forum.kirupa.com/t/datefield-problem-urgent/244467 "2007-11-18T17:18:23Z")

</div>

Hi ppl I'm new in this forum and i have already a problem with a project, i have a sprite and inside, there is a few fields to input text, i want to put a datefield component, but when i test the movie he only show a b…

---

## [TV Switch on and off.. help please thanks :)](https://forum.kirupa.com/t/tv-switch-on-and-off-help-please-thanks/244463)

<div class="topic-metadata">

**Author:** [@Woodpeckersam](https://forum.kirupa.com/u/Woodpeckersam)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 4:33pm UTC](https://forum.kirupa.com/t/tv-switch-on-and-off-help-please-thanks/244463 "2007-11-18T16:33:30Z")

</div>

Hi all, new here.. and a little new to actionscript 2. (im using it at college.. 3 months already) I have a movieclip of a remote, and within that movieclip there are buttons that will control a tv in the main scene. I…

---

## [Flash MX: Importing Sound](https://forum.kirupa.com/t/flash-mx-importing-sound/244462)

<div class="topic-metadata">

**Author:** [@MikokoRiko](https://forum.kirupa.com/u/MikokoRiko)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 4:03pm UTC](https://forum.kirupa.com/t/flash-mx-importing-sound/244462 "2007-11-18T16:03:32Z")

</div>

I'm hoping it's not a repeat thread but I am having a problem with importing sound. I'm not sure if it's the fact I'm using Vista or just something I'm doing wrong but I know I've imported sound a few times before and I …

---

## [Class Variable Scope](https://forum.kirupa.com/t/class-variable-scope/244461)

<div class="topic-metadata">

**Author:** [@boyceofreason](https://forum.kirupa.com/u/boyceofreason)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 3:32pm UTC](https://forum.kirupa.com/t/class-variable-scope/244461 "2007-11-18T15:32:51Z")

</div>

I'm somewhat new to writing classes so forgive me if I get some wrong terminology. I have a MC with a class attached to it, and I have other MCs within that MC. I need those MCs to be able to access variables within…

---

## [What are loders for?](https://forum.kirupa.com/t/what-are-loders-for/244459)

<div class="topic-metadata">

**Author:** [@ilikemyself](https://forum.kirupa.com/u/ilikemyself)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 3:20pm UTC](https://forum.kirupa.com/t/what-are-loders-for/244459 "2007-11-18T15:20:05Z")

</div>

What are loders for, i mean why do i need to have a loder if i can just can make it without one...

---

## [Long Loading Session Getting Stuck](https://forum.kirupa.com/t/long-loading-session-getting-stuck/244456)

<div class="topic-metadata">

**Author:** [@galwitz](https://forum.kirupa.com/u/galwitz)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 2:19pm UTC](https://forum.kirupa.com/t/long-loading-session-getting-stuck/244456 "2007-11-18T14:19:21Z")

</div>

Hi there, I have an Flash application reading an XML and loading SWFs and MP3s that are specified there. The app works and loads and finishes loading just fine when running INSIDE the Flash authoring tool. BUT - Whe…

---

## [Using doubleClick class : Problem](https://forum.kirupa.com/t/using-doubleclick-class-problem/244452)

<div class="topic-metadata">

**Author:** [@this](https://forum.kirupa.com/u/this)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 12:03pm UTC](https://forum.kirupa.com/t/using-doubleclick-class-problem/244452 "2007-11-18T12:03:33Z")

</div>

Here i go working in one XML Gallery with doubleClick feature in actionscript 2. I use the class doubleClick by Giegi i make like the sample of class but not work. Bellow has one print of my code and library linkage, i…

---

## [SWF not working in a Main SWF](https://forum.kirupa.com/t/swf-not-working-in-a-main-swf/244450)

<div class="topic-metadata">

**Author:** [@Luigi\_Vercotti](https://forum.kirupa.com/u/Luigi_Vercotti)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 9:35am UTC](https://forum.kirupa.com/t/swf-not-working-in-a-main-swf/244450 "2007-11-18T09:35:31Z")

</div>

Let see if my English will be enough... I've got main Swf where are several buttons...each button loads own separated SWF file. http://www.suziklinik.cz Everything works fine...till today where I used yours "XLMMENU". N…

---

## [AS3 - Scrolling Gallery ($100 if you can help)](https://forum.kirupa.com/t/as3-scrolling-gallery-100-if-you-can-help/244445)

<div class="topic-metadata">

**Author:** [@AsDummy](https://forum.kirupa.com/u/AsDummy)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 5:43am UTC](https://forum.kirupa.com/t/as3-scrolling-gallery-100-if-you-can-help/244445 "2007-11-18T05:43:33Z")

</div>

Hi, I need help to get my gallery (a movieClip of thumbnails) to scroll, with AS3. My mockup here: http://www.purplefringe.com/test/myDesign.jpg The link below is an example of what I want. (1) notice the EASING. …

---

## [Amfphp + Drupal + Flash8](https://forum.kirupa.com/t/amfphp-drupal-flash8/244442)

<div class="topic-metadata">

**Author:** [@gabizinha](https://forum.kirupa.com/u/gabizinha)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 4:16am UTC](https://forum.kirupa.com/t/amfphp-drupal-flash8/244442 "2007-11-18T04:16:37Z")

</div>

Kirupa has always been a nice blog, so I decided to post here a very simple tutorial to retrieve a node from Drupal using AMFPHP and Flash 8. To be shorter. You have to have Drupal installed as your CSM. Be sure you h…

---

## [Follow mouse question](https://forum.kirupa.com/t/follow-mouse-question/244441)

<div class="topic-metadata">

**Author:** [@jasonhardwick](https://forum.kirupa.com/u/jasonhardwick)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 4:09am UTC](https://forum.kirupa.com/t/follow-mouse-question/244441 "2007-11-18T04:09:38Z")

</div>

How can i make this action script only work in a specific area of the flash doc? and only move horizontally? onClipEvent (load) { \_x = 500; \_y = 375; speed = 10; } onClipEvent (enterFrame) { endX = root…

---

## [External SWF's or other options](https://forum.kirupa.com/t/external-swfs-or-other-options/244437)

<div class="topic-metadata">

**Author:** [@Karinger](https://forum.kirupa.com/u/Karinger)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 1:03am UTC](https://forum.kirupa.com/t/external-swfs-or-other-options/244437 "2007-11-18T01:03:51Z")

</div>

Hi everyone, a friend of mine had just referred me to the forums. I've recently delved into the whole Flash world, finding it interesting to say the least. I plan on working with it for a while to come, so hopefully I …

---

## [Dynamically change the \<title\> of a page via flash](https://forum.kirupa.com/t/dynamically-change-the-title-of-a-page-via-flash/244436)

<div class="topic-metadata">

**Author:** [@clot](https://forum.kirupa.com/u/clot)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 12:54am UTC](https://forum.kirupa.com/t/dynamically-change-the-title-of-a-page-via-flash/244436 "2007-11-18T00:54:48Z")

</div>

Not sure if this is the best place to ask but here goes: Anyone know how I can use swfobject or something else to change the page title of my html container page depending on where a user is in the flash swf? I reali…

---

## [Detect MOUSE\_OVER on movieclip](https://forum.kirupa.com/t/detect-mouse-over-on-movieclip/244434)

<div class="topic-metadata">

**Author:** [@clot](https://forum.kirupa.com/u/clot)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 12:40am UTC](https://forum.kirupa.com/t/detect-mouse-over-on-movieclip/244434 "2007-11-18T00:40:17Z")

</div>

I'm assuming this is pretty straight forward but I'm not all that great with as3 yet. I'd like to check if my mouse is currently over a movieclip. Here's what I have so far: box\_mc.addEventListener(MouseEvent.MOUS…

---

## [Flash exe. not closing](https://forum.kirupa.com/t/flash-exe-not-closing/244430)

<div class="topic-metadata">

**Author:** [@whiteroom](https://forum.kirupa.com/u/whiteroom)\
**Replies:** 0\
**Last updated:** [November 17, 2007, 11:12pm UTC](https://forum.kirupa.com/t/flash-exe-not-closing/244430 "2007-11-17T23:12:42Z")

</div>

I have a bug in my Flash cs3. After I close the program, it is still running.What I mean is, if I check task manager (Ctrl, Alt, del) Flash.exe is still running. Also, I can no longer re-open Flash unless I end the proce…

---

## [Can't get flv to play in custom player](https://forum.kirupa.com/t/cant-get-flv-to-play-in-custom-player/244427)

<div class="topic-metadata">

**Author:** [@olivestreetprod](https://forum.kirupa.com/u/olivestreetprod)\
**Replies:** 0\
**Last updated:** [November 17, 2007, 10:19pm UTC](https://forum.kirupa.com/t/cant-get-flv-to-play-in-custom-player/244427 "2007-11-17T22:19:33Z")

</div>

Hi, thanks for reading .... I'll do the best I can to explain the problem, but I'm not sure posting the code at this time will help. I'm building a portfolio web site. In the portfolio part, where actual examples of …

---

## [Button loads MC but does not play it?](https://forum.kirupa.com/t/button-loads-mc-but-does-not-play-it/244426)

<div class="topic-metadata">

**Author:** [@pimsme](https://forum.kirupa.com/u/pimsme)\
**Replies:** 0\
**Last updated:** [November 17, 2007, 10:14pm UTC](https://forum.kirupa.com/t/button-loads-mc-but-does-not-play-it/244426 "2007-11-17T22:14:50Z")

</div>

Ok, so i have been learning little by little some AS through Kirupa, but i still need the help. So here is my issue i have this code below that allows me to switch between images using a mc button, but when i press, the …

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

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