# programming

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

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

**Page:** 1526

---

## [XML and flash photogallery](https://forum.kirupa.com/t/xml-and-flash-photogallery/240152)

<div class="topic-metadata">

**Author:** [@Giancarloyuki](https://forum.kirupa.com/u/Giancarloyuki)\
**Replies:** 0\
**Last updated:** [September 29, 2007, 8:04pm UTC](https://forum.kirupa.com/t/xml-and-flash-photogallery/240152 "2007-09-29T20:04:11Z")

</div>

I have just followed kirupa XML and flash photogallery tutorial, but I have 2 questions.in one file some photos needs text ,some photos don't. for the photo which doesn't need text, I didn't put anywords,then on the brow…

---

## [Enemy AI needed for fighting games](https://forum.kirupa.com/t/enemy-ai-needed-for-fighting-games/240142)

<div class="topic-metadata">

**Author:** [@arundracula](https://forum.kirupa.com/u/arundracula)\
**Replies:** 0\
**Last updated:** [September 29, 2007, 6:29pm UTC](https://forum.kirupa.com/t/enemy-ai-needed-for-fighting-games/240142 "2007-09-29T18:29:36Z")

</div>

I want to make a fighting game 2D like Mortal Kombat with kicks jumps punches and some special moves. I can handle the user part. But I didn't know how to script the AI of enemy to kick, block or what to do. I have sear…

---

## [Navigation inside a movie clip problems](https://forum.kirupa.com/t/navigation-inside-a-movie-clip-problems/240135)

<div class="topic-metadata">

**Author:** [@punstc](https://forum.kirupa.com/u/punstc)\
**Replies:** 0\
**Last updated:** [September 29, 2007, 4:06pm UTC](https://forum.kirupa.com/t/navigation-inside-a-movie-clip-problems/240135 "2007-09-29T16:06:17Z")

</div>

Hope I can explain this clearly, I will attache the fla I have my navigation set up inside a movie clip that i have placed on the main stage. The movie clip navigation has movieclip buttons (that lee showed us to set u…

---

## [Quick Question about variables](https://forum.kirupa.com/t/quick-question-about-variables/240131)

<div class="topic-metadata">

**Author:** [@petay\_pan](https://forum.kirupa.com/u/petay_pan)\
**Replies:** 0\
**Last updated:** [September 29, 2007, 2:39pm UTC](https://forum.kirupa.com/t/quick-question-about-variables/240131 "2007-09-29T14:39:44Z")

</div>

Hi, Quick question here about variables in flash... Im loading the location of an XML file via FlashVars in my html document (I'm using the SWFObject to render the flash by the way). Anyhow I can pick up the variable…

---

## [XML Flash Gallery Again](https://forum.kirupa.com/t/xml-flash-gallery-again/240130)

<div class="topic-metadata">

**Author:** [@nikitosss](https://forum.kirupa.com/u/nikitosss)\
**Replies:** 0\
**Last updated:** [September 29, 2007, 1:22pm UTC](https://forum.kirupa.com/t/xml-flash-gallery-again/240130 "2007-09-29T13:22:40Z")

</div>

Here is my gallery code: var thumb\_spacing = 24; function GeneratePortfolio(portfolio\_xml){ var portfolioPictures = portfolio\_xml.firstChild.childNodes; for (var i = 0; i \< portfolioPictures.length; i++){ …

---

## [Problem with Raising Event from IFrame in IE 7](https://forum.kirupa.com/t/problem-with-raising-event-from-iframe-in-ie-7/240125)

<div class="topic-metadata">

**Author:** [@silverType](https://forum.kirupa.com/u/silverType)\
**Replies:** 0\
**Last updated:** [September 29, 2007, 11:51am UTC](https://forum.kirupa.com/t/problem-with-raising-event-from-iframe-in-ie-7/240125 "2007-09-29T11:51:32Z")

</div>

My page contains an iframe which in turn, contains another child page. The child page contains a textbox and when it gains focus, a function that resides at the parent page should be invoked. To accomplish this, I set th…

---

## [Turn Based Multiplayer - Is Flash Media Server 2 the thing for me?](https://forum.kirupa.com/t/turn-based-multiplayer-is-flash-media-server-2-the-thing-for-me/240124)

<div class="topic-metadata">

**Author:** [@Zomis](https://forum.kirupa.com/u/Zomis)\
**Replies:** 0\
**Last updated:** [September 29, 2007, 11:23am UTC](https://forum.kirupa.com/t/turn-based-multiplayer-is-flash-media-server-2-the-thing-for-me/240124 "2007-09-29T11:23:02Z")

</div>

Hello World \[smile\] I'm starting to get somewhere in my Flash application development, I'm actually producing something that 1) Works and 2) Is useful =) So, now that I have my turn based game running and actually an A…

---

## [Creating links](https://forum.kirupa.com/t/creating-links/240123)

<div class="topic-metadata">

**Author:** [@ALS\_Photo](https://forum.kirupa.com/u/ALS_Photo)\
**Replies:** 0\
**Last updated:** [September 29, 2007, 10:36am UTC](https://forum.kirupa.com/t/creating-links/240123 "2007-09-29T10:36:01Z")

</div>

I need help in creating links. I'm new to this Flash but I love a challenge. I know it onRelease something another like that. Andrew

---

## [Example of Inserting and Retrieving data from xml file](https://forum.kirupa.com/t/example-of-inserting-and-retrieving-data-from-xml-file/240118)

<div class="topic-metadata">

**Author:** [@hanusoft](https://forum.kirupa.com/u/hanusoft)\
**Replies:** 0\
**Last updated:** [September 29, 2007, 9:24am UTC](https://forum.kirupa.com/t/example-of-inserting-and-retrieving-data-from-xml-file/240118 "2007-09-29T09:24:26Z")

</div>

This is an example of Inserting and Retrieving data from xml file. http://www.hanusoftware.com private void Page\_Load(object sender, System.EventArgs e) { // Put user code to initialize the page …

---

## [Login to webmail using flash](https://forum.kirupa.com/t/login-to-webmail-using-flash/240114)

<div class="topic-metadata">

**Author:** [@darkstyle](https://forum.kirupa.com/u/darkstyle)\
**Replies:** 0\
**Last updated:** [September 29, 2007, 7:27am UTC](https://forum.kirupa.com/t/login-to-webmail-using-flash/240114 "2007-09-29T07:27:40Z")

</div>

Hi friends, My client want to login to his web email directly from a flash page. And his webmail address is located in http://webmail.alhamra.com.kw/imp/login.php Flash File In my flash file i have two input text box …

---

## [setRGB in AS3](https://forum.kirupa.com/t/setrgb-in-as3/240111)

<div class="topic-metadata">

**Author:** [@Macadia](https://forum.kirupa.com/u/Macadia)\
**Replies:** 0\
**Last updated:** [September 29, 2007, 5:51am UTC](https://forum.kirupa.com/t/setrgb-in-as3/240111 "2007-09-29T05:51:15Z")

</div>

is setRGB replaced with something in AS3? if so, what is it? thanks.

---

## [Sine Wave using script with changing amplitude](https://forum.kirupa.com/t/sine-wave-using-script-with-changing-amplitude/240109)

<div class="topic-metadata">

**Author:** [@shailesh\_sharma](https://forum.kirupa.com/u/shailesh_sharma)\
**Replies:** 0\
**Last updated:** [September 29, 2007, 5:13am UTC](https://forum.kirupa.com/t/sine-wave-using-script-with-changing-amplitude/240109 "2007-09-29T05:13:50Z")

</div>

hello guys .. i got a problem in creation of sine wave. i want to show ripple water effect using sine wave. That's why i require sine wave with decreasing amplitude... so.. plz do help me...

---

## [Bitmap Transparency](https://forum.kirupa.com/t/bitmap-transparency/240108)

<div class="topic-metadata">

**Author:** [@cranky\_crank](https://forum.kirupa.com/u/cranky_crank)\
**Replies:** 0\
**Last updated:** [September 29, 2007, 3:50am UTC](https://forum.kirupa.com/t/bitmap-transparency/240108 "2007-09-29T03:50:48Z")

</div>

Hey, is there a way to import a bitmap and set the transparency on a certain color to 0 so you can't see it?

---

## [Flash form using PHP, problem with radio button](https://forum.kirupa.com/t/flash-form-using-php-problem-with-radio-button/240107)

<div class="topic-metadata">

**Author:** [@sandylam](https://forum.kirupa.com/u/sandylam)\
**Replies:** 0\
**Last updated:** [September 29, 2007, 3:09am UTC](https://forum.kirupa.com/t/flash-form-using-php-problem-with-radio-button/240107 "2007-09-29T03:09:29Z")

</div>

\*\*Hi there, I am a newbie, and I am having trouble with the Flash form that I am doing. Pleasssssssssse help. All i am trying to do is to composite an online survey with couple radio button groups (\[See here\*\*\](http://…

---

## [Many .fla files or just many .swf...?](https://forum.kirupa.com/t/many-fla-files-or-just-many-swf/240106)

<div class="topic-metadata">

**Author:** [@hamster888](https://forum.kirupa.com/u/hamster888)\
**Replies:** 0\
**Last updated:** [September 29, 2007, 3:07am UTC](https://forum.kirupa.com/t/many-fla-files-or-just-many-swf/240106 "2007-09-29T03:07:36Z")

</div>

I have a rather large website built with MX. I want it to load faster initially, and load other parts in as visitors click in the menu. To speed the initial loading, I took MCs off the stage (though they're still in t…

---

## [Analog clocks with different time zones](https://forum.kirupa.com/t/analog-clocks-with-different-time-zones/240097)

<div class="topic-metadata">

**Author:** [@vandee11](https://forum.kirupa.com/u/vandee11)\
**Replies:** 0\
**Last updated:** [September 29, 2007, 12:11am UTC](https://forum.kirupa.com/t/analog-clocks-with-different-time-zones/240097 "2007-09-29T00:11:42Z")

</div>

Hi, I need to create 6 analog clocks within a single flash document which shows real time for 6 different countries/time zones.. using actionscript. I can create the clocks and make them move but I know only how to g…

---

## [Flash Analog clocks with different time zones](https://forum.kirupa.com/t/flash-analog-clocks-with-different-time-zones/240096)

<div class="topic-metadata">

**Author:** [@vandee11](https://forum.kirupa.com/u/vandee11)\
**Replies:** 0\
**Last updated:** [September 29, 2007, 12:11am UTC](https://forum.kirupa.com/t/flash-analog-clocks-with-different-time-zones/240096 "2007-09-29T00:11:00Z")

</div>

Hi, I need to create 6 analog clocks within a single flash document which shows real time for 6 different countries/time zones.. using actionscript. I can create the clocks and make them move but I know only how to g…

---

## [Analog Clock with diferrent time zones](https://forum.kirupa.com/t/analog-clock-with-diferrent-time-zones/240095)

<div class="topic-metadata">

**Author:** [@vandee11](https://forum.kirupa.com/u/vandee11)\
**Replies:** 0\
**Last updated:** [September 29, 2007, 12:09am UTC](https://forum.kirupa.com/t/analog-clock-with-diferrent-time-zones/240095 "2007-09-29T00:09:51Z")

</div>

Hi, I need to create 6 analog clocks within a single flash document which shows real time for 6 different countries/time zones.. using actionscript. I can create the clocks and make them move but I know only how to g…

---

## [Article: Creating ActionScript 3.0 components in Flash CS3](https://forum.kirupa.com/t/article-creating-actionscript-3-0-components-in-flash-cs3/240089)

<div class="topic-metadata">

**Author:** [@senocular](https://forum.kirupa.com/u/senocular)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 11:00pm UTC](https://forum.kirupa.com/t/article-creating-actionscript-3-0-components-in-flash-cs3/240089 "2007-09-28T23:00:02Z")

</div>

I just now noticed that its live: Creating ActionScript 3.0 components in Flash CS3 http://www.adobe.com/devnet/flash/articles/creating\_as3\_components.html ... and its massive. It's in PDF format now, but I think ev…

---

## [Dynamic XML Image Slider auto scroll question](https://forum.kirupa.com/t/dynamic-xml-image-slider-auto-scroll-question/240082)

<div class="topic-metadata">

**Author:** [@island86](https://forum.kirupa.com/u/island86)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 9:51pm UTC](https://forum.kirupa.com/t/dynamic-xml-image-slider-auto-scroll-question/240082 "2007-09-28T21:51:45Z")

</div>

I Have a question regarding a dynamic XML driven image slide show. I want the movie to slide continuessly from the left side automatically when it is loaded. Now it only loads when a mouse movement enters the screen. …

---

## [Updating scroller component](https://forum.kirupa.com/t/updating-scroller-component/240081)

<div class="topic-metadata">

**Author:** [@ToubMor](https://forum.kirupa.com/u/ToubMor)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 8:41pm UTC](https://forum.kirupa.com/t/updating-scroller-component/240081 "2007-09-28T20:41:02Z")

</div>

\[FONT=Trebuchet MS\]Hi there, I got this problem with my scroll component. At first i stripped it to get a cleaner look, no shades, highlights, arrows etc etc. I place it in my guestbook file and there comes the problem.…

---

## [Whats wrong here?](https://forum.kirupa.com/t/whats-wrong-here/240080)

<div class="topic-metadata">

**Author:** [@bennymartensson](https://forum.kirupa.com/u/bennymartensson)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 8:26pm UTC](https://forum.kirupa.com/t/whats-wrong-here/240080 "2007-09-28T20:26:17Z")

</div>

Trying to set the image the size of the stage... var image:String = "large/01.jpg"; var imageRequest:URLRequest = new URLRequest(image); var myLoader:Loader = new Loader; myLoader.load(imageRequest); var container:Mo…

---

## [Cannot stop SoundChannel](https://forum.kirupa.com/t/cannot-stop-soundchannel/240079)

<div class="topic-metadata">

**Author:** [@xEnOn](https://forum.kirupa.com/u/xEnOn)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 8:18pm UTC](https://forum.kirupa.com/t/cannot-stop-soundchannel/240079 "2007-09-28T20:18:17Z")

</div>

It is pretty weird that I could stop a SoundChannel from playing. Anyway, I have a Sound object that returns a SoundChannel object to a reference called musicChannel from the music.play(). So now, it plays. but there i…

---

## [Help with setting a boundary for xmouse](https://forum.kirupa.com/t/help-with-setting-a-boundary-for-xmouse/240078)

<div class="topic-metadata">

**Author:** [@TTQ](https://forum.kirupa.com/u/TTQ)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 8:08pm UTC](https://forum.kirupa.com/t/help-with-setting-a-boundary-for-xmouse/240078 "2007-09-28T20:08:48Z")

</div>

This seems like it should be so simple... I am working on a modified version of the characters eyes follow the mouse trick. on my actions layer I have the following code: \[COLOR=Blue\] startDrag("drag", true);\[/COLOR\] …

---

## [Modify the source code of components](https://forum.kirupa.com/t/modify-the-source-code-of-components/240077)

<div class="topic-metadata">

**Author:** [@waffe](https://forum.kirupa.com/u/waffe)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 7:54pm UTC](https://forum.kirupa.com/t/modify-the-source-code-of-components/240077 "2007-09-28T19:54:24Z")

</div>

Is it possible to view and modify the source code for flash components? Thanks, waffe

---

## [XML Value to text field](https://forum.kirupa.com/t/xml-value-to-text-field/240076)

<div class="topic-metadata">

**Author:** [@flabbygums](https://forum.kirupa.com/u/flabbygums)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 7:35pm UTC](https://forum.kirupa.com/t/xml-value-to-text-field/240076 "2007-09-28T19:35:27Z")

</div>

var loader:URLLoader = new URLLoader(); loader.addEventListener(Event.COMPLETE, loadXML); loader.load(new URLRequest("file.xml")); function loadXML(e:Event):void { var myXML = new XML (e.target.data); for each (var nam…

---

## [Multi zone stage, zoom in, and load external movie](https://forum.kirupa.com/t/multi-zone-stage-zoom-in-and-load-external-movie/240075)

<div class="topic-metadata">

**Author:** [@akisok2](https://forum.kirupa.com/u/akisok2)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 7:28pm UTC](https://forum.kirupa.com/t/multi-zone-stage-zoom-in-and-load-external-movie/240075 "2007-09-28T19:28:24Z")

</div>

Here's my idea: I'd like to have my main stage divided into four quadrants. Each quadrant would be basically a large button: A | B C | D What I want to do is have the main movie zoom in to each quadran…

---

## [HELP! With textbox inside rollover MC](https://forum.kirupa.com/t/help-with-textbox-inside-rollover-mc/240073)

<div class="topic-metadata">

**Author:** [@pimsme](https://forum.kirupa.com/u/pimsme)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 7:19pm UTC](https://forum.kirupa.com/t/help-with-textbox-inside-rollover-mc/240073 "2007-09-28T19:19:12Z")

</div>

I have been trying to figure a solution to this problem. I have a rollover script: on(rollOver){ gotoAndPlay("bar in"); } on(rollOut){ gotoAndPlay("bar out"); } I use this to open a calendar month, but when the windo…

---

## [Movie Clip Within Movie Clip Issue](https://forum.kirupa.com/t/movie-clip-within-movie-clip-issue/240071)

<div class="topic-metadata">

**Author:** [@joesmithf1](https://forum.kirupa.com/u/joesmithf1)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 7:13pm UTC](https://forum.kirupa.com/t/movie-clip-within-movie-clip-issue/240071 "2007-09-28T19:13:30Z")

</div>

Hi, I have one mc(A) within mc(B), and mc(B) within another mc(C). This is fine, but the issue i m having is, the contents of mc(C) is barely viewable. It seems like as if I am putting one layer over another. Is this …

---

## [Multi-button instance problem](https://forum.kirupa.com/t/multi-button-instance-problem/240070)

<div class="topic-metadata">

**Author:** [@benh](https://forum.kirupa.com/u/benh)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 7:10pm UTC](https://forum.kirupa.com/t/multi-button-instance-problem/240070 "2007-09-28T19:10:10Z")

</div>

Hi there kirupees... I've got this problem with an app that I'm writing - probably because I'm new to OOP & AS3 so forgive me if it's just school boy stuff! I'm trying to show 9 instances of a "BkgMatch" movie which…

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

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