# flash

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

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

**Page:** 1170

---

## [Can I add sound with 100% program-matically](https://forum.kirupa.com/t/can-i-add-sound-with-100-program-matically/243775)

<div class="topic-metadata">

**Author:** [@Doppy](https://forum.kirupa.com/u/Doppy)\
**Replies:** 0\
**Last updated:** [November 10, 2007, 7:29pm UTC](https://forum.kirupa.com/t/can-i-add-sound-with-100-program-matically/243775 "2007-11-10T19:29:12Z")

</div>

Hi everyone... I learn that if I want to add sound in flash, I need to put the sound in library, and then assign linkage... But I have like 100-200 of sounds, and some of them update runtime... So...how can I dynamic…

---

## [XML Question / Dynamic Content](https://forum.kirupa.com/t/xml-question-dynamic-content/243768)

<div class="topic-metadata">

**Author:** [@wahiche](https://forum.kirupa.com/u/wahiche)\
**Replies:** 0\
**Last updated:** [November 10, 2007, 4:39pm UTC](https://forum.kirupa.com/t/xml-question-dynamic-content/243768 "2007-11-10T16:39:15Z")

</div>

Hello everyone I am hoping someone can help me with my problem. I have a dynamic site that I created using XML and Xpath. I have everything doing what I want it to do except for my last section called the GUESTS secti…

---

## [Friction equations?](https://forum.kirupa.com/t/friction-equations/243759)

<div class="topic-metadata">

**Author:** [@duncanhall](https://forum.kirupa.com/u/duncanhall)\
**Replies:** 0\
**Last updated:** [November 10, 2007, 2:50pm UTC](https://forum.kirupa.com/t/friction-equations/243759 "2007-11-10T14:50:19Z")

</div>

I have a billiard ball system, whic detects collisions between balls and modifies their x and y velocities accordingly. I have included a friction variable and I have a very basic system for applying the force of frict…

---

## [Stopping starfield?](https://forum.kirupa.com/t/stopping-starfield/243757)

<div class="topic-metadata">

**Author:** [@Hawkflame1](https://forum.kirupa.com/u/Hawkflame1)\
**Replies:** 0\
**Last updated:** [November 10, 2007, 1:14pm UTC](https://forum.kirupa.com/t/stopping-starfield/243757 "2007-11-10T13:14:24Z")

</div>

Hi Is it possible to stop a starfield after one frame? I followed this tutorial http://www.flashninjaclan.com/tutorialpage.php?ID=34 to make a starfield but i only want it on only one frame. at the moment it comes on a…

---

## [How to stop a starfield?](https://forum.kirupa.com/t/how-to-stop-a-starfield/243756)

<div class="topic-metadata">

**Author:** [@Hawkflame1](https://forum.kirupa.com/u/Hawkflame1)\
**Replies:** 0\
**Last updated:** [November 10, 2007, 1:12pm UTC](https://forum.kirupa.com/t/how-to-stop-a-starfield/243756 "2007-11-10T13:12:14Z")

</div>

Hi Is it possible to stop a starfield after one frame? I followed this tutorial http://www.flashninjaclan.com/tutorialpage.php?ID=34 to make a starfield but i only want it on only one frame. at the moment it comes on a…

---

## [Preventing users with lower Flash version from viewing my Flash file](https://forum.kirupa.com/t/preventing-users-with-lower-flash-version-from-viewing-my-flash-file/243754)

<div class="topic-metadata">

**Author:** [@Zomis](https://forum.kirupa.com/u/Zomis)\
**Replies:** 0\
**Last updated:** [November 10, 2007, 11:07am UTC](https://forum.kirupa.com/t/preventing-users-with-lower-flash-version-from-viewing-my-flash-file/243754 "2007-11-10T11:07:22Z")

</div>

I've discovered that users with lower versions of Flash player (such as 9,0,28,0) cannot display my Flash applications properly. So I want to detect the users version of Flash player. If the version is below a certain …

---

## [Motion Path Relative to Mouse Position. URGENT](https://forum.kirupa.com/t/motion-path-relative-to-mouse-position-urgent/243752)

<div class="topic-metadata">

**Author:** [@robdarkplace](https://forum.kirupa.com/u/robdarkplace)\
**Replies:** 0\
**Last updated:** [November 10, 2007, 10:45am UTC](https://forum.kirupa.com/t/motion-path-relative-to-mouse-position-urgent/243752 "2007-11-10T10:45:28Z")

</div>

Ok im using MX 2004 although i do have Flash 9 atm if anyone has an example in that Anyway, im trying to slow down and speed up an orbit of an mc relative to where the mouse position is. So basically i need some sort of …

---

## [A new "goto" after the first one?](https://forum.kirupa.com/t/a-new-goto-after-the-first-one/243743)

<div class="topic-metadata">

**Author:** [@Azyr](https://forum.kirupa.com/u/Azyr)\
**Replies:** 0\
**Last updated:** [November 10, 2007, 4:55am UTC](https://forum.kirupa.com/t/a-new-goto-after-the-first-one/243743 "2007-11-10T04:55:46Z")

</div>

Ok at a menubar in my flash Button 1 has the action : on (press); { gotoAndPlay(25) } Right now when the button is pressed it goes and plays the 25th frame to the 35th frame, then at the 35 th frame there is an actio…

---

## [Myspace Friends](https://forum.kirupa.com/t/myspace-friends/243737)

<div class="topic-metadata">

**Author:** [@creyentededios](https://forum.kirupa.com/u/creyentededios)\
**Replies:** 0\
**Last updated:** [November 10, 2007, 12:42am UTC](https://forum.kirupa.com/t/myspace-friends/243737 "2007-11-10T00:42:11Z")

</div>

Heres what i would like to do... in your friends section on myspace, i would like to put a flash file there...which of course i can do what i would like to do is maybe make an xml file for each of my friends, and the…

---

## [Problem with website background](https://forum.kirupa.com/t/problem-with-website-background/243735)

<div class="topic-metadata">

**Author:** [@vega](https://forum.kirupa.com/u/vega)\
**Replies:** 0\
**Last updated:** [November 10, 2007, 12:34am UTC](https://forum.kirupa.com/t/problem-with-website-background/243735 "2007-11-10T00:34:06Z")

</div>

Hi all, I am working on a flash based website for a friend of mine. We are using a big background image for the site(don't ask) and the flash loads up at center-top. I am using swfObject for the placement and auto-resi…

---

## [How can i change what value an array returns?](https://forum.kirupa.com/t/how-can-i-change-what-value-an-array-returns/243734)

<div class="topic-metadata">

**Author:** [@ferdy\_beekmans](https://forum.kirupa.com/u/ferdy_beekmans)\
**Replies:** 0\
**Last updated:** [November 10, 2007, 12:03am UTC](https://forum.kirupa.com/t/how-can-i-change-what-value-an-array-returns/243734 "2007-11-10T00:03:33Z")

</div>

I am trying to make a subclass of Array so that when i ask for a certain value of the array, i can alter what value i get. What method do i need to override to achieve this?

---

## [Moving dots change rate (timer)](https://forum.kirupa.com/t/moving-dots-change-rate-timer/243733)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 11:56pm UTC](https://forum.kirupa.com/t/moving-dots-change-rate-timer/243733 "2007-11-09T23:56:39Z")

</div>

I have a very lengthy class that "transmits" three red dots -- dot1, dot2, and dot3 -- from one box to another along a line that takes two 90 degree corners. I've attached a picture illustrating. Here are snippets of cod…

---

## [Interactive CD ROM](https://forum.kirupa.com/t/interactive-cd-rom/243732)

<div class="topic-metadata">

**Author:** [@residentcoppa](https://forum.kirupa.com/u/residentcoppa)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 11:54pm UTC](https://forum.kirupa.com/t/interactive-cd-rom/243732 "2007-11-09T23:54:19Z")

</div>

Hi I´ve been asked to do a cd rom presentation ( the usual stuff : 4/5 main areas with music , text , pictures , eventually some video ) It´s been 5 years now since i did my last cd rom using Macromedia Director at…

---

## [Class instantiation problem](https://forum.kirupa.com/t/class-instantiation-problem/243729)

<div class="topic-metadata">

**Author:** [@Rick\_Banghart](https://forum.kirupa.com/u/Rick_Banghart)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 11:13pm UTC](https://forum.kirupa.com/t/class-instantiation-problem/243729 "2007-11-09T23:13:17Z")

</div>

I have a class: package { public class newClass { public var value1:int = 10; function newClass() { trace(“constructing”); } public function someMethod():String { return “hello”; } } } It is saved as newClas…

---

## [XML image gallery with thumbnail grid -- help please!](https://forum.kirupa.com/t/xml-image-gallery-with-thumbnail-grid-help-please/243728)

<div class="topic-metadata">

**Author:** [@rrex](https://forum.kirupa.com/u/rrex)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 11:12pm UTC](https://forum.kirupa.com/t/xml-image-gallery-with-thumbnail-grid-help-please/243728 "2007-11-09T23:12:28Z")

</div>

I've followed Kirupa's XML photogallery and thumbnail scroller and it worked great. However, there is mention of a GRID setup for the thumbnails, but no explanation about how to accomplish it. Working from the Kirupa…

---

## [What is wrong when adding my external file to stage?](https://forum.kirupa.com/t/what-is-wrong-when-adding-my-external-file-to-stage/243727)

<div class="topic-metadata">

**Author:** [@Mippzon](https://forum.kirupa.com/u/Mippzon)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 11:05pm UTC](https://forum.kirupa.com/t/what-is-wrong-when-adding-my-external-file-to-stage/243727 "2007-11-09T23:05:11Z")

</div>

Hey! Could use some help here. I have an empty fla-file, and this code as the document class: package { import flash.display.\*; import flash.events.Event; import flash.net.URLLoader; import flash.ne…

---

## [Load XML file in AIR](https://forum.kirupa.com/t/load-xml-file-in-air/243722)

<div class="topic-metadata">

**Author:** [@mprzybylski](https://forum.kirupa.com/u/mprzybylski)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 10:25pm UTC](https://forum.kirupa.com/t/load-xml-file-in-air/243722 "2007-11-09T22:25:59Z")

</div>

So this is the first time I've touched AIR (ever!) and I was going about my business trying to use AS3 to load an XML file. If the XML file was not in the same directory as the swf file i was publishing out of AIR (publ…

---

## [AS2 Preloader - AS3 content](https://forum.kirupa.com/t/as2-preloader-as3-content/243718)

<div class="topic-metadata">

**Author:** [@RubenDoliveira](https://forum.kirupa.com/u/RubenDoliveira)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 9:28pm UTC](https://forum.kirupa.com/t/as2-preloader-as3-content/243718 "2007-11-09T21:28:12Z")

</div>

Hi everyone, I just want to ask if it's possible to use an AS2 preloader to load AS3 content? and if it solves all the issues like the IE7 bug etc... ? Thanks in advance, Ruben

---

## [Music loop - how can I stop it!](https://forum.kirupa.com/t/music-loop-how-can-i-stop-it/243715)

<div class="topic-metadata">

**Author:** [@northstar\_86](https://forum.kirupa.com/u/northstar_86)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 9:01pm UTC](https://forum.kirupa.com/t/music-loop-how-can-i-stop-it/243715 "2007-11-09T21:01:46Z")

</div>

I have a built in music player with several different tracks, after a song is complete is starts over and continues. I can not seem to stop the loop, any help would be much appreciated! here is my source. var numtrack …

---

## [Toggling MC alpha with a button](https://forum.kirupa.com/t/toggling-mc-alpha-with-a-button/243707)

<div class="topic-metadata">

**Author:** [@bigSHIFT](https://forum.kirupa.com/u/bigSHIFT)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 8:16pm UTC](https://forum.kirupa.com/t/toggling-mc-alpha-with-a-button/243707 "2007-11-09T20:16:00Z")

</div>

Hey all, I'm trying to have one button turn an mc's alpha from 0 to 100, then next press from 100 to 0 but since I am new to action scripting, I am kinda just hit and miss with things. I have this part done... on (pr…

---

## [External SWF -\> Please Help](https://forum.kirupa.com/t/external-swf-please-help/243704)

<div class="topic-metadata">

**Author:** [@JChristian](https://forum.kirupa.com/u/JChristian)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 7:38pm UTC](https://forum.kirupa.com/t/external-swf-please-help/243704 "2007-11-09T19:38:10Z")

</div>

I know how to load an external swf like: I have container.swf that has this code : var request:URLRequest = new URLRequest("content.swf"); var loader:Loader = new Loader(); loader.load(request); addChild(loader); B…

---

## [Whats the best way to version your ActionScript files?](https://forum.kirupa.com/t/whats-the-best-way-to-version-your-actionscript-files/243703)

<div class="topic-metadata">

**Author:** [@daidai](https://forum.kirupa.com/u/daidai)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 7:28pm UTC](https://forum.kirupa.com/t/whats-the-best-way-to-version-your-actionscript-files/243703 "2007-11-09T19:28:56Z")

</div>

Since using AS I've never found a good way of versioning my AS files, i.e. MyClass\_01.as, MyClass\_02.as, etc...At the minute I have a folder containing all my files needed for a project: .fla, .as, images, .xml and every…

---

## [Streaming mp3 via xml hacked(being downloaded)](https://forum.kirupa.com/t/streaming-mp3-via-xml-hacked-being-downloaded/243700)

<div class="topic-metadata">

**Author:** [@Zombo](https://forum.kirupa.com/u/Zombo)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 7:02pm UTC](https://forum.kirupa.com/t/streaming-mp3-via-xml-hacked-being-downloaded/243700 "2007-11-09T19:02:06Z")

</div>

I made this site for a dj/producer, and unfortunately I found out that someone has hacked my swf, found the xml file on my server which revealed the location of the mp3 that I am streaming, and shared that link informati…

---

## [Need help on the "CameraMoveAndPan" demo](https://forum.kirupa.com/t/need-help-on-the-cameramoveandpan-demo/243696)

<div class="topic-metadata">

**Author:** [@slickness](https://forum.kirupa.com/u/slickness)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 6:34pm UTC](https://forum.kirupa.com/t/need-help-on-the-cameramoveandpan-demo/243696 "2007-11-09T18:34:30Z")

</div>

Sry I'm a noob in actionscripting. Anyway in this guide http://www.kirupa.com/developer/actionscript/more\_panning.htm I really like the way the 8 figures are able to have prespective, but I can't seem to manipulate i…

---

## [Legal music linking?](https://forum.kirupa.com/t/legal-music-linking/243694)

<div class="topic-metadata">

**Author:** [@RichGags](https://forum.kirupa.com/u/RichGags)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 6:19pm UTC](https://forum.kirupa.com/t/legal-music-linking/243694 "2007-11-09T18:19:54Z")

</div>

So if I wanted to have music playing in the background of my company's website, is there any services or websites out there that allow for either linking to them, or playing music through them? I found a couple of free …

---

## [Unloading XML file](https://forum.kirupa.com/t/unloading-xml-file/243693)

<div class="topic-metadata">

**Author:** [@klavier](https://forum.kirupa.com/u/klavier)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 6:16pm UTC](https://forum.kirupa.com/t/unloading-xml-file/243693 "2007-11-09T18:16:11Z")

</div>

Hello all, I'm having problems loading a new XML file. I have a single XML loading into an MC initially. Then when I try to load in a new file with a button - the previously loaded XML file doesn't want to leave. Maybe…

---

## [Browser Capturing Key Strokes](https://forum.kirupa.com/t/browser-capturing-key-strokes/243692)

<div class="topic-metadata">

**Author:** [@FizixMan](https://forum.kirupa.com/u/FizixMan)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 6:14pm UTC](https://forum.kirupa.com/t/browser-capturing-key-strokes/243692 "2007-11-09T18:14:07Z")

</div>

I've tested IE and Firefox so far, both of them capture certain keystrokes. For example, in IE I can't use "Escape" because it's being captured by IE as the Stop Page command. Similarily, F1 is bringing up the browser…

---

## [Need some advice on my flash business site](https://forum.kirupa.com/t/need-some-advice-on-my-flash-business-site/243683)

<div class="topic-metadata">

**Author:** [@welchyboy](https://forum.kirupa.com/u/welchyboy)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 5:38pm UTC](https://forum.kirupa.com/t/need-some-advice-on-my-flash-business-site/243683 "2007-11-09T17:38:04Z")

</div>

Hey all you gurus out there. I could use some help. I have never used flash before up until about a month ago. I am using Flash CS3 and have created a pretty decent flash site in my opinion. Nothing compared to some of t…

---

## [Firefox tabs problem](https://forum.kirupa.com/t/firefox-tabs-problem/243680)

<div class="topic-metadata">

**Author:** [@Robyee](https://forum.kirupa.com/u/Robyee)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 4:42pm UTC](https://forum.kirupa.com/t/firefox-tabs-problem/243680 "2007-11-09T16:42:18Z")

</div>

Its long time im searching a solution to resolve a firefox tabs problem. :d: I have a full screen flash site with Stage.scaleMode = "noScale", the menu still on the bottom of the stage, also when resizing the browser. …

---

## [Goto and play scene?](https://forum.kirupa.com/t/goto-and-play-scene/243677)

<div class="topic-metadata">

**Author:** [@Azyr](https://forum.kirupa.com/u/Azyr)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 4:07pm UTC](https://forum.kirupa.com/t/goto-and-play-scene/243677 "2007-11-09T16:07:29Z")

</div>

For some reason i'm having problems swapping scenes in my flash movie. At first i put the action in a "actions" named layer and a link to a button. So basicly when scene1 loads the frame 1 action is "stop ();". The vie…

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

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