# programming

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

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

**Page:** 1140

---

## [\[Flash CS3 AS2\] Preload Images](https://forum.kirupa.com/t/flash-cs3-as2-preload-images/266852)

<div class="topic-metadata">

**Author:** [@quicknk](https://forum.kirupa.com/u/quicknk)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 10:01pm UTC](https://forum.kirupa.com/t/flash-cs3-as2-preload-images/266852 "2008-07-24T22:01:46Z")

</div>

I know there are a lot of tutorials out there on how to preload external images using listeners and preload animations, but i can't seem to figure out how to preload more than one image at a time. I know there are ways t…

---

## [Transparent png over a flash movie](https://forum.kirupa.com/t/transparent-png-over-a-flash-movie/266850)

<div class="topic-metadata">

**Author:** [@rsalway](https://forum.kirupa.com/u/rsalway)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 9:19pm UTC](https://forum.kirupa.com/t/transparent-png-over-a-flash-movie/266850 "2008-07-24T21:19:28Z")

</div>

I have a transparent png over a flash movie in dreamweaver cs3. It is supposed to be on top of the movie, but it goes behind the movie when I view it in a browser. Can someone help me out? Thanks, Ryan

---

## [3d interactive interface! Pay for help!](https://forum.kirupa.com/t/3d-interactive-interface-pay-for-help/266848)

<div class="topic-metadata">

**Author:** [@yuzhan618](https://forum.kirupa.com/u/yuzhan618)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 9:16pm UTC](https://forum.kirupa.com/t/3d-interactive-interface-pay-for-help/266848 "2008-07-24T21:16:29Z")

</div>

what i need to do right now is like the photoflow, the 1st example \[COLOR=#0000cc\]http://www.flashloaded.com/flashcomponents/photoflow/?id2=3785527&gclid=CPqAoNy12ZQCFRKhxgoddUwFjA\[/COLOR\] \[COLOR=#0000cc\]\[/COLOR\] but i…

---

## [Remove a movieclip that has audio](https://forum.kirupa.com/t/remove-a-movieclip-that-has-audio/266844)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 9:02pm UTC](https://forum.kirupa.com/t/remove-a-movieclip-that-has-audio/266844 "2008-07-24T21:02:02Z")

</div>

I'm trying to use removeChild() to get rid of a movie clip, thus: addEventListener(Event.ENTER\_FRAME, endSlide003); function endSlide003(event:Event):void { if (s003.s003Finished == true) { if (s003Added) { if (…

---

## [.flv looping after delay in AS](https://forum.kirupa.com/t/flv-looping-after-delay-in-as/266842)

<div class="topic-metadata">

**Author:** [@dubsfan](https://forum.kirupa.com/u/dubsfan)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 8:46pm UTC](https://forum.kirupa.com/t/flv-looping-after-delay-in-as/266842 "2008-07-24T20:46:08Z")

</div>

Hello I have an ad banner which calls up a external .flv. I have placed it on the stage, but I want it to pause about 3 seconds, then loop automatically. When I select the flv on stage, I got the loop to work by ad…

---

## [2 footer alignment problems](https://forum.kirupa.com/t/2-footer-alignment-problems/266841)

<div class="topic-metadata">

**Author:** [@irishcash33](https://forum.kirupa.com/u/irishcash33)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 8:45pm UTC](https://forum.kirupa.com/t/2-footer-alignment-problems/266841 "2008-07-24T20:45:53Z")

</div>

In FF on PC this page looks great. But in IE7 on PC, there is a huge gap from the bottom of the maincontent and the footer. I can't figure out why. I need the footer to go with the flow of the copy, since the length of p…

---

## [Simple decimal question](https://forum.kirupa.com/t/simple-decimal-question/266837)

<div class="topic-metadata">

**Author:** [@pixel\_chick](https://forum.kirupa.com/u/pixel_chick)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 7:31pm UTC](https://forum.kirupa.com/t/simple-decimal-question/266837 "2008-07-24T19:31:16Z")

</div>

I have an XML node that is a percentage, \<Percentage\>.1578578928946447322\</Percentage\> that needs to be displayed as 15% instead of what is shown. Can anyone tell me how to move the decimal to accomplish this? Seems like…

---

## [If empty](https://forum.kirupa.com/t/if-empty/266836)

<div class="topic-metadata">

**Author:** [@xelaxam](https://forum.kirupa.com/u/xelaxam)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 7:23pm UTC](https://forum.kirupa.com/t/if-empty/266836 "2008-07-24T19:23:20Z")

</div>

I'm loading some info by an mysql database into flash. I created a variable for the web site var Site:Object = this.Membre.Siteweb ... And It working perfectly. With that variable I'm able to load the web site and make s…

---

## [EventHandler problem](https://forum.kirupa.com/t/eventhandler-problem/266833)

<div class="topic-metadata">

**Author:** [@spectator](https://forum.kirupa.com/u/spectator)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 6:53pm UTC](https://forum.kirupa.com/t/eventhandler-problem/266833 "2008-07-24T18:53:21Z")

</div>

I have created a function. In it I am listening to a change in 2 textFields. I get the values of them. I show their product in third textField. All this is working fine. But I want to sum all the products I get. I can't …

---

## [Possible to extract source files from my swfs?](https://forum.kirupa.com/t/possible-to-extract-source-files-from-my-swfs/266831)

<div class="topic-metadata">

**Author:** [@twb01](https://forum.kirupa.com/u/twb01)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 6:37pm UTC](https://forum.kirupa.com/t/possible-to-extract-source-files-from-my-swfs/266831 "2008-07-24T18:37:46Z")

</div>

A little over a year ago, I suffered a hard drive failure. As it happens, some of my directoties were not archived/backed up. I have about a dozen swfs that need to be revised due to a client changing its name. The swf…

---

## [SWF Transition problem](https://forum.kirupa.com/t/swf-transition-problem/266829)

<div class="topic-metadata">

**Author:** [@keebler87](https://forum.kirupa.com/u/keebler87)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 6:19pm UTC](https://forum.kirupa.com/t/swf-transition-problem/266829 "2008-07-24T18:19:09Z")

</div>

Hello everyone! I am using the tutorial for the swf external transition that can be found here: http://www.kirupa.com/developer/mx2004/transitions2.htm The issue I'm having now is that all the content is in a MC on…

---

## [Image Sliding device, reverse motion](https://forum.kirupa.com/t/image-sliding-device-reverse-motion/266827)

<div class="topic-metadata">

**Author:** [@nknutsen](https://forum.kirupa.com/u/nknutsen)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 6:06pm UTC](https://forum.kirupa.com/t/image-sliding-device-reverse-motion/266827 "2008-07-24T18:06:36Z")

</div>

Sooo...I've been building this website for a while and my boss wants me to make two changes that are over my head. He wants the image slider device to scroll from left to right, instead of the default right to left. H…

---

## [Extend MovieClip after it's created?](https://forum.kirupa.com/t/extend-movieclip-after-its-created/266826)

<div class="topic-metadata">

**Author:** [@Ozymandias](https://forum.kirupa.com/u/Ozymandias)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 6:00pm UTC](https://forum.kirupa.com/t/extend-movieclip-after-its-created/266826 "2008-07-24T18:00:51Z")

</div>

Is it possible to do something like this: var mc:MovieClip = new MovieClip(); mc.applyClass('someclass'); Something like that? Sometimes I want to just apply utility methods to a movieclip without having to create a …

---

## [Image sliding device](https://forum.kirupa.com/t/image-sliding-device/266822)

<div class="topic-metadata">

**Author:** [@nknutsen](https://forum.kirupa.com/u/nknutsen)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 5:30pm UTC](https://forum.kirupa.com/t/image-sliding-device/266822 "2008-07-24T17:30:45Z")

</div>

Sooo...I've been building this website for a while and my boss wants me to make two changes that are over my head. He wants the image slider device to scroll from left to right, instead of the default right to left. H…

---

## [How to stop the SWF resizing in the browser?](https://forum.kirupa.com/t/how-to-stop-the-swf-resizing-in-the-browser/266821)

<div class="topic-metadata">

**Author:** [@7storyreason](https://forum.kirupa.com/u/7storyreason)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 5:22pm UTC](https://forum.kirupa.com/t/how-to-stop-the-swf-resizing-in-the-browser/266821 "2008-07-24T17:22:11Z")

</div>

Hi... well the title pretty much explains it all I'm just trying to stop the SWF resizing when its being viewed in the browser. Im not brilliant with actionscript so you'll have to bare with me. I'm using the following…

---

## [Where I am wrong-Loadin data from mysql into flash](https://forum.kirupa.com/t/where-i-am-wrong-loadin-data-from-mysql-into-flash/266817)

<div class="topic-metadata">

**Author:** [@brli](https://forum.kirupa.com/u/brli)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 4:34pm UTC](https://forum.kirupa.com/t/where-i-am-wrong-loadin-data-from-mysql-into-flash/266817 "2008-07-24T16:34:42Z")

</div>

If anybody reads this please help. I have been trying for 3 days to bring data to my flash page and still nothing. I am trying to query mysql according to a tutorial found here:http://www.kirupa.com/developer/actionscrip…

---

## [Movie clip manipulation](https://forum.kirupa.com/t/movie-clip-manipulation/266816)

<div class="topic-metadata">

**Author:** [@chymx2](https://forum.kirupa.com/u/chymx2)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 4:33pm UTC](https://forum.kirupa.com/t/movie-clip-manipulation/266816 "2008-07-24T16:33:44Z")

</div>

Hi In my main movie there is a movie clip called "trayopen" when I click on this movieclip it activates by animating to a stop in the movie clip I specified. I sort of have two asks that may be similar in nature... I…

---

## [Getting AS2/Javascript to honor a Double Click](https://forum.kirupa.com/t/getting-as2-javascript-to-honor-a-double-click/266815)

<div class="topic-metadata">

**Author:** [@will\_s](https://forum.kirupa.com/u/will_s)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 4:27pm UTC](https://forum.kirupa.com/t/getting-as2-javascript-to-honor-a-double-click/266815 "2008-07-24T16:27:42Z")

</div>

I have this basic code on a series of buttons on a Flash 8 page (AS2): /\* on (release) { address = "Austin.html"; target\_winName = "Austin"; width = 900; height = 825; toolbar = 0; location = 0; …

---

## [External Loading](https://forum.kirupa.com/t/external-loading/266812)

<div class="topic-metadata">

**Author:** [@three\_suns](https://forum.kirupa.com/u/three_suns)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 3:42pm UTC](https://forum.kirupa.com/t/external-loading/266812 "2008-07-24T15:42:47Z")

</div>

Greeting to all! I have a common problem that I can not figure out with AS3. I have a Movieclip on stage calling an external swf file. I have search high and low for the answer and can't seem to find the answer. What…

---

## [onRollover onRollout, cursor staying on button](https://forum.kirupa.com/t/onrollover-onrollout-cursor-staying-on-button/266809)

<div class="topic-metadata">

**Author:** [@geestring](https://forum.kirupa.com/u/geestring)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 3:30pm UTC](https://forum.kirupa.com/t/onrollover-onrollout-cursor-staying-on-button/266809 "2008-07-24T15:30:20Z")

</div>

I have an image that will double as a button to make it larger if you click it. on the rollovers I have a plus and minus sign depending on which size the image is currently. if you click the image and it gets larger t…

---

## [Looping over all movieclips](https://forum.kirupa.com/t/looping-over-all-movieclips/266807)

<div class="topic-metadata">

**Author:** [@jcafaro10](https://forum.kirupa.com/u/jcafaro10)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 3:07pm UTC](https://forum.kirupa.com/t/looping-over-all-movieclips/266807 "2008-07-24T15:07:57Z")

</div>

I have a bunch of movieclips labeled t0,t1,t2...etc. When I rollover one of them it gets bigger but I'd like the movieclips on eitherside of the one I'm rolling over to get bigger too. Each movieclip knows its number i…

---

## [Tables - highlight as hovering](https://forum.kirupa.com/t/tables-highlight-as-hovering/266799)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 1:56pm UTC](https://forum.kirupa.com/t/tables-highlight-as-hovering/266799 "2008-07-24T13:56:21Z")

</div>

\[resolved\]

---

## [User downloading movie straight into web page?](https://forum.kirupa.com/t/user-downloading-movie-straight-into-web-page/266798)

<div class="topic-metadata">

**Author:** [@FreestyleFTW](https://forum.kirupa.com/u/FreestyleFTW)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 1:29pm UTC](https://forum.kirupa.com/t/user-downloading-movie-straight-into-web-page/266798 "2008-07-24T13:29:29Z")

</div>

Hello all, I'll try to explain this as best I can. Bascially, I have an interface that allows users to select a video clip from a large library of files. Once the user selects the movie they then have 3 options. Opti…

---

## [How to attach number to a TextField](https://forum.kirupa.com/t/how-to-attach-number-to-a-textfield/266796)

<div class="topic-metadata">

**Author:** [@spectator](https://forum.kirupa.com/u/spectator)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 1:10pm UTC](https://forum.kirupa.com/t/how-to-attach-number-to-a-textfield/266796 "2008-07-24T13:10:35Z")

</div>

I know this is a stupid question but I really need help. \[smile\] I have a Number variable var \_num:Number; \_num = 1; for ( var i:Number = 0; i \< 10; i++) { num.text = \_num; \_num++; } I know there is no point in th…

---

## [Movieclip vertial and horizontal scrolling](https://forum.kirupa.com/t/movieclip-vertial-and-horizontal-scrolling/266792)

<div class="topic-metadata">

**Author:** [@NovemberRain](https://forum.kirupa.com/u/NovemberRain)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 12:09pm UTC](https://forum.kirupa.com/t/movieclip-vertial-and-horizontal-scrolling/266792 "2008-07-24T12:09:19Z")

</div>

Hi, Is there any script available to scroll a movie vertical and horizontally by adding a mask. The visible area can be scrolled vertically and horizontally. thanks in advance..

---

## [False validation still executing code](https://forum.kirupa.com/t/false-validation-still-executing-code/266789)

<div class="topic-metadata">

**Author:** [@korpela2](https://forum.kirupa.com/u/korpela2)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 11:27am UTC](https://forum.kirupa.com/t/false-validation-still-executing-code/266789 "2008-07-24T11:27:48Z")

</div>

I have javascript validating the following form. When the email is not entered an alert box is thrown up stating "not a valid email". however the action "collectMailPHP.php" is still executed. Can anyone help? Here is …

---

## [FileReference Download File Type](https://forum.kirupa.com/t/filereference-download-file-type/266788)

<div class="topic-metadata">

**Author:** [@tolk](https://forum.kirupa.com/u/tolk)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 11:27am UTC](https://forum.kirupa.com/t/filereference-download-file-type/266788 "2008-07-24T11:27:25Z")

</div>

Hi, i checked on the adobe as 2.0 reference docs for fileReference download method. It states: "This method supports downloading of any file type, with either HTTP or HTTPS. You can also send data to the server with the …

---

## [PHP Loop Problem](https://forum.kirupa.com/t/php-loop-problem/266787)

<div class="topic-metadata">

**Author:** [@james182](https://forum.kirupa.com/u/james182)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 11:25am UTC](https://forum.kirupa.com/t/php-loop-problem/266787 "2008-07-24T11:25:34Z")

</div>

i am trying to get the loop to output the data in my DB, via XML. \<?php include 'connect.php'; $category = $\_GET\['category'\]; $xml\_output = "\<?xml version=\\"1.0\\" encoding=\\"ISO-8859-1\\"?\> "; $xml\_output .= "\<gal…

---

## [Buttons not working on tweened mc?](https://forum.kirupa.com/t/buttons-not-working-on-tweened-mc/266785)

<div class="topic-metadata">

**Author:** [@erlendbv](https://forum.kirupa.com/u/erlendbv)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 11:24am UTC](https://forum.kirupa.com/t/buttons-not-working-on-tweened-mc/266785 "2008-07-24T11:24:23Z")

</div>

Hey guys. This may be a really stupid question, but I'm stuck with it, so please allow me to share my frustration with you. I've got a movieclip called screenHover, which will fade in on rollover and fade out on roll…

---

## [How to replay a movie from a child movie in Flash 5?](https://forum.kirupa.com/t/how-to-replay-a-movie-from-a-child-movie-in-flash-5/266784)

<div class="topic-metadata">

**Author:** [@KashifB](https://forum.kirupa.com/u/KashifB)\
**Replies:** 0\
**Last updated:** [July 24, 2008, 11:08am UTC](https://forum.kirupa.com/t/how-to-replay-a-movie-from-a-child-movie-in-flash-5/266784 "2008-07-24T11:08:54Z")

</div>

Hi I'm using Flash 5 and I have a movie inside a movie where the replay button is placed. In the on release event I don't know what code to use. I've tried the following but it didn't work: gotoAndPlay (1); gotoAnd…

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

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