# programming

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

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

**Page:** 299

---

## [XML error with xml driven loaded external swf](https://forum.kirupa.com/t/xml-error-with-xml-driven-loaded-external-swf/320987)

<div class="topic-metadata">

**Author:** [@liner986](https://forum.kirupa.com/u/liner986)\
**Replies:** 0\
**Last updated:** [April 7, 2011, 12:13pm UTC](https://forum.kirupa.com/t/xml-error-with-xml-driven-loaded-external-swf/320987 "2011-04-07T12:13:07Z")

</div>

hey, im loading an external AS2 swf into my AS3 swf with the Loader class. the external swf is driven by data.xml when i hit ctrl enter, i get this error: Error opening URL 'file:///E|/portfolio/akram/data.xml' Her…

---

## [Online Help for Silverlight applications](https://forum.kirupa.com/t/online-help-for-silverlight-applications/320983)

<div class="topic-metadata">

**Author:** [@Tech\_Writer](https://forum.kirupa.com/u/Tech_Writer)\
**Replies:** 0\
**Last updated:** [April 7, 2011, 10:18am UTC](https://forum.kirupa.com/t/online-help-for-silverlight-applications/320983 "2011-04-07T10:18:46Z")

</div>

Hi, My company is planning to build a software using Silverlight technology. As a writer, I have created CHMs for desktop applications and web helps for web applications. Is there a different or new approach available…

---

## [Accordion Menu Help](https://forum.kirupa.com/t/accordion-menu-help/320981)

<div class="topic-metadata">

**Author:** [@Fede2008](https://forum.kirupa.com/u/Fede2008)\
**Replies:** 0\
**Last updated:** [April 7, 2011, 9:51am UTC](https://forum.kirupa.com/t/accordion-menu-help/320981 "2011-04-07T09:51:43Z")

</div>

Hello to all, I have a little problem with my accordion menu and I CRAVE for your help!:krazy: I try to make this: when you visit my page I need the menu to be all collapsed. Also the history of clicks (it remembers wh…

---

## [AS3 check container and addChild if empty](https://forum.kirupa.com/t/as3-check-container-and-addchild-if-empty/320980)

<div class="topic-metadata">

**Author:** [@scarletclark](https://forum.kirupa.com/u/scarletclark)\
**Replies:** 0\
**Last updated:** [April 7, 2011, 9:31am UTC](https://forum.kirupa.com/t/as3-check-container-and-addchild-if-empty/320980 "2011-04-07T09:31:59Z")

</div>

Apologies for the dumbness of this query, but I just can't get this to work... I have a button on stage which has a child menu movieclip and that movieclip has three submenu button children. On each of these 3rd leve…

---

## [Sound.extract() Speed](https://forum.kirupa.com/t/sound-extract-speed/320979)

<div class="topic-metadata">

**Author:** [@StauntonLick](https://forum.kirupa.com/u/StauntonLick)\
**Replies:** 0\
**Last updated:** [April 7, 2011, 9:25am UTC](https://forum.kirupa.com/t/sound-extract-speed/320979 "2011-04-07T09:25:05Z")

</div>

Hello Kirupites, Please forgive me if this has been answered before - a search didn't turn up anything relevant, so I thought I'd pick your collective brain... I'm trying to use sound.extract() to draw the waveform o…

---

## [Random Function AS2](https://forum.kirupa.com/t/random-function-as2/320978)

<div class="topic-metadata">

**Author:** [@svimp](https://forum.kirupa.com/u/svimp)\
**Replies:** 0\
**Last updated:** [April 7, 2011, 9:13am UTC](https://forum.kirupa.com/t/random-function-as2/320978 "2011-04-07T09:13:07Z")

</div>

hello how can i make this function to run in random mode. switch (section){ case "BlueState" : gotoAndPlay("bann1"); break; } i mean , when i open the .swf it should run in random , "bann1" , "bann2" , "bann3" th…

---

## [Sychronising MCs](https://forum.kirupa.com/t/sychronising-mcs/320977)

<div class="topic-metadata">

**Author:** [@ColinDavies](https://forum.kirupa.com/u/ColinDavies)\
**Replies:** 0\
**Last updated:** [April 7, 2011, 8:01am UTC](https://forum.kirupa.com/t/sychronising-mcs/320977 "2011-04-07T08:01:49Z")

</div>

I have two MultiFramed MovieClips In a parent - child setup With the child being in the timeline of the parent. The Parent is added to the stage via addChild() . And for a sprite effect is accessed through gotoAndStop(…

---

## [Mousewheel](https://forum.kirupa.com/t/mousewheel/320976)

<div class="topic-metadata">

**Author:** [@DarkLink](https://forum.kirupa.com/u/DarkLink)\
**Replies:** 0\
**Last updated:** [April 7, 2011, 7:52am UTC](https://forum.kirupa.com/t/mousewheel/320976 "2011-04-07T07:52:46Z")

</div>

Hi guys! I'm trying to use the mousewheel functionality with a movie clip that I have. I've attached the fla file. It's basically frames of a cube rotating. I want to be able to use the mousewheel "scroll" to play …

---

## [Animating mask layer help](https://forum.kirupa.com/t/animating-mask-layer-help/320975)

<div class="topic-metadata">

**Author:** [@conscious1](https://forum.kirupa.com/u/conscious1)\
**Replies:** 0\
**Last updated:** [April 7, 2011, 7:47am UTC](https://forum.kirupa.com/t/animating-mask-layer-help/320975 "2011-04-07T07:47:50Z")

</div>

First off...Yes I am a n00b, and yes I have spent DAYS (literally \[angry\] ) trying to find a solution. The process I would like to have happen is as follows: -an object masks a background image that consists of a mov…

---

## [Please help?](https://forum.kirupa.com/t/please-help/320972)

<div class="topic-metadata">

**Author:** [@TheAwesomeDude](https://forum.kirupa.com/u/TheAwesomeDude)\
**Replies:** 0\
**Last updated:** [April 7, 2011, 6:55am UTC](https://forum.kirupa.com/t/please-help/320972 "2011-04-07T06:55:02Z")

</div>

First of all, my english isn't that good, so please don't tell me about it. Now to my question. I have a game where the player is a ball. And when the player hits a object, (a box) the ball, should bounce back 1 st…

---

## [Flash .Fla Conversion](https://forum.kirupa.com/t/flash-fla-conversion/320969)

<div class="topic-metadata">

**Author:** [@BlackRoseProjec](https://forum.kirupa.com/u/BlackRoseProjec)\
**Replies:** 0\
**Last updated:** [April 7, 2011, 2:20am UTC](https://forum.kirupa.com/t/flash-fla-conversion/320969 "2011-04-07T02:20:23Z")

</div>

Due to a computer failure my Flash CS4 was removed from my computer and it is not accepting my key..I am in the middle of a rather large project that i would rather not have to wait to complete; and when i say i'd rather…

---

## [Create function in for loop](https://forum.kirupa.com/t/create-function-in-for-loop/320968)

<div class="topic-metadata">

**Author:** [@Safe](https://forum.kirupa.com/u/Safe)\
**Replies:** 0\
**Last updated:** [April 7, 2011, 12:56am UTC](https://forum.kirupa.com/t/create-function-in-for-loop/320968 "2011-04-07T00:56:37Z")

</div>

How would one go about creating a function inside a for loop that does not have a button action attached to it while still having access to the current index number. This code was found on senocular: var curr\_button…

---

## [gotoAndStop with button in class](https://forum.kirupa.com/t/gotoandstop-with-button-in-class/320967)

<div class="topic-metadata">

**Author:** [@eelbot](https://forum.kirupa.com/u/eelbot)\
**Replies:** 0\
**Last updated:** [April 7, 2011, 12:36am UTC](https://forum.kirupa.com/t/gotoandstop-with-button-in-class/320967 "2011-04-07T00:36:23Z")

</div>

Hello, I am trying to create a button class that will gotoAndStop at a specific frame, however I seem unable to...I was wondering if anyone has any suggestions on what to do here. My code is as follows: package { …

---

## [Address bar url change](https://forum.kirupa.com/t/address-bar-url-change/320964)

<div class="topic-metadata">

**Author:** [@iiitttaaa](https://forum.kirupa.com/u/iiitttaaa)\
**Replies:** 0\
**Last updated:** [April 6, 2011, 9:40pm UTC](https://forum.kirupa.com/t/address-bar-url-change/320964 "2011-04-06T21:40:15Z")

</div>

look i have a site lets put for example : example.com/example/example.html is there any css, html or javascript code to make the example.com to anotherexample.com???? im not saying that everbody gets into the aoth…

---

## [RTMFP between two different SWFs?](https://forum.kirupa.com/t/rtmfp-between-two-different-swfs/320959)

<div class="topic-metadata">

**Author:** [@Raconteur](https://forum.kirupa.com/u/Raconteur)\
**Replies:** 0\
**Last updated:** [April 6, 2011, 6:53pm UTC](https://forum.kirupa.com/t/rtmfp-between-two-different-swfs/320959 "2011-04-06T18:53:16Z")

</div>

Hi gang, I cannot find this anywhere, but is it possible to use RTMFP between two different SWFs? What I'd like to do is press a button on SWF-A and have a message appear on SWF-B. The two SWFs are completely differ…

---

## [URLVariables from PHP](https://forum.kirupa.com/t/urlvariables-from-php/320958)

<div class="topic-metadata">

**Author:** [@AncientMastaDon](https://forum.kirupa.com/u/AncientMastaDon)\
**Replies:** 0\
**Last updated:** [April 6, 2011, 6:19pm UTC](https://forum.kirupa.com/t/urlvariables-from-php/320958 "2011-04-06T18:19:53Z")

</div>

Hi all, I was actually watching a tutorial about how to make a highscore table. The problem is it was done in AS2 and I'm using AS3. I've been searching tutorials for 2 days and so far I've converted what I could. In the…

---

## [AS3 Radial cooldown animation](https://forum.kirupa.com/t/as3-radial-cooldown-animation/320956)

<div class="topic-metadata">

**Author:** [@mvrb](https://forum.kirupa.com/u/mvrb)\
**Replies:** 0\
**Last updated:** [April 6, 2011, 5:58pm UTC](https://forum.kirupa.com/t/as3-radial-cooldown-animation/320956 "2011-04-06T17:58:34Z")

</div>

Hey everyone. I'm coding a game where I have a skill that has around 2 minutes of cooldown, so I'd like to have a neat cooldown animation like the one in World of Warcraft. But instead of getting an artist to draw one, a…

---

## [mySQL select and like query](https://forum.kirupa.com/t/mysql-select-and-like-query/320954)

<div class="topic-metadata">

**Author:** [@Env](https://forum.kirupa.com/u/Env)\
**Replies:** 0\
**Last updated:** [April 6, 2011, 4:49pm UTC](https://forum.kirupa.com/t/mysql-select-and-like-query/320954 "2011-04-06T16:49:48Z")

</div>

MySQL Like for Postcodes Trying to load mySQL information for postcode matching. The first two queries work but sometimes users dont place spaces between them.. what is the solution please? I tried LIKE for a turn arou…

---

## [Playing external .swf files in .swf file](https://forum.kirupa.com/t/playing-external-swf-files-in-swf-file/320951)

<div class="topic-metadata">

**Author:** [@Elvis](https://forum.kirupa.com/u/Elvis)\
**Replies:** 0\
**Last updated:** [April 6, 2011, 3:14pm UTC](https://forum.kirupa.com/t/playing-external-swf-files-in-swf-file/320951 "2011-04-06T15:14:36Z")

</div>

Hey guys, I would really appreciate some help here, I am new to AS and I don't have much experience in it. I would like to play external .swf files which will be located in a specific directory somewhere and I will b…

---

## [Understanding properties](https://forum.kirupa.com/t/understanding-properties/320949)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [April 6, 2011, 3:05pm UTC](https://forum.kirupa.com/t/understanding-properties/320949 "2011-04-06T15:05:38Z")

</div>

var myArray:Array = new Array(); for (var i=0; i\<10; i++){ var p:Particle = new Particle(); p.x = stage.stageWidth / 2; p.y = Math.random() \* 400; p.xVel = Math.random() \*11 - 6; p.yVel = -20; p.yAcc = 1; p.alp…

---

## [Removing menu bar at top of swf!?](https://forum.kirupa.com/t/removing-menu-bar-at-top-of-swf/320947)

<div class="topic-metadata">

**Author:** [@keitho30](https://forum.kirupa.com/u/keitho30)\
**Replies:** 0\
**Last updated:** [April 6, 2011, 1:38pm UTC](https://forum.kirupa.com/t/removing-menu-bar-at-top-of-swf/320947 "2011-04-06T13:38:44Z")

</div>

Hi guys, Is it possible to remove the menu bar at the top of an swf or is this only possible using AIR?

---

## [Banner Auto resizing](https://forum.kirupa.com/t/banner-auto-resizing/320946)

<div class="topic-metadata">

**Author:** [@tlv](https://forum.kirupa.com/u/tlv)\
**Replies:** 0\
**Last updated:** [April 6, 2011, 1:16pm UTC](https://forum.kirupa.com/t/banner-auto-resizing/320946 "2011-04-06T13:16:51Z")

</div>

Hi, I am new here on the forums and I came with a question on my mind if anyone could redirect this or help me out that would be great! I would like to know if there is any way to create and call an action from outside…

---

## [Asian characters in URL](https://forum.kirupa.com/t/asian-characters-in-url/320943)

<div class="topic-metadata">

**Author:** [@typhoon101](https://forum.kirupa.com/u/typhoon101)\
**Replies:** 0\
**Last updated:** [April 6, 2011, 11:56am UTC](https://forum.kirupa.com/t/asian-characters-in-url/320943 "2011-04-06T11:56:14Z")

</div>

Hi. I have the following AS3 code attached to a click event of a movie clip. var url:String; url = "/hkhk/sec/&#22522;&#37329;&#36039;&#26009;/&#24066;&#22580;&#36264;&#21218;&#20998;&#26512;/&#35222;&#20687;/index.…

---

## [AS3 and pathfinding](https://forum.kirupa.com/t/as3-and-pathfinding/320941)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [April 6, 2011, 11:10am UTC](https://forum.kirupa.com/t/as3-and-pathfinding/320941 "2011-04-06T11:10:06Z")

</div>

Hey guys With the recent developments of as3 with molehill and unity-portabilities i figured it was about time for me to make a proper game. Hence i found it needed to learn/manage to achieve some pathfinding in a game…

---

## [Unloading an External SWF](https://forum.kirupa.com/t/unloading-an-external-swf/320940)

<div class="topic-metadata">

**Author:** [@audioholic](https://forum.kirupa.com/u/audioholic)\
**Replies:** 0\
**Last updated:** [April 6, 2011, 7:33am UTC](https://forum.kirupa.com/t/unloading-an-external-swf/320940 "2011-04-06T07:33:15Z")

</div>

Hi, I'm building a site that has 7 sections. 1 section is a Photo Gallery for which I'm loading an external SWF file that is controlled by an XML file. Im doing this for allowing content editing any time. All of the …

---

## [How do I target the object? Help me!](https://forum.kirupa.com/t/how-do-i-target-the-object-help-me/320935)

<div class="topic-metadata">

**Author:** [@lungfatang](https://forum.kirupa.com/u/lungfatang)\
**Replies:** 0\
**Last updated:** [April 6, 2011, 2:44am UTC](https://forum.kirupa.com/t/how-do-i-target-the-object-help-me/320935 "2011-04-06T02:44:09Z")

</div>

var Square01:Squares = createNewObject(50, 50); var square02:Squares = createNewObject(150, 150); var square03:Squares = createNewObject(300, 300); function createNewObject(xValue, yValue):Squares { var newO…

---

## [Someone PLEASE point me in the right direction ... game hit detection](https://forum.kirupa.com/t/someone-please-point-me-in-the-right-direction-game-hit-detection/320934)

<div class="topic-metadata">

**Author:** [@gLee](https://forum.kirupa.com/u/gLee)\
**Replies:** 0\
**Last updated:** [April 6, 2011, 2:03am UTC](https://forum.kirupa.com/t/someone-please-point-me-in-the-right-direction-game-hit-detection/320934 "2011-04-06T02:03:55Z")

</div>

Hi I'm making a frame by frame sort of game in flash AS3. At this point I'm trying to sort out my hit detection. What I'm trying to say is that a hit is when my char\_mc is NOT jumping on frame 5. The trace function kep…

---

## [Flash 4 AS 2 help getting handle to an object on main timeline](https://forum.kirupa.com/t/flash-4-as-2-help-getting-handle-to-an-object-on-main-timeline/320933)

<div class="topic-metadata">

**Author:** [@dfmedia](https://forum.kirupa.com/u/dfmedia)\
**Replies:** 0\
**Last updated:** [April 6, 2011, 12:22am UTC](https://forum.kirupa.com/t/flash-4-as-2-help-getting-handle-to-an-object-on-main-timeline/320933 "2011-04-06T00:22:24Z")

</div>

Hi I am working on a project that is built from 3D page flip Flash 4 version. Each page is a separate flash 4 file loaded in by xml. I am trying to add a movie clip on some of the pages and needed to turn off the f…

---

## [HELP ASAP: need to make a MC look like it has a REFLECTION in a "Mirror"](https://forum.kirupa.com/t/help-asap-need-to-make-a-mc-look-like-it-has-a-reflection-in-a-mirror/320931)

<div class="topic-metadata">

**Author:** [@kellyenichols08](https://forum.kirupa.com/u/kellyenichols08)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 11:13pm UTC](https://forum.kirupa.com/t/help-asap-need-to-make-a-mc-look-like-it-has-a-reflection-in-a-mirror/320931 "2011-04-05T23:13:32Z")

</div>

Hello... semi new to flash, trying figure out how to imitate a reflection of a movie clip in a "mirror." I don't know if I should have the initial movie clip on custom cursor or have it set to drag... but either way I do…

---

## [Hero "knock down"](https://forum.kirupa.com/t/hero-knock-down/320930)

<div class="topic-metadata">

**Author:** [@woodhall2k](https://forum.kirupa.com/u/woodhall2k)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 11:01pm UTC](https://forum.kirupa.com/t/hero-knock-down/320930 "2011-04-05T23:01:02Z")

</div>

Hi there, my names matt, I posted on here a bit ago with a few questions regarding the development of my 2.5d as3 beat em up. Im almost done, but i need some ideas as i have hit a road block. Currently my main characte…

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

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