# programming

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

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

**Page:** 1543

---

## [XML in Flash (newbie question)](https://forum.kirupa.com/t/xml-in-flash-newbie-question/238958)

<div class="topic-metadata">

**Author:** [@spastic](https://forum.kirupa.com/u/spastic)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 3:06pm UTC](https://forum.kirupa.com/t/xml-in-flash-newbie-question/238958 "2007-09-17T15:06:19Z")

</div>

Hi, I'm new at using XML with flash, and I cannot understand why the XML isn't being displayed in the file I'm working with!!! Can anyone help???!! The actionscript: headlineXML = new XML(); headlineXML.onLoad = my…

---

## [removeMovieClip on another frame](https://forum.kirupa.com/t/removemovieclip-on-another-frame/238957)

<div class="topic-metadata">

**Author:** [@lolomedia](https://forum.kirupa.com/u/lolomedia)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 2:54pm UTC](https://forum.kirupa.com/t/removemovieclip-on-another-frame/238957 "2007-09-17T14:54:30Z")

</div>

Hello everyone, I'm having difficulties removing a movie clip that i attached early on my first frame. I would like to remove it later on my fifth frame. here is my code on my first frame for (i=1; i\<18; i++) { …

---

## [Click buttons in sequence --\> Play Movie](https://forum.kirupa.com/t/click-buttons-in-sequence-play-movie/238956)

<div class="topic-metadata">

**Author:** [@bonzy](https://forum.kirupa.com/u/bonzy)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 2:46pm UTC](https://forum.kirupa.com/t/click-buttons-in-sequence-play-movie/238956 "2007-09-17T14:46:55Z")

</div>

Greetings! I have a virtual phone of sorts in flash, with a movieclip (acting as a button) for each number on the phone. I want a movieclip to play (ring!) when a fixed phone number sequence is clicked on the phone by …

---

## [\[AS3\] understanding](https://forum.kirupa.com/t/as3-understanding/238955)

<div class="topic-metadata">

**Author:** [@onecommoncode](https://forum.kirupa.com/u/onecommoncode)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 2:43pm UTC](https://forum.kirupa.com/t/as3-understanding/238955 "2007-09-17T14:43:59Z")

</div>

I have been reading up on AS 3 and looking at some of the tutorials and can't seem to understand something. When I build sites in AS 2 I have a main class and most of my classes filter into the Main class. I rarely link …

---

## [How to avoid including components in library](https://forum.kirupa.com/t/how-to-avoid-including-components-in-library/238954)

<div class="topic-metadata">

**Author:** [@clinch](https://forum.kirupa.com/u/clinch)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 2:42pm UTC](https://forum.kirupa.com/t/how-to-avoid-including-components-in-library/238954 "2007-09-17T14:42:34Z")

</div>

I need know how to get around including components in libraries of SWF's that don't need them using Flash CS3. For example: I have two SWF's. The first one uses the Button component, and I add the Button dynamically us…

---

## [Product Menu Help](https://forum.kirupa.com/t/product-menu-help/238953)

<div class="topic-metadata">

**Author:** [@Baeshin](https://forum.kirupa.com/u/Baeshin)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 2:07pm UTC](https://forum.kirupa.com/t/product-menu-help/238953 "2007-09-17T14:07:24Z")

</div>

Hi, I'm working on a flash productgallery that gets it's productdata from a database. It works like this: - first choose a category, it'll open a scrollable productmenu. - the productmenu get its data from the databas…

---

## [BitmapData confusion](https://forum.kirupa.com/t/bitmapdata-confusion/238947)

<div class="topic-metadata">

**Author:** [@kkos](https://forum.kirupa.com/u/kkos)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 12:30pm UTC](https://forum.kirupa.com/t/bitmapdata-confusion/238947 "2007-09-17T12:30:12Z")

</div>

Lets say i have an image in the library with ID "someBitmap". Due to the fact that the BitmapData constructor requires at least two arguments, i can use the following code to display the image: var container:Bitmap =…

---

## [Convert SWF to FLV](https://forum.kirupa.com/t/convert-swf-to-flv/238945)

<div class="topic-metadata">

**Author:** [@roopak999](https://forum.kirupa.com/u/roopak999)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 12:12pm UTC](https://forum.kirupa.com/t/convert-swf-to-flv/238945 "2007-09-17T12:12:00Z")

</div>

HI, Can anyone help me with a complex solution..! here's my problem I am loading multiple .swfs like (bgs, outfits, lights etc)into one main movie which will be .swf , i need to convert that main movie inta a .flv fi…

---

## [Leaf vs. branch in tree](https://forum.kirupa.com/t/leaf-vs-branch-in-tree/238940)

<div class="topic-metadata">

**Author:** [@Crapman](https://forum.kirupa.com/u/Crapman)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 11:30am UTC](https://forum.kirupa.com/t/leaf-vs-branch-in-tree/238940 "2007-09-17T11:30:51Z")

</div>

Hi everybody, This is my first post here, so i'm really looking forward to seeing if you guys can help me...! I have a tree, which is filled with data from an xml file... but in the file I have some empty folders - the…

---

## [XML Schema - variable number of elements](https://forum.kirupa.com/t/xml-schema-variable-number-of-elements/238939)

<div class="topic-metadata">

**Author:** [@zero\_one1](https://forum.kirupa.com/u/zero_one1)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 11:27am UTC](https://forum.kirupa.com/t/xml-schema-variable-number-of-elements/238939 "2007-09-17T11:27:30Z")

</div>

I have an XML element "val" with child elements. I'd like to be able to include any of the child elements, or leave them out, without having to write default null values each time for unneeded children... example out of …

---

## [Loading Bar required for external swfs](https://forum.kirupa.com/t/loading-bar-required-for-external-swfs/238936)

<div class="topic-metadata">

**Author:** [@brijindia](https://forum.kirupa.com/u/brijindia)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 10:51am UTC](https://forum.kirupa.com/t/loading-bar-required-for-external-swfs/238936 "2007-09-17T10:51:43Z")

</div>

Hi , Can any one help me for getting external swf to have a loading bar shown till it loads in main backgroung swf.

---

## [\[Ruby and Rails\] Development Software](https://forum.kirupa.com/t/ruby-and-rails-development-software/238934)

<div class="topic-metadata">

**Author:** [@Esherido](https://forum.kirupa.com/u/Esherido)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 10:39am UTC](https://forum.kirupa.com/t/ruby-and-rails-development-software/238934 "2007-09-17T10:39:02Z")

</div>

I'm currently being forced to use SciTE (Which is good.) for editing Ruby files and Intype for .rhtml and .rjs files, I was wondering if any of you knew of a good Windows program that handles Ruby, .rhtml, and .rjs files…

---

## [Rotation of turret](https://forum.kirupa.com/t/rotation-of-turret/238933)

<div class="topic-metadata">

**Author:** [@fw2803](https://forum.kirupa.com/u/fw2803)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 10:37am UTC](https://forum.kirupa.com/t/rotation-of-turret/238933 "2007-09-17T10:37:22Z")

</div>

Hi there. We use the function Math.atan2(y,x) to find the angle between the turret and the player. onCilpEvent (load) { var speed = 2 } onClipEvent (enterFrame) { dx = this.\_x - \_root.player.\_x dy = this.\_y - \_r…

---

## [Tips for Synchronizing Animation with Sound File](https://forum.kirupa.com/t/tips-for-synchronizing-animation-with-sound-file/238932)

<div class="topic-metadata">

**Author:** [@MoOMoOMiLK](https://forum.kirupa.com/u/MoOMoOMiLK)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 10:20am UTC](https://forum.kirupa.com/t/tips-for-synchronizing-animation-with-sound-file/238932 "2007-09-17T10:20:07Z")

</div>

Hi guys, I'm trying to make an animation that synchronizes with a sound file (.mp3). Right now, the way I'm doing it is to play the sound file in ActionScript, and then code the animation in the main timeline in diffe…

---

## [Flash XML gallery with automatic slide show](https://forum.kirupa.com/t/flash-xml-gallery-with-automatic-slide-show/238931)

<div class="topic-metadata">

**Author:** [@fluxs](https://forum.kirupa.com/u/fluxs)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 9:43am UTC](https://forum.kirupa.com/t/flash-xml-gallery-with-automatic-slide-show/238931 "2007-09-17T09:43:43Z")

</div>

Hello guys! I successfully done this tutorial http://www.kirupa.com/developer/mx2004/thumbnails.htm But what should i do if i want to add an automatic slide show features on this same tutorial? Any help will be grea…

---

## [(bitmapdata) change colors to the dominate color in that range?](https://forum.kirupa.com/t/bitmapdata-change-colors-to-the-dominate-color-in-that-range/238929)

<div class="topic-metadata">

**Author:** [@manga](https://forum.kirupa.com/u/manga)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 9:27am UTC](https://forum.kirupa.com/t/bitmapdata-change-colors-to-the-dominate-color-in-that-range/238929 "2007-09-17T09:27:47Z")

</div>

hey all, I am working on a outlines script that converts a image in black outlines and the rest WHITE. is there a math formula that converts colors in the same color range to the dominate color of that range? so al…

---

## [Mathematical progression for a spectrum?](https://forum.kirupa.com/t/mathematical-progression-for-a-spectrum/238926)

<div class="topic-metadata">

**Author:** [@Jerryscript](https://forum.kirupa.com/u/Jerryscript)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 8:45am UTC](https://forum.kirupa.com/t/mathematical-progression-for-a-spectrum/238926 "2007-09-17T08:45:25Z")

</div>

Does anyone know the math to create this type of spectrum? \[image\] I'm using the F8 bitmap object and this image for a color preferences panel, and would like to use the same image for a fall-back to F7. For F8, I'…

---

## [Perl / Flash email fowarding form HELP!](https://forum.kirupa.com/t/perl-flash-email-fowarding-form-help/238925)

<div class="topic-metadata">

**Author:** [@olilish](https://forum.kirupa.com/u/olilish)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 8:38am UTC](https://forum.kirupa.com/t/perl-flash-email-fowarding-form-help/238925 "2007-09-17T08:38:02Z")

</div>

Hi, Could anyone give me some help looking for a perl script to forward variables sent from a flash form. I have always previously used simple php to forward tx inputed into the form, however my new hosting company do…

---

## [Dynamics Scrolling Marquee Using Flash](https://forum.kirupa.com/t/dynamics-scrolling-marquee-using-flash/238919)

<div class="topic-metadata">

**Author:** [@glamour](https://forum.kirupa.com/u/glamour)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 6:55am UTC](https://forum.kirupa.com/t/dynamics-scrolling-marquee-using-flash/238919 "2007-09-17T06:55:51Z")

</div>

Hello there! I am guy who is seriously needs everyone help!\[IMG\]http://www.oman3d.com/forum/images/smilies/12.gif\[/IMG\] \[Reading External Folder Content into Flash Using the Actionscript\] I need to read the content o…

---

## [How to design an interactive flash form?](https://forum.kirupa.com/t/how-to-design-an-interactive-flash-form/238916)

<div class="topic-metadata">

**Author:** [@alex298](https://forum.kirupa.com/u/alex298)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 6:05am UTC](https://forum.kirupa.com/t/how-to-design-an-interactive-flash-form/238916 "2007-09-17T06:05:40Z")

</div>

Hi, I am using Flash MX 2004. I am thinking to design an interactive Flash Form. The users will be guided through filling the Form. My idea is that: FORM LAYOUT: There are 2 fields (Field 1, Field 2) in my Flash…

---

## [Changing Styles on Hover](https://forum.kirupa.com/t/changing-styles-on-hover/238911)

<div class="topic-metadata">

**Author:** [@GOLDfish\_74](https://forum.kirupa.com/u/GOLDfish_74)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 3:58am UTC](https://forum.kirupa.com/t/changing-styles-on-hover/238911 "2007-09-17T03:58:33Z")

</div>

I was wondering if it is possible to use a hover effect to change the CSS style of another section of my web page. I want to use this so I can have an invisible class become visible. Regards, THEfish!

---

## [Free Code: Asset Loader Class](https://forum.kirupa.com/t/free-code-asset-loader-class/238910)

<div class="topic-metadata">

**Author:** [@mr\_b](https://forum.kirupa.com/u/mr_b)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 3:42am UTC](https://forum.kirupa.com/t/free-code-asset-loader-class/238910 "2007-09-17T03:42:59Z")

</div>

Hey everyone! It's been awhile since I posted code but now that I'm freelance I have my peaks and valleys of free time. Last week I had some down time and cleaned up a class I use all the time for preloading lists of ex…

---

## [Changing Background Color From Scene to Scene](https://forum.kirupa.com/t/changing-background-color-from-scene-to-scene/238909)

<div class="topic-metadata">

**Author:** [@photo\_girl](https://forum.kirupa.com/u/photo_girl)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 2:49am UTC](https://forum.kirupa.com/t/changing-background-color-from-scene-to-scene/238909 "2007-09-17T02:49:15Z")

</div>

Does anyone know how to change the background color in the same flash document from scene to scene? ... one more question ... how to I vary the background of my html to switch with my flash. I'm trying to get them bo…

---

## [Array Problem/Question?](https://forum.kirupa.com/t/array-problem-question/238907)

<div class="topic-metadata">

**Author:** [@cianpas\_eircom](https://forum.kirupa.com/u/cianpas_eircom)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 2:02am UTC](https://forum.kirupa.com/t/array-problem-question/238907 "2007-09-17T02:02:12Z")

</div>

Hi, Im breaking my heart to try and figure this out. Basically I have a movie clip (Test), which I want to jump to a specific frame when one of 7 other movie clips are clicked. I can get it to work when I tell it to j…

---

## [Using mx.core.Application.application.url in a class](https://forum.kirupa.com/t/using-mx-core-application-application-url-in-a-class/238905)

<div class="topic-metadata">

**Author:** [@kamermans](https://forum.kirupa.com/u/kamermans)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 1:39am UTC](https://forum.kirupa.com/t/using-mx-core-application-application-url-in-a-class/238905 "2007-09-17T01:39:09Z")

</div>

I have a VERY simple class that does not work and I would like to know why. Here it is: \*\* \[COLOR=#9900cc\]package \[/COLOR\] \*\* Test{ \[LEFT\] \[LEFT\]\*\* \[COLOR=#0033ff\]import\[/COLOR\] \*\* mx.core.Application; \[…

---

## [Help With Server](https://forum.kirupa.com/t/help-with-server/238903)

<div class="topic-metadata">

**Author:** [@rjpan](https://forum.kirupa.com/u/rjpan)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 1:31am UTC](https://forum.kirupa.com/t/help-with-server/238903 "2007-09-17T01:31:21Z")

</div>

Does anyone know how to put a flash website on to the Comcast server! If so please help!

---

## [Stock Quote Display PHP](https://forum.kirupa.com/t/stock-quote-display-php/238902)

<div class="topic-metadata">

**Author:** [@m\_u\_r](https://forum.kirupa.com/u/m_u_r)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 1:18am UTC](https://forum.kirupa.com/t/stock-quote-display-php/238902 "2007-09-17T01:18:58Z")

</div>

This piece of php script used to display a stock quote worked beautifully up until a couple weeks ago. I can't figure out why seeing as the yahoo url still downloads the information. Any ideas? \<?php $ch = curl\_init()…

---

## [IE window trying to close itself FLASH and ASP](https://forum.kirupa.com/t/ie-window-trying-to-close-itself-flash-and-asp/238900)

<div class="topic-metadata">

**Author:** [@anniepbythesea](https://forum.kirupa.com/u/anniepbythesea)\
**Replies:** 0\
**Last updated:** [September 16, 2007, 11:35pm UTC](https://forum.kirupa.com/t/ie-window-trying-to-close-itself-flash-and-asp/238900 "2007-09-16T23:35:17Z")

</div>

Hello, I created a form in Flash 8 as well as an ASP page. They work great but, for some reason, in IE, when you hit submit, a blank page comes up and says "this window is trying to close itself" The information is s…

---

## [Fading in and fading out with multiple photos](https://forum.kirupa.com/t/fading-in-and-fading-out-with-multiple-photos/238898)

<div class="topic-metadata">

**Author:** [@cturner](https://forum.kirupa.com/u/cturner)\
**Replies:** 0\
**Last updated:** [September 16, 2007, 10:23pm UTC](https://forum.kirupa.com/t/fading-in-and-fading-out-with-multiple-photos/238898 "2007-09-16T22:23:42Z")

</div>

Can someone please tell me how I can do a fade in fade out on photos? I am wanting to have about 6 photos and each photo is suppose to fade into another. I have searched Google for this but got nowhere. Thanks in advance…

---

## [Filling a shape with movieclips](https://forum.kirupa.com/t/filling-a-shape-with-movieclips/238895)

<div class="topic-metadata">

**Author:** [@ethernal](https://forum.kirupa.com/u/ethernal)\
**Replies:** 0\
**Last updated:** [September 16, 2007, 9:05pm UTC](https://forum.kirupa.com/t/filling-a-shape-with-movieclips/238895 "2007-09-16T21:05:21Z")

</div>

Hi there, Let's suppose I have a simple shape. For example, a pentagon shape. Now I want to fill that pentagon with multiple rectangular movieclips, in a way that all the movieclips result in a pentagon. Something like…

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

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