# programming

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

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

**Page:** 875

---

## [Receive XML data from ASC3 in Asp.Net2 page](https://forum.kirupa.com/t/receive-xml-data-from-asc3-in-asp-net2-page/284681)

<div class="topic-metadata">

**Author:** [@ahmy](https://forum.kirupa.com/u/ahmy)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 9:33am UTC](https://forum.kirupa.com/t/receive-xml-data-from-asc3-in-asp-net2-page/284681 "2009-03-22T09:33:03Z")

</div>

i have an ation script code that send SQL statements to an Asp.Net2 page and here it's: package { import flash.display.MovieClip; import flash.xml.\*; import flash.events.\*; import flash.net.\*; public …

---

## [I really need help with multiple pages](https://forum.kirupa.com/t/i-really-need-help-with-multiple-pages/284679)

<div class="topic-metadata">

**Author:** [@krystina](https://forum.kirupa.com/u/krystina)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 6:13am UTC](https://forum.kirupa.com/t/i-really-need-help-with-multiple-pages/284679 "2009-03-22T06:13:52Z")

</div>

I have about a 60 page website and it has a sidebar of about 7 categories and then sub categories I need to change stuff on the side bar and really don't wanna have to do it page by page what can I use to change it on al…

---

## [Circle And Rectangle Collision](https://forum.kirupa.com/t/circle-and-rectangle-collision/284676)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 4:31am UTC](https://forum.kirupa.com/t/circle-and-rectangle-collision/284676 "2009-03-22T04:31:45Z")

</div>

Can anyone please tell me the most efficient way to test for a collision between a circle and a rectangle? Thank you in advance!

---

## [As3 preload swf, play MCs at set percentages](https://forum.kirupa.com/t/as3-preload-swf-play-mcs-at-set-percentages/284675)

<div class="topic-metadata">

**Author:** [@shopsmarts](https://forum.kirupa.com/u/shopsmarts)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 4:18am UTC](https://forum.kirupa.com/t/as3-preload-swf-play-mcs-at-set-percentages/284675 "2009-03-22T04:18:23Z")

</div>

Hello I'm a fan of AS3 not a geinus and this ones given me a brain explosion.... I want to preload a swf and insted of a bar I would like to play 5 mc at intervals trigered by the persentage of the total loaded I w…

---

## [Attaching Movieclips through code with different names](https://forum.kirupa.com/t/attaching-movieclips-through-code-with-different-names/284673)

<div class="topic-metadata">

**Author:** [@Jyaw3](https://forum.kirupa.com/u/Jyaw3)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 2:14am UTC](https://forum.kirupa.com/t/attaching-movieclips-through-code-with-different-names/284673 "2009-03-22T02:14:45Z")

</div>

Alright, so I'm trying out AS3.0, or learning to and I got some questions, which I think should be (and probably are) easy to do. Say I have an .as class file "Animal" and in the Library I have MCs - "Cat", "Dog" in …

---

## [Need help with fighting game](https://forum.kirupa.com/t/need-help-with-fighting-game/284670)

<div class="topic-metadata">

**Author:** [@ishiaru](https://forum.kirupa.com/u/ishiaru)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 1:14am UTC](https://forum.kirupa.com/t/need-help-with-fighting-game/284670 "2009-03-22T01:14:31Z")

</div>

\[AS2\] Let's say I make a guy that is able to punch. I give the guy 5 different animations of him punching. How do I make it so when I press the punch button, the guy randomly chooses one of those punch animations? Than…

---

## [Numeric Stepper issues](https://forum.kirupa.com/t/numeric-stepper-issues/284669)

<div class="topic-metadata">

**Author:** [@jasonlijw](https://forum.kirupa.com/u/jasonlijw)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 12:51am UTC](https://forum.kirupa.com/t/numeric-stepper-issues/284669 "2009-03-22T00:51:26Z")

</div>

Hello Kirupa geniuses, I am inside a for loop and need to add an event listener to a numeric stepper. I get this error TypeError: Error #1034: Type Coercion failed: cannot convert flash.events::Event@1e8578e1 to flas…

---

## [Why won't my ship shoot? :(](https://forum.kirupa.com/t/why-wont-my-ship-shoot/284664)

<div class="topic-metadata">

**Author:** [@Dirge](https://forum.kirupa.com/u/Dirge)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 10:27pm UTC](https://forum.kirupa.com/t/why-wont-my-ship-shoot/284664 "2009-03-21T22:27:26Z")

</div>

Greetings everyone, I'm making a game based off of space invaders and teaching myself how to code in the process. Here is the current code for my ship: onClipEvent (enterFrame) { var speed = 9; } onClipEvent …

---

## [Flash not loading images in IE6](https://forum.kirupa.com/t/flash-not-loading-images-in-ie6/284662)

<div class="topic-metadata">

**Author:** [@ratherblue](https://forum.kirupa.com/u/ratherblue)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 9:52pm UTC](https://forum.kirupa.com/t/flash-not-loading-images-in-ie6/284662 "2009-03-21T21:52:17Z")

</div>

I have an old .fla file that has been working fine for a year. None of the javascript, xml, or actionscript has changed, and all of a sudden the Flash is not loading the images in IE6. It works fine in ALL other browser…

---

## [Changing "menu with slider" (tutorial). Need a little help](https://forum.kirupa.com/t/changing-menu-with-slider-tutorial-need-a-little-help/284661)

<div class="topic-metadata">

**Author:** [@whoopicg](https://forum.kirupa.com/u/whoopicg)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 9:31pm UTC](https://forum.kirupa.com/t/changing-menu-with-slider-tutorial-need-a-little-help/284661 "2009-03-21T21:31:33Z")

</div>

Hi. I've used the "menu with slider" tutorial, from Bryan Arciniega. I've changed to y coordinate so it could work with vertical movemente (mine is a drop down menu). In my case, it's now a rectangle that goes over the b…

---

## [Prevent FLV From Preloading](https://forum.kirupa.com/t/prevent-flv-from-preloading/284660)

<div class="topic-metadata">

**Author:** [@blatex24](https://forum.kirupa.com/u/blatex24)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 9:27pm UTC](https://forum.kirupa.com/t/prevent-flv-from-preloading/284660 "2009-03-21T21:27:18Z")

</div>

I have an FLV embedded in a SWF, and it preloads whenever a user visits the page it's on. Is there a way to prevent it from preloading, or force a user to click play before it loads? Thanks

---

## [External SWFs not loading, Error #2044: Unhandled IOErrorEvent:. text=Error #2035](https://forum.kirupa.com/t/external-swfs-not-loading-error-2044-unhandled-ioerrorevent-text-error-2035/284658)

<div class="topic-metadata">

**Author:** [@kenmarold](https://forum.kirupa.com/u/kenmarold)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 8:31pm UTC](https://forum.kirupa.com/t/external-swfs-not-loading-error-2044-unhandled-ioerrorevent-text-error-2035/284658 "2009-03-21T20:31:25Z")

</div>

Hi, I was wondering if someone could help me troubleshoot this bit of code. I'm just trying to load external swf's but I keep getting an 'URL not found' error, everything's locating in the same directory, is this a scope…

---

## [Does removeChild removes ALL content?](https://forum.kirupa.com/t/does-removechild-removes-all-content/284656)

<div class="topic-metadata">

**Author:** [@harm\_less](https://forum.kirupa.com/u/harm_less)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 7:48pm UTC](https://forum.kirupa.com/t/does-removechild-removes-all-content/284656 "2009-03-21T19:48:29Z")

</div>

Hello, I was wondering if you remove a child with "removeChild" if it removes everything what was in the movieClip. I doesn't remove listeners automatically (right?). But does it remove bitmapData (from the memory) …

---

## [Disappearing Seek Bar Handle](https://forum.kirupa.com/t/disappearing-seek-bar-handle/284652)

<div class="topic-metadata">

**Author:** [@phaedo5](https://forum.kirupa.com/u/phaedo5)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 6:52pm UTC](https://forum.kirupa.com/t/disappearing-seek-bar-handle/284652 "2009-03-21T18:52:35Z")

</div>

So I have a flash file I'm working on. I have an FLVPlayback Component inside a movie clip called mcVideo. I have that clip set up with a MainVideo class which sets the player and all the controls. Everything works e…

---

## [Red dots in saved FL gif file?](https://forum.kirupa.com/t/red-dots-in-saved-fl-gif-file/284649)

<div class="topic-metadata">

**Author:** [@ready\_set\_owned](https://forum.kirupa.com/u/ready_set_owned)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 5:41pm UTC](https://forum.kirupa.com/t/red-dots-in-saved-fl-gif-file/284649 "2009-03-21T17:41:57Z")

</div>

I made a small .GIF file to show my abilities to my friend and what I can do but when I save it and I open it up on my desktop little red dots appear on the image. I go to import\>movie file(to save as an animated gif.) t…

---

## [\[as1\] problem parsing xml through flash var](https://forum.kirupa.com/t/as1-problem-parsing-xml-through-flash-var/284648)

<div class="topic-metadata">

**Author:** [@kdzines](https://forum.kirupa.com/u/kdzines)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 5:35pm UTC](https://forum.kirupa.com/t/as1-problem-parsing-xml-through-flash-var/284648 "2009-03-21T17:35:14Z")

</div>

Hi, I am building a site whereby i want to pass the xml path for my content through a flash variable with swfobject. I can trace the variable in my flash movie but can't get the xml to parse. The xml AS is as follows…

---

## [Make TextFormat "permenant"](https://forum.kirupa.com/t/make-textformat-permenant/284646)

<div class="topic-metadata">

**Author:** [@bortiquai](https://forum.kirupa.com/u/bortiquai)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 4:29pm UTC](https://forum.kirupa.com/t/make-textformat-permenant/284646 "2009-03-21T16:29:31Z")

</div>

When adding textFields dynamically, as well as the TextFormat, it seems that the textFormat needs to be applied every time the text is changed. So if I have: TxtFld.text = 'This is some text'; txtFld.setTextFormat(txt…

---

## [SWF Doesn't Play in Webpage](https://forum.kirupa.com/t/swf-doesnt-play-in-webpage/284644)

<div class="topic-metadata">

**Author:** [@blatex24](https://forum.kirupa.com/u/blatex24)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 3:43pm UTC](https://forum.kirupa.com/t/swf-doesnt-play-in-webpage/284644 "2009-03-21T15:43:53Z")

</div>

I have an FLV file embeded in a SWF. The file plays when directly opened by Firefox or Internet Explorer. However, it doesn't play when embedded in an HTML page. Any suggestions?

---

## [\[Flash 8\]\[As2\]](https://forum.kirupa.com/t/flash-8-as2/284643)

<div class="topic-metadata">

**Author:** [@tuddy\_xx](https://forum.kirupa.com/u/tuddy_xx)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 3:41pm UTC](https://forum.kirupa.com/t/flash-8-as2/284643 "2009-03-21T15:41:25Z")

</div>

Hello guys, Does anybody know how to work with to a movie clip generated like this: for (j=0; j\<10; j++) { one\_mc.duplicateMovieClip("clip\["+j+"\]\_mc",j); } I just want to skip all this: clip0\_mc.onPress = fu…

---

## [TypeError message](https://forum.kirupa.com/t/typeerror-message/284642)

<div class="topic-metadata">

**Author:** [@nusphere](https://forum.kirupa.com/u/nusphere)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 3:40pm UTC](https://forum.kirupa.com/t/typeerror-message/284642 "2009-03-21T15:40:49Z")

</div>

Hey people, On the site I am working on I have successfully created some buttons that take the play head to a to different frames. However, I have created a new button to take the playhead back to the main section whic…

---

## [Image not being served](https://forum.kirupa.com/t/image-not-being-served/284641)

<div class="topic-metadata">

**Author:** [@iamhere](https://forum.kirupa.com/u/iamhere)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 2:58pm UTC](https://forum.kirupa.com/t/image-not-being-served/284641 "2009-03-21T14:58:15Z")

</div>

Hello, I have an image (a logo) on my website which refuses to show up when I type "localhost" into my browser. The HTML is something like this: \<IMG ALT="" SRC="logo.gif"\>. I'm testing on Fedora Core 6 (Linux). What sho…

---

## [Accessing variable PDf files in a folder](https://forum.kirupa.com/t/accessing-variable-pdf-files-in-a-folder/284636)

<div class="topic-metadata">

**Author:** [@Horicolonoma](https://forum.kirupa.com/u/Horicolonoma)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 1:26pm UTC](https://forum.kirupa.com/t/accessing-variable-pdf-files-in-a-folder/284636 "2009-03-21T13:26:20Z")

</div>

Hi all I am new to this forum and I wish to share my intermediate knowledge of AS2 with you people! I have the following problem or question: How can I access files from a certain directory to make links of them? T…

---

## [3d carousel tutorials](https://forum.kirupa.com/t/3d-carousel-tutorials/284633)

<div class="topic-metadata">

**Author:** [@southpaw](https://forum.kirupa.com/u/southpaw)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 7:12am UTC](https://forum.kirupa.com/t/3d-carousel-tutorials/284633 "2009-03-21T07:12:54Z")

</div>

hello all, I recently stumbled upon a pretty neat affect the other day while surfing. I did some research and came across a few threads on another forum. Unfortunately, I did not find any 3d carousel tutes in AS3. I h…

---

## [How come I can't add a TextField to a MovieClip?](https://forum.kirupa.com/t/how-come-i-cant-add-a-textfield-to-a-movieclip/284631)

<div class="topic-metadata">

**Author:** [@bortiquai](https://forum.kirupa.com/u/bortiquai)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 3:40am UTC](https://forum.kirupa.com/t/how-come-i-cant-add-a-textfield-to-a-movieclip/284631 "2009-03-21T03:40:51Z")

</div>

I've got a MovieClip on the MainTimeline: mc\_back I want to dynamcially add textfields to it: txt:TextField = new TextField(); txt.Height = 20; txt.Width = 60; txt.text = 'This is Some Text' mc\_back.addChild(txt); …

---

## [Help! XML undefined nodes in dynamic text field](https://forum.kirupa.com/t/help-xml-undefined-nodes-in-dynamic-text-field/284630)

<div class="topic-metadata">

**Author:** [@kmorical](https://forum.kirupa.com/u/kmorical)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 3:27am UTC](https://forum.kirupa.com/t/help-xml-undefined-nodes-in-dynamic-text-field/284630 "2009-03-21T03:27:40Z")

</div>

I'm a nooby to actionscript. I've modified the xml photo gallery from the tutorial on this site to include a thumbnail scroller, the previous and next buttons to loop around, and added links to the images so that a pdf w…

---

## [Aligning DIVs](https://forum.kirupa.com/t/aligning-divs/284629)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 3:11am UTC](https://forum.kirupa.com/t/aligning-divs/284629 "2009-03-21T03:11:45Z")

</div>

Can someone remind me why the middle content DIV is being pushed down below the left side DIV? http://www.tornedgedesign.com/\_test/kirupa/bm\_subpage.html The CSS is here: http://www.tornedgedesign.com/\_test/kirupa/st…

---

## [6 squares p/ line](https://forum.kirupa.com/t/6-squares-p-line/284626)

<div class="topic-metadata">

**Author:** [@laertjansen](https://forum.kirupa.com/u/laertjansen)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 2:26am UTC](https://forum.kirupa.com/t/6-squares-p-line/284626 "2009-03-21T02:26:01Z")

</div>

Hello everyone, May I ask for some help here? My website is www.laertjansen.com I can´t figure out how to center the layout in the browser and 'lock' it to 6 squares per line generating horizontal scroll if the user i…

---

## [Issue creating a "go back" button in flash](https://forum.kirupa.com/t/issue-creating-a-go-back-button-in-flash/284625)

<div class="topic-metadata">

**Author:** [@angelmateo](https://forum.kirupa.com/u/angelmateo)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 1:53am UTC](https://forum.kirupa.com/t/issue-creating-a-go-back-button-in-flash/284625 "2009-03-21T01:53:47Z")

</div>

Hello Everyone, Im having an issue with a site im creating, i have everthing broken down and put to work but one single thing. on the site with 3 buttons and there are 3 sections for each button. 1 is the home page 2 …

---

## [Embedding xml into flashfile](https://forum.kirupa.com/t/embedding-xml-into-flashfile/284623)

<div class="topic-metadata">

**Author:** [@shannonhochkins](https://forum.kirupa.com/u/shannonhochkins)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 12:57am UTC](https://forum.kirupa.com/t/embedding-xml-into-flashfile/284623 "2009-03-21T00:57:41Z")

</div>

hi, i have a flash file which on mypsace can't load external files because it blocks it, can somebody please help me script my file so that the xml data is inside the .swf so it doesn't have to load it externally, im not…

---

## [Help with CS3 gotoAndPlay()](https://forum.kirupa.com/t/help-with-cs3-gotoandplay/284622)

<div class="topic-metadata">

**Author:** [@batouttahell](https://forum.kirupa.com/u/batouttahell)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 12:45am UTC](https://forum.kirupa.com/t/help-with-cs3-gotoandplay/284622 "2009-03-21T00:45:02Z")

</div>

I'm a total flash and actionscript newbie. I'm having some problems coding some actionscript for an animation created by a friend. He's created the entire animation and has asked me to insert some code that will execute …

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

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