# programming

**URL:** https://forum.kirupa.com/c/programming/41.md?page=1175

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

**Page:** 1176

---

## [XML\_photogallery desolve?](https://forum.kirupa.com/t/xml-photogallery-desolve/264627)

<div class="topic-metadata">

**Author:** [@fchanes](https://forum.kirupa.com/u/fchanes)\
**Replies:** 0\
**Last updated:** [June 27, 2008, 9:11pm UTC](https://forum.kirupa.com/t/xml-photogallery-desolve/264627 "2008-06-27T21:11:58Z")

</div>

How can I make the images desolve between each other, not "white" space between? Also, can I use a next and previous button and still have an auto interval? Thanks. Fchanes

---

## [Check if image has already been loaded](https://forum.kirupa.com/t/check-if-image-has-already-been-loaded/264607)

<div class="topic-metadata">

**Author:** [@tpspoons](https://forum.kirupa.com/u/tpspoons)\
**Replies:** 6\
**Last updated:** [June 27, 2008, 9:06pm UTC](https://forum.kirupa.com/t/check-if-image-has-already-been-loaded/264607 "2008-06-27T21:06:47Z")

</div>

Well as the title sais, is there anyway to check if the image has been cached, or has already been loaded so you can skip the preloading process (it looks pretty ugly when the preloader appears and disappears in an insta…

---

## [Event trapping/capturing](https://forum.kirupa.com/t/event-trapping-capturing/264618)

<div class="topic-metadata">

**Author:** [@sekasi](https://forum.kirupa.com/u/sekasi)\
**Replies:** 2\
**Last updated:** [June 27, 2008, 8:56pm UTC](https://forum.kirupa.com/t/event-trapping-capturing/264618 "2008-06-27T20:56:02Z")

</div>

I'm not quite sure what I'm doing wrong here, but here's a quick pseudocode example; (inside a class called hNavStage that extends Sprite. Custom class navException also extends Sprite) var mN:navException = new nav…

---

## [MouseEvent.MOUSE\_OUT doesn't always trigger?](https://forum.kirupa.com/t/mouseevent-mouse-out-doesnt-always-trigger/264468)

<div class="topic-metadata">

**Author:** [@dthought](https://forum.kirupa.com/u/dthought)\
**Replies:** 7\
**Last updated:** [June 27, 2008, 8:52pm UTC](https://forum.kirupa.com/t/mouseevent-mouse-out-doesnt-always-trigger/264468 "2008-06-27T20:52:41Z")

</div>

So here I am playing around with some ridiculously simple code, but it seems there's a problem - a MouseEvent.MOUSE\_OUT event is not always triggered when my mouse leaves a listening clip, if I move the mouse really fast…

---

## [\[as2\]- removing/truncating Double Quotes (" 's)](https://forum.kirupa.com/t/as2-removing-truncating-double-quotes-s/264610)

<div class="topic-metadata">

**Author:** [@yamahammer](https://forum.kirupa.com/u/yamahammer)\
**Replies:** 5\
**Last updated:** [June 27, 2008, 8:17pm UTC](https://forum.kirupa.com/t/as2-removing-truncating-double-quotes-s/264610 "2008-06-27T20:17:40Z")

</div>

Good Day All! Im working with some XML that has double quotes around the text that i want to work with. For example- "Miami" and I would like it to look like- Miami This is what i was working with so far (but doesn't wor…

---

## [Setting AddChild to be a background](https://forum.kirupa.com/t/setting-addchild-to-be-a-background/264598)

<div class="topic-metadata">

**Author:** [@thejoeknows\_com](https://forum.kirupa.com/u/thejoeknows_com)\
**Replies:** 2\
**Last updated:** [June 27, 2008, 8:16pm UTC](https://forum.kirupa.com/t/setting-addchild-to-be-a-background/264598 "2008-06-27T20:16:30Z")

</div>

when trying to set a movieclip as an addchild, my hero still goes under it instead of walking on it. i hav tried... addChild(level.mc.building); //where level.mc is the level and building is its background and iv…

---

## [swapChildren - referencing the items..?](https://forum.kirupa.com/t/swapchildren-referencing-the-items/264594)

<div class="topic-metadata">

**Author:** [@partimer](https://forum.kirupa.com/u/partimer)\
**Replies:** 2\
**Last updated:** [June 27, 2008, 8:02pm UTC](https://forum.kirupa.com/t/swapchildren-referencing-the-items/264594 "2008-06-27T20:02:28Z")

</div>

Ok - I know I've appeared here today with a few questions - my last of the day I promise! My doc class (Main.as) calls and builds a few graphics (doBuild.as) and some text (mainText.as). I'm trying to target the dyna…

---

## [Free flash graphics](https://forum.kirupa.com/t/free-flash-graphics/264619)

<div class="topic-metadata">

**Author:** [@jrblacquiere](https://forum.kirupa.com/u/jrblacquiere)\
**Replies:** 0\
**Last updated:** [June 27, 2008, 7:53pm UTC](https://forum.kirupa.com/t/free-flash-graphics/264619 "2008-06-27T19:53:29Z")

</div>

Does anyone know where you can go to download free flash graphics to use in your games, such as tanks, people, enemies, etc?

---

## [String to MovieClip... is that possible? XML-Related](https://forum.kirupa.com/t/string-to-movieclip-is-that-possible-xml-related/264524)

<div class="topic-metadata">

**Author:** [@XLCowBoy](https://forum.kirupa.com/u/XLCowBoy)\
**Replies:** 2\
**Last updated:** [June 27, 2008, 7:32pm UTC](https://forum.kirupa.com/t/string-to-movieclip-is-that-possible-xml-related/264524 "2008-06-27T19:32:12Z")

</div>

\[FONT=Arial\]Hi guys, I'm trying to put together an XML based Flash map. On the right side, is a dynamically loaded XML menu. Now, my problem is that the rollover and rollout effects for the menu doesn't work. Basica…

---

## [Questions about Load and Unload external swf files](https://forum.kirupa.com/t/questions-about-load-and-unload-external-swf-files/264568)

<div class="topic-metadata">

**Author:** [@alex298](https://forum.kirupa.com/u/alex298)\
**Replies:** 1\
**Last updated:** [June 27, 2008, 7:27pm UTC](https://forum.kirupa.com/t/questions-about-load-and-unload-external-swf-files/264568 "2008-06-27T19:27:29Z")

</div>

Hello, I have a small project to load and unload two external swf files. Here’s the details of my project: There are two external swf files (glow.swf and down.swf) Button movie1\_btn is used to load glow.swf Button mo…

---

## [While Loop Not Working](https://forum.kirupa.com/t/while-loop-not-working/264550)

<div class="topic-metadata">

**Author:** [@Thefox14](https://forum.kirupa.com/u/Thefox14)\
**Replies:** 1\
**Last updated:** [June 27, 2008, 6:49pm UTC](https://forum.kirupa.com/t/while-loop-not-working/264550 "2008-06-27T18:49:44Z")

</div>

What my while loop is doing: I heard a neat way to make sure the character never goes into the ground by using a while loop. So what it comes down to is that when I get close enough to the ground, my while loop lowers m…

---

## [Frame action to load URL](https://forum.kirupa.com/t/frame-action-to-load-url/264545)

<div class="topic-metadata">

**Author:** [@outback](https://forum.kirupa.com/u/outback)\
**Replies:** 1\
**Last updated:** [June 27, 2008, 6:24pm UTC](https://forum.kirupa.com/t/frame-action-to-load-url/264545 "2008-06-27T18:24:01Z")

</div>

Hi I kind a new in flash and I'm trying to discover a way to make a frame load an URL my btn takes me to an specific frame and in that frame I need to put an action to load my blog can anyone help me? thanks in advance…

---

## [Save Files off a CD](https://forum.kirupa.com/t/save-files-off-a-cd/264558)

<div class="topic-metadata">

**Author:** [@alanmace](https://forum.kirupa.com/u/alanmace)\
**Replies:** 2\
**Last updated:** [June 27, 2008, 6:11pm UTC](https://forum.kirupa.com/t/save-files-off-a-cd/264558 "2008-06-27T18:11:39Z")

</div>

I am working on a project that has a gallery of images. The client wants users to be able to save the images to their hard drive. Thing is, this is going out on a CD, so it needs to be able to save files from a folder on…

---

## [onLoad swf inside main swf](https://forum.kirupa.com/t/onload-swf-inside-main-swf/264562)

<div class="topic-metadata">

**Author:** [@dt694](https://forum.kirupa.com/u/dt694)\
**Replies:** 2\
**Last updated:** [June 27, 2008, 6:05pm UTC](https://forum.kirupa.com/t/onload-swf-inside-main-swf/264562 "2008-06-27T18:05:29Z")

</div>

My main swf (site.swf) contains a movie clip loader that loads a second swf "item\_menu.swf". Inside this second swf, I also have a movie clip loader "cityLoader\_mc" that loads another swf "itemA1.swf" but the onLoad func…

---

## [Flip/Turn MovieClip ActionScript](https://forum.kirupa.com/t/flip-turn-movieclip-actionscript/264575)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 2\
**Last updated:** [June 27, 2008, 6:00pm UTC](https://forum.kirupa.com/t/flip-turn-movieclip-actionscript/264575 "2008-06-27T18:00:50Z")

</div>

Hi does anybody has a source file I could use as an example on how to make a display to turn (flip) around and show the other side? I found some components on the web, but I can´t afford them. Thanks

---

## [Attaching sound when enemy dies?](https://forum.kirupa.com/t/attaching-sound-when-enemy-dies/264543)

<div class="topic-metadata">

**Author:** [@Amymation](https://forum.kirupa.com/u/Amymation)\
**Replies:** 1\
**Last updated:** [June 27, 2008, 5:55pm UTC](https://forum.kirupa.com/t/attaching-sound-when-enemy-dies/264543 "2008-06-27T17:55:11Z")

</div>

Hi guys. I've been making this pretty cool game and I've got all coding right and all but what I want to do is when the enemy dies (when hittest with char) I want it to play the sound "ding". I've tried so many things s…

---

## [Help Making CS3 Components](https://forum.kirupa.com/t/help-making-cs3-components/264600)

<div class="topic-metadata">

**Author:** [@mr\_b](https://forum.kirupa.com/u/mr_b)\
**Replies:** 0\
**Last updated:** [June 27, 2008, 5:41pm UTC](https://forum.kirupa.com/t/help-making-cs3-components/264600 "2008-06-27T17:41:24Z")

</div>

Can anyone out there offer up a few minutes of help to an old dog trying to make a compiled Flash component? Most everything I've been reading is Flex based. I have a set of classes working together that work in CS3 but …

---

## [Assign Global Variable](https://forum.kirupa.com/t/assign-global-variable/264526)

<div class="topic-metadata">

**Author:** [@cortezcreations](https://forum.kirupa.com/u/cortezcreations)\
**Replies:** 3\
**Last updated:** [June 27, 2008, 5:40pm UTC](https://forum.kirupa.com/t/assign-global-variable/264526 "2008-06-27T17:40:57Z")

</div>

Okay me and XML @^$7#@!! I've set up a multi-lingual fla now where you select your language with a button on the first frame and that loads in the equivalent xml file. Now Later in my swf I'm trying to load in ano…

---

## [Changing images using AS](https://forum.kirupa.com/t/changing-images-using-as/264590)

<div class="topic-metadata">

**Author:** [@mrwizard](https://forum.kirupa.com/u/mrwizard)\
**Replies:** 6\
**Last updated:** [June 27, 2008, 5:38pm UTC](https://forum.kirupa.com/t/changing-images-using-as/264590 "2008-06-27T17:38:49Z")

</div>

Hi, I've just joined this forum \[smile\] I'm editing a website, it has a picture on top. What I want to do is to use a different picture for every different page (home, contact etc). So when they click on lets say con…

---

## [Simple question/problem from a newbie to 3 (please help me!)](https://forum.kirupa.com/t/simple-question-problem-from-a-newbie-to-3-please-help-me/264569)

<div class="topic-metadata">

**Author:** [@partimer](https://forum.kirupa.com/u/partimer)\
**Replies:** 6\
**Last updated:** [June 27, 2008, 3:53pm UTC](https://forum.kirupa.com/t/simple-question-problem-from-a-newbie-to-3-please-help-me/264569 "2008-06-27T15:53:06Z")

</div>

I'm sure this'll take no time at all for someone a little more versed but it'll help me no-end in learning the dreaded 'as3'. I've an fla that defines a doc class as Main and the following two classes in the same direc…

---

## [Flash player won't load my files](https://forum.kirupa.com/t/flash-player-wont-load-my-files/264588)

<div class="topic-metadata">

**Author:** [@xezton](https://forum.kirupa.com/u/xezton)\
**Replies:** 0\
**Last updated:** [June 27, 2008, 3:06pm UTC](https://forum.kirupa.com/t/flash-player-wont-load-my-files/264588 "2008-06-27T15:06:08Z")

</div>

I have created a flash interface, that I would like to use for a client, that uses AS3 and progressive download flv video files. However, when they try to view my file, all that appears is a red "x" as if the file doesn…

---

## [Ball and Paddle Physics: Velocity and bouncing off corners](https://forum.kirupa.com/t/ball-and-paddle-physics-velocity-and-bouncing-off-corners/264528)

<div class="topic-metadata">

**Author:** [@sincsu](https://forum.kirupa.com/u/sincsu)\
**Replies:** 4\
**Last updated:** [June 27, 2008, 3:00pm UTC](https://forum.kirupa.com/t/ball-and-paddle-physics-velocity-and-bouncing-off-corners/264528 "2008-06-27T15:00:12Z")

</div>

Hi, I am trying to figure out some ball physics for a paddle and ball. I apologise if this doesn't make much sense, my brain is frazzled and I'm just trying to get my ideas out before I go to bed. Velocity: (Solved, so…

---

## [Reads package but doesn't add child](https://forum.kirupa.com/t/reads-package-but-doesnt-add-child/264584)

<div class="topic-metadata">

**Author:** [@partimer](https://forum.kirupa.com/u/partimer)\
**Replies:** 2\
**Last updated:** [June 27, 2008, 2:52pm UTC](https://forum.kirupa.com/t/reads-package-but-doesnt-add-child/264584 "2008-06-27T14:52:44Z")

</div>

Hi all, I got some help here from Charleh here earlier but am syuck on another problem and have no idea why? I have my main FLA with a doc class of Main. The following imports some nav sprites from the Main class and…

---

## [Help me with this error please?](https://forum.kirupa.com/t/help-me-with-this-error-please/264583)

<div class="topic-metadata">

**Author:** [@brunosra](https://forum.kirupa.com/u/brunosra)\
**Replies:** 1\
**Last updated:** [June 27, 2008, 2:43pm UTC](https://forum.kirupa.com/t/help-me-with-this-error-please/264583 "2008-06-27T14:43:05Z")

</div>

I downloaded this code from a tutorial i found on the internet, but it keeps telling me "Fader.as, Line 9: 1017: The definition of base class MovieClip was not found.". I already imported the flash.display.MovieClip clas…

---

## [Using flv's in flash](https://forum.kirupa.com/t/using-flvs-in-flash/264462)

<div class="topic-metadata">

**Author:** [@adnanoner](https://forum.kirupa.com/u/adnanoner)\
**Replies:** 1\
**Last updated:** [June 27, 2008, 2:06pm UTC](https://forum.kirupa.com/t/using-flvs-in-flash/264462 "2008-06-27T14:06:08Z")

</div>

Hi there, I'm currently working on a project where i'm using flv's as animations between frames. Except I've bumped into two problems. I use a button to gotoandplay frame 2 where the movie is. Except when frame 2 is lo…

---

## [Interactive scrolling gallery help required](https://forum.kirupa.com/t/interactive-scrolling-gallery-help-required/264283)

<div class="topic-metadata">

**Author:** [@george\_gaz](https://forum.kirupa.com/u/george_gaz)\
**Replies:** 1\
**Last updated:** [June 27, 2008, 2:02pm UTC](https://forum.kirupa.com/t/interactive-scrolling-gallery-help-required/264283 "2008-06-27T14:02:15Z")

</div>

Hello all, Firstly, thank you for taking a look at my problem, I hope that you can help :bounce: OK the problem here is that when this flash animation loads in a webpage it begins by scrolling, and it scrolls fast un…

---

## [Cross fading banner with buttons, looping, and links](https://forum.kirupa.com/t/cross-fading-banner-with-buttons-looping-and-links/264577)

<div class="topic-metadata">

**Author:** [@jessekemba](https://forum.kirupa.com/u/jessekemba)\
**Replies:** 0\
**Last updated:** [June 27, 2008, 1:25pm UTC](https://forum.kirupa.com/t/cross-fading-banner-with-buttons-looping-and-links/264577 "2008-06-27T13:25:13Z")

</div>

Hello everyone, I'm basically brand new to Flash, so I know very little about ActionScript. I more or less figured out how to do this banner without ActionScript, but I've read that's not very efficient (I was using ab…

---

## [Need help about Actionscript3 code](https://forum.kirupa.com/t/need-help-about-actionscript3-code/264512)

<div class="topic-metadata">

**Author:** [@Pantsie](https://forum.kirupa.com/u/Pantsie)\
**Replies:** 1\
**Last updated:** [June 27, 2008, 12:37pm UTC](https://forum.kirupa.com/t/need-help-about-actionscript3-code/264512 "2008-06-27T12:37:17Z")

</div>

Hello there! I need to make a mini game for school in Actionscript 3. Everything seemed to go fine… till I needed a certain code x) I tried to search and search… but couldn’t find it anywhere :expressionless: My problem…

---

## [How to delete an object?](https://forum.kirupa.com/t/how-to-delete-an-object/263539)

<div class="topic-metadata">

**Author:** [@johnlouis](https://forum.kirupa.com/u/johnlouis)\
**Replies:** 11\
**Last updated:** [June 27, 2008, 12:21pm UTC](https://forum.kirupa.com/t/how-to-delete-an-object/263539 "2008-06-27T12:21:37Z")

</div>

How do I delete an object, especially a DisplayObject in the display list, permanently?

---

## [AS2/CS3: window.open in HTML in XML into Flash](https://forum.kirupa.com/t/as2-cs3-window-open-in-html-in-xml-into-flash/264295)

<div class="topic-metadata">

**Author:** [@mondoFred](https://forum.kirupa.com/u/mondoFred)\
**Replies:** 1\
**Last updated:** [June 27, 2008, 11:48am UTC](https://forum.kirupa.com/t/as2-cs3-window-open-in-html-in-xml-into-flash/264295 "2008-06-27T11:48:35Z")

</div>

Okay, here goes: My Flash CS3 file displays HTML text, read in from an XML file (within CDATA). The HTML text contains links in the form of \<a\> (anchor) tags (of course). I am attempting to open a new customized browse…

[Previous page](https://forum.kirupa.com/c/programming/41.md?page=1174)

[Next page](https://forum.kirupa.com/c/programming/41.md?page=1176)
