# programming

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

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

**Page:** 573

---

## [XML as3](https://forum.kirupa.com/t/xml-as3/304140)

<div class="topic-metadata">

**Author:** [@flashinobi](https://forum.kirupa.com/u/flashinobi)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 10:23am UTC](https://forum.kirupa.com/t/xml-as3/304140 "2010-02-02T10:23:37Z")

</div>

Hi everyone, Do you know what seems to be the problem here? Whenever i output the xml data, it still brings out the xml tags but on the second row it shows the elements. \[COLOR=DimGray\]//First Row Load \[COLOR=Black\]\<i…

---

## [Instance name of MovieClip that was created with addChild() func](https://forum.kirupa.com/t/instance-name-of-movieclip-that-was-created-with-addchild-func/304139)

<div class="topic-metadata">

**Author:** [@borna](https://forum.kirupa.com/u/borna)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 10:14am UTC](https://forum.kirupa.com/t/instance-name-of-movieclip-that-was-created-with-addchild-func/304139 "2010-02-02T10:14:37Z")

</div>

Hi All. I had made a MovieClip obj and put it on the stage with addChild() function in my .as class from one of my library MovieClip object of my .fla project... I have one another MovieClip inside of that MovieClip, a…

---

## [Faux bold not working](https://forum.kirupa.com/t/faux-bold-not-working/304137)

<div class="topic-metadata">

**Author:** [@fideldonson](https://forum.kirupa.com/u/fideldonson)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 10:04am UTC](https://forum.kirupa.com/t/faux-bold-not-working/304137 "2010-02-02T10:04:33Z")

</div>

I need a textfield with the font Gotham-Light to be able to show bold text from time to time. Normally this does not pose any difficulty as i would either place a bold version of the textfield of the stage or embed the b…

---

## [Trim away heading and trailing spaces in flash input text field](https://forum.kirupa.com/t/trim-away-heading-and-trailing-spaces-in-flash-input-text-field/304136)

<div class="topic-metadata">

**Author:** [@Etud3](https://forum.kirupa.com/u/Etud3)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 10:04am UTC](https://forum.kirupa.com/t/trim-away-heading-and-trailing-spaces-in-flash-input-text-field/304136 "2010-02-02T10:04:18Z")

</div>

Hi, I need to trim away away all the extra spaces that a users types into my input text field. I know that there are a few ways possible, but i'm not sure how to go about doing it. Could someone help? Thanks!

---

## [Input Text Validation to Lowercase](https://forum.kirupa.com/t/input-text-validation-to-lowercase/304134)

<div class="topic-metadata">

**Author:** [@Etud3](https://forum.kirupa.com/u/Etud3)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 9:32am UTC](https://forum.kirupa.com/t/input-text-validation-to-lowercase/304134 "2010-02-02T09:32:19Z")

</div>

Hi, I am new user in adobe flash CS4 and i'm using actionscript 2.0 for my project. I have this input text field in which the user inputs a string of sentences into it. I need it to be able to read any string that is…

---

## [Help! seeking and changing only part of URL](https://forum.kirupa.com/t/help-seeking-and-changing-only-part-of-url/304132)

<div class="topic-metadata">

**Author:** [@micronet](https://forum.kirupa.com/u/micronet)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 7:42am UTC](https://forum.kirupa.com/t/help-seeking-and-changing-only-part-of-url/304132 "2010-02-02T07:42:00Z")

</div>

Hi, I have a question about my site... I have to set button for changing the default language with another one ... this button have to be in my flash header ... only the header in my site is flash ... How can I do this…

---

## [Loading External Swf in Movie Clip](https://forum.kirupa.com/t/loading-external-swf-in-movie-clip/304130)

<div class="topic-metadata">

**Author:** [@vikrant29nov](https://forum.kirupa.com/u/vikrant29nov)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 7:25am UTC](https://forum.kirupa.com/t/loading-external-swf-in-movie-clip/304130 "2010-02-02T07:25:45Z")

</div>

Need some help in loading external swf using AS 3.0 I am using the below code var swfLoader:Loader = new Loader(); holderMC.addChild(swfLoader); var bgURL:URLRequest=new URLRequest("Untitled-1.swf"); swfLoader.conte…

---

## [Please help in mp3 creation using bytearray](https://forum.kirupa.com/t/please-help-in-mp3-creation-using-bytearray/304129)

<div class="topic-metadata">

**Author:** [@ashishkummar](https://forum.kirupa.com/u/ashishkummar)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 6:48am UTC](https://forum.kirupa.com/t/please-help-in-mp3-creation-using-bytearray/304129 "2010-02-02T06:48:22Z")

</div>

Hi Friends, I want to make a flash application in which i will load 3-4 different mp3 files of different instrumental music. After loading it I want play all files. Further I want to save or create a merged mp3, fro…

---

## [Help With Flash Resizing](https://forum.kirupa.com/t/help-with-flash-resizing/304128)

<div class="topic-metadata">

**Author:** [@pbot](https://forum.kirupa.com/u/pbot)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 6:47am UTC](https://forum.kirupa.com/t/help-with-flash-resizing/304128 "2010-02-02T06:47:31Z")

</div>

Hi folks! I'm making a flash website in Flash 8 and I just want it to resize in peoples web browser to 1300 by 785. How can I do this? Thanks!

---

## [Cent OS page that won't go away](https://forum.kirupa.com/t/cent-os-page-that-wont-go-away/304127)

<div class="topic-metadata">

**Author:** [@marto\_kariz](https://forum.kirupa.com/u/marto_kariz)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 6:45am UTC](https://forum.kirupa.com/t/cent-os-page-that-wont-go-away/304127 "2010-02-02T06:45:31Z")

</div>

Hi, I have a stone in my shoe. I have uploaded a site at www.chrisckenya.org. Some people can access the site and some are greeted by an apache 2.0 test page. The advice on the page suggests that I access some folde…

---

## [TextArea replacement (data in /data out)](https://forum.kirupa.com/t/textarea-replacement-data-in-data-out/304126)

<div class="topic-metadata">

**Author:** [@Imprint](https://forum.kirupa.com/u/Imprint)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 5:56am UTC](https://forum.kirupa.com/t/textarea-replacement-data-in-data-out/304126 "2010-02-02T05:56:27Z")

</div>

Hi all, I was wondering if someone can point me in the right direction. I'm working on building a flash spell checker/RTE as a replacement for a HTML Textarea in some user submission forms on a site I am working on. W…

---

## [How to make a POST request with Tumblr API?](https://forum.kirupa.com/t/how-to-make-a-post-request-with-tumblr-api/304124)

<div class="topic-metadata">

**Author:** [@blkdimund](https://forum.kirupa.com/u/blkdimund)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 5:24am UTC](https://forum.kirupa.com/t/how-to-make-a-post-request-with-tumblr-api/304124 "2010-02-02T05:24:41Z")

</div>

So I’m trying to code an AIR widget for Tumblr. Before I actually start working on the widget, I wanted to play around with AS3 and the Tumblr API to do simple things, like reading and writing posts, editing posts etc. I…

---

## [Pacman in AS3](https://forum.kirupa.com/t/pacman-in-as3/304123)

<div class="topic-metadata">

**Author:** [@ThreeDollarBill](https://forum.kirupa.com/u/ThreeDollarBill)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 5:23am UTC](https://forum.kirupa.com/t/pacman-in-as3/304123 "2010-02-02T05:23:20Z")

</div>

anybody here know any links / tutorials on how to make a pacman game in AS3? More than anything, I just need the code for the AI of the enemies...

---

## [Unable to load movieclip from library](https://forum.kirupa.com/t/unable-to-load-movieclip-from-library/304122)

<div class="topic-metadata">

**Author:** [@logan3975](https://forum.kirupa.com/u/logan3975)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 5:14am UTC](https://forum.kirupa.com/t/unable-to-load-movieclip-from-library/304122 "2010-02-02T05:14:36Z")

</div>

Hello everyone...I am new to the forum and new to Flash and AS. I am using Flash CS4 and AS2. I have been following along a video tutorial that has me stuck. The code below is as far as we got and when it was time to …

---

## [Anyone ever get weird mouseover behavior in Firefox?](https://forum.kirupa.com/t/anyone-ever-get-weird-mouseover-behavior-in-firefox/304121)

<div class="topic-metadata">

**Author:** [@Agold](https://forum.kirupa.com/u/Agold)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 4:28am UTC](https://forum.kirupa.com/t/anyone-ever-get-weird-mouseover-behavior-in-firefox/304121 "2010-02-02T04:28:39Z")

</div>

If I scroll the page, the mouseover functions no longer work on my menus unless i click on the screen, but in Internet Explorer I get no such problem. Anyone else ever notice this?

---

## [3D Cube Flip Effect HELP!](https://forum.kirupa.com/t/3d-cube-flip-effect-help/304116)

<div class="topic-metadata">

**Author:** [@juss](https://forum.kirupa.com/u/juss)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 2:17am UTC](https://forum.kirupa.com/t/3d-cube-flip-effect-help/304116 "2010-02-02T02:17:21Z")

</div>

Hi guys. I need to make a 3D cube menu. All 6 faces should be a link to another scene (or basically just a link to anything). For rotation wise, it should turn towards the left when the user click and drag the cu…

---

## [Mouse Leave does not fire](https://forum.kirupa.com/t/mouse-leave-does-not-fire/304107)

<div class="topic-metadata">

**Author:** [@jpaul](https://forum.kirupa.com/u/jpaul)\
**Replies:** 0\
**Last updated:** [February 1, 2010, 10:52pm UTC](https://forum.kirupa.com/t/mouse-leave-does-not-fire/304107 "2010-02-01T22:52:35Z")

</div>

Hey guys, I am hoping someone has a quick answer for me on this. I am trying to handle a drag event when the cursor leaves the stage. Should be fairly simple with Event.MOUSE\_LEAVE, but I am having unexpected difficultie…

---

## [LocalConnection Help](https://forum.kirupa.com/t/localconnection-help/304105)

<div class="topic-metadata">

**Author:** [@asiabackpacker](https://forum.kirupa.com/u/asiabackpacker)\
**Replies:** 0\
**Last updated:** [February 1, 2010, 9:45pm UTC](https://forum.kirupa.com/t/localconnection-help/304105 "2010-02-01T21:45:24Z")

</div>

I am creating a banner ad placement utilizing 3 Flash movies which are synced. At the end of the animation, there is a replay button on each of the banners. I am using a localconnection to sync the banners. I'm wonde…

---

## [Help.. Im Stuck Badly](https://forum.kirupa.com/t/help-im-stuck-badly/304103)

<div class="topic-metadata">

**Author:** [@Robbieskipton](https://forum.kirupa.com/u/Robbieskipton)\
**Replies:** 0\
**Last updated:** [February 1, 2010, 8:42pm UTC](https://forum.kirupa.com/t/help-im-stuck-badly/304103 "2010-02-01T20:42:32Z")

</div>

Hi All, I am trying to do a contact form, except i cannot get the SEND PHP to work.... The code is below.. Its really getting on my nerves. i have been on it for 4 hours now and i still cant get it to work.. can anyone…

---

## [Please some one help me with this](https://forum.kirupa.com/t/please-some-one-help-me-with-this/304102)

<div class="topic-metadata">

**Author:** [@Robbieskipton](https://forum.kirupa.com/u/Robbieskipton)\
**Replies:** 0\
**Last updated:** [February 1, 2010, 8:38pm UTC](https://forum.kirupa.com/t/please-some-one-help-me-with-this/304102 "2010-02-01T20:38:31Z")

</div>

Hi All, I am trying to do a contact form, except i cannot get the SEND PHP to work.... The code is below.. Its really getting on my nerves. i have been on it for 4 hours now and i still cant get it to work.. can anyone…

---

## [Textfield holding playheadTime](https://forum.kirupa.com/t/textfield-holding-playheadtime/304098)

<div class="topic-metadata">

**Author:** [@Bugsby84](https://forum.kirupa.com/u/Bugsby84)\
**Replies:** 0\
**Last updated:** [February 1, 2010, 6:43pm UTC](https://forum.kirupa.com/t/textfield-holding-playheadtime/304098 "2010-02-01T18:43:08Z")

</div>

Hi, I've created a textfield which I want to hold the time that is left of a flv being played. I also created a timer which will see to it that it gets updated. Here is the code: "import flash.utils.Timer; import fla…

---

## [Forcing browser or flash to cache loaded images?](https://forum.kirupa.com/t/forcing-browser-or-flash-to-cache-loaded-images/304097)

<div class="topic-metadata">

**Author:** [@Agold](https://forum.kirupa.com/u/Agold)\
**Replies:** 0\
**Last updated:** [February 1, 2010, 6:40pm UTC](https://forum.kirupa.com/t/forcing-browser-or-flash-to-cache-loaded-images/304097 "2010-02-01T18:40:42Z")

</div>

So I've uploaded my slideshow swf to my WIP website (CSS files got overwritten \[frowning\] ) Everything is working great. It's looping, I have a preloader animation, ect. The problem I now want to resolve is getting the l…

---

## [Trying to add a string to name of instance](https://forum.kirupa.com/t/trying-to-add-a-string-to-name-of-instance/304095)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [February 1, 2010, 5:43pm UTC](https://forum.kirupa.com/t/trying-to-add-a-string-to-name-of-instance/304095 "2010-02-01T17:43:28Z")

</div>

I am trying to capture the name of a target and add the letters "hl" on to the end and then set the visibility of another object with this modified name to true. Here is the code. The trace shows exactly what I want. Now…

---

## [Multiple movie clip actions](https://forum.kirupa.com/t/multiple-movie-clip-actions/304092)

<div class="topic-metadata">

**Author:** [@joobny](https://forum.kirupa.com/u/joobny)\
**Replies:** 0\
**Last updated:** [February 1, 2010, 4:49pm UTC](https://forum.kirupa.com/t/multiple-movie-clip-actions/304092 "2010-02-01T16:49:28Z")

</div>

Hey guys, Just signed up today and you seem to have a pretty active community so hopefully you can help me out! I don't think my question's too tricky... hopefully! :thumb2: I'm making a game, and I currently have a …

---

## [Embed a YouTube video in Flash](https://forum.kirupa.com/t/embed-a-youtube-video-in-flash/304088)

<div class="topic-metadata">

**Author:** [@bladeswim83](https://forum.kirupa.com/u/bladeswim83)\
**Replies:** 0\
**Last updated:** [February 1, 2010, 3:15pm UTC](https://forum.kirupa.com/t/embed-a-youtube-video-in-flash/304088 "2010-02-01T15:15:52Z")

</div>

So I just figured out how to embed a YouTube video in flash using an empty movie clip and this AS2 code. this.createEmptyMovieClip("youtube\_mc",this.getNextHighestDepth()); youtube\_mc.loadMovie("http://www.youtube.com…

---

## [AS3: Bubbling event question](https://forum.kirupa.com/t/as3-bubbling-event-question/304085)

<div class="topic-metadata">

**Author:** [@asscripter](https://forum.kirupa.com/u/asscripter)\
**Replies:** 0\
**Last updated:** [February 1, 2010, 2:57pm UTC](https://forum.kirupa.com/t/as3-bubbling-event-question/304085 "2010-02-01T14:57:48Z")

</div>

Hi, this is a really simple task. But I'm not getting any clue here. I have two buttons b1 and b2, on stage. They both have a major overlapping area. Now I want, when I rollover on b1, b2 should also show the rollover …

---

## [addChild on delay?](https://forum.kirupa.com/t/addchild-on-delay/304082)

<div class="topic-metadata">

**Author:** [@martiandrivein](https://forum.kirupa.com/u/martiandrivein)\
**Replies:** 0\
**Last updated:** [February 1, 2010, 2:28pm UTC](https://forum.kirupa.com/t/addchild-on-delay/304082 "2010-02-01T14:28:10Z")

</div>

I'm looking to add a child back to the stage after a brief delay, how might I do this in AS3?

---

## [XML filter with parent nodes intact](https://forum.kirupa.com/t/xml-filter-with-parent-nodes-intact/304076)

<div class="topic-metadata">

**Author:** [@oybrator](https://forum.kirupa.com/u/oybrator)\
**Replies:** 0\
**Last updated:** [February 1, 2010, 9:52am UTC](https://forum.kirupa.com/t/xml-filter-with-parent-nodes-intact/304076 "2010-02-01T09:52:54Z")

</div>

Hi all. Is there any obscure, standard E4X way of filtering XML so that the results are returned with the tree structure with all parents intact? Similar to e.g. this: var selectedNodes:XMLList = content..thumbnai…

---

## [AS3, Using concatenated variables to access XML value](https://forum.kirupa.com/t/as3-using-concatenated-variables-to-access-xml-value/304072)

<div class="topic-metadata">

**Author:** [@JarredpSmith](https://forum.kirupa.com/u/JarredpSmith)\
**Replies:** 0\
**Last updated:** [February 1, 2010, 7:40am UTC](https://forum.kirupa.com/t/as3-using-concatenated-variables-to-access-xml-value/304072 "2010-02-01T07:40:13Z")

</div>

Hi Im working on an Actionscript 3 program where i will click through a tree structure of buttons and use the values of the particular set of buttons, to access its corresponding value in an XML file. As i click each but…

---

## [Force mouse click in AS3](https://forum.kirupa.com/t/force-mouse-click-in-as3/304071)

<div class="topic-metadata">

**Author:** [@Toiletfreak](https://forum.kirupa.com/u/Toiletfreak)\
**Replies:** 0\
**Last updated:** [February 1, 2010, 7:17am UTC](https://forum.kirupa.com/t/force-mouse-click-in-as3/304071 "2010-02-01T07:17:16Z")

</div>

Hey there, anyone know how to force / initiate a mouseclick in AS3? Thought og using a hittest() function but a bit too cumbersome. Thanks!:nerd: Rgds, Joel Tong

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

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