# programming

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

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

**Page:** 675

---

## [Trouble loading xml images!](https://forum.kirupa.com/t/trouble-loading-xml-images/297557)

<div class="topic-metadata">

**Author:** [@stephsh](https://forum.kirupa.com/u/stephsh)\
**Replies:** 0\
**Last updated:** [October 5, 2009, 11:44am UTC](https://forum.kirupa.com/t/trouble-loading-xml-images/297557 "2009-10-05T11:44:20Z")

</div>

I have loaded an XML file in the class LoadXML and have here created a method which parses the data and returns various arrays: an array of background urls (i called the array: hintergrund\[\]), an array of image paths (pf…

---

## [Converting from MXML to AS3](https://forum.kirupa.com/t/converting-from-mxml-to-as3/297556)

<div class="topic-metadata">

**Author:** [@superpeppe](https://forum.kirupa.com/u/superpeppe)\
**Replies:** 0\
**Last updated:** [October 5, 2009, 11:14am UTC](https://forum.kirupa.com/t/converting-from-mxml-to-as3/297556 "2009-10-05T11:14:33Z")

</div>

Hi can any of you convert the following Flex to AS3, I have tried -keep-generated-actionscript but it just gives a lot of confusing code. \<?xml version="1.0" encoding="utf-8"?\> \<mx:Application xmlns:mx="http://www.ado…

---

## [\[Flash CS3, ActionScript 2\] Controlling external .swf with on (release)](https://forum.kirupa.com/t/flash-cs3-actionscript-2-controlling-external-swf-with-on-release/297554)

<div class="topic-metadata">

**Author:** [@duusman](https://forum.kirupa.com/u/duusman)\
**Replies:** 0\
**Last updated:** [October 5, 2009, 10:40am UTC](https://forum.kirupa.com/t/flash-cs3-actionscript-2-controlling-external-swf-with-on-release/297554 "2009-10-05T10:40:28Z")

</div>

Everyone tells me it can be done but no-one can tell me how: I have a base.fla that uses buttons to load movie or load movieNum. Would like to stop the loaded .swf file from base.fla So basically just use on (release) to…

---

## [Accessing a Class](https://forum.kirupa.com/t/accessing-a-class/297553)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [October 5, 2009, 9:57am UTC](https://forum.kirupa.com/t/accessing-a-class/297553 "2009-10-05T09:57:07Z")

</div>

Hi, I've got a class with this in it: package localAS3{ public class Glo { static public function Glo():void { trace("dosomething"); } } } and in my fla. On the first frame in …

---

## [Starting a Preloader from a TimerEvent](https://forum.kirupa.com/t/starting-a-preloader-from-a-timerevent/297552)

<div class="topic-metadata">

**Author:** [@zanelyon](https://forum.kirupa.com/u/zanelyon)\
**Replies:** 0\
**Last updated:** [October 5, 2009, 9:35am UTC](https://forum.kirupa.com/t/starting-a-preloader-from-a-timerevent/297552 "2009-10-05T09:35:33Z")

</div>

Before I start my preloader animation, I want to play a quick animation. I was hoping to use a TimerEvent to delay the preloader from starting until the animation was over, but nothing's happening. I cobbled this toget…

---

## [Accessing an Array](https://forum.kirupa.com/t/accessing-an-array/297551)

<div class="topic-metadata">

**Author:** [@jumpsuit1](https://forum.kirupa.com/u/jumpsuit1)\
**Replies:** 0\
**Last updated:** [October 5, 2009, 5:43am UTC](https://forum.kirupa.com/t/accessing-an-array/297551 "2009-10-05T05:43:53Z")

</div>

Hey guys, How would I access the first element of this array first entering the frame. I want to get buttons\[0\], or brandingbtn, to be activated. var currentButtonId:Number = 0; var buttons:Array = \[brandingbtn, prin…

---

## [Line Break XML AS2](https://forum.kirupa.com/t/line-break-xml-as2/297549)

<div class="topic-metadata">

**Author:** [@cortezcreations](https://forum.kirupa.com/u/cortezcreations)\
**Replies:** 0\
**Last updated:** [October 5, 2009, 4:59am UTC](https://forum.kirupa.com/t/line-break-xml-as2/297549 "2009-10-05T04:59:20Z")

</div>

Not sure if this is the right section or not as it's more of an xml question, but I'm trying to figure out a solution to break up an attribute tag to display in a text box. At the moment it just fills the available line …

---

## [Passing the same Query String](https://forum.kirupa.com/t/passing-the-same-query-string/297547)

<div class="topic-metadata">

**Author:** [@sunGLASS](https://forum.kirupa.com/u/sunGLASS)\
**Replies:** 0\
**Last updated:** [October 5, 2009, 3:19am UTC](https://forum.kirupa.com/t/passing-the-same-query-string/297547 "2009-10-05T03:19:14Z")

</div>

How to pass the same query string from one webpage to another? E.g. \[www.myweb.net/main.html?xyz1122abc \*\*\>\>\*\* \[URL="http://www.myweb.net/final.html?xyz1122"\]\[COLOR=#0000ff\]\[URL="http://www.myweb.net/final.html?xyz…

---

## [Unwanted Flicker on Text of Dynamically Created Buttons](https://forum.kirupa.com/t/unwanted-flicker-on-text-of-dynamically-created-buttons/297543)

<div class="topic-metadata">

**Author:** [@skinicod](https://forum.kirupa.com/u/skinicod)\
**Replies:** 0\
**Last updated:** [October 4, 2009, 11:39pm UTC](https://forum.kirupa.com/t/unwanted-flicker-on-text-of-dynamically-created-buttons/297543 "2009-10-04T23:39:50Z")

</div>

Hi All, I have created a class that creates a button with a bitmap underneath, and dynamic embedded text on the top. The buttons upState has a drop shadow on it, the overState, changes the Text from a dark to a light c…

---

## [XML combination problem](https://forum.kirupa.com/t/xml-combination-problem/297537)

<div class="topic-metadata">

**Author:** [@Echelon](https://forum.kirupa.com/u/Echelon)\
**Replies:** 0\
**Last updated:** [October 4, 2009, 7:05pm UTC](https://forum.kirupa.com/t/xml-combination-problem/297537 "2009-10-04T19:05:50Z")

</div>

Hi, I'm kind of stuck and I was wondering if anyone here could help me out with this one : I'm trying to use the tutorial on dynamic xml menu's with the one of the dynamic xml photogallery. The gallery's code states a…

---

## [Popup window from Flash (IE, Firefox & Safari)](https://forum.kirupa.com/t/popup-window-from-flash-ie-firefox-safari/297532)

<div class="topic-metadata">

**Author:** [@heiseman](https://forum.kirupa.com/u/heiseman)\
**Replies:** 0\
**Last updated:** [October 4, 2009, 3:23pm UTC](https://forum.kirupa.com/t/popup-window-from-flash-ie-firefox-safari/297532 "2009-10-04T15:23:49Z")

</div>

sorry. problem fixed. got it working now.

---

## [Photo Gallery Help CSS/Java Script](https://forum.kirupa.com/t/photo-gallery-help-css-java-script/297531)

<div class="topic-metadata">

**Author:** [@ambuyea](https://forum.kirupa.com/u/ambuyea)\
**Replies:** 0\
**Last updated:** [October 4, 2009, 3:17pm UTC](https://forum.kirupa.com/t/photo-gallery-help-css-java-script/297531 "2009-10-04T15:17:50Z")

</div>

Hello I am trying to put together a photo gallery for a friend. we are using this template http://www.stunicholls.com/gallery/photo\_click.html. The problem is when you click on the thumbnail to view the larger image the…

---

## [Load Images into flash and update whitout flash](https://forum.kirupa.com/t/load-images-into-flash-and-update-whitout-flash/297528)

<div class="topic-metadata">

**Author:** [@flashmxboy](https://forum.kirupa.com/u/flashmxboy)\
**Replies:** 0\
**Last updated:** [October 4, 2009, 11:42am UTC](https://forum.kirupa.com/t/load-images-into-flash-and-update-whitout-flash/297528 "2009-10-04T11:42:51Z")

</div>

Hi I\`m currently working on a website in flash which is going to be kinda like a blog. The swf loads in in two files for each "post", one image and one text file. I already know how to do that. But the website has to b…

---

## [Adding Image Dynamically from the Library](https://forum.kirupa.com/t/adding-image-dynamically-from-the-library/297524)

<div class="topic-metadata">

**Author:** [@Raabi](https://forum.kirupa.com/u/Raabi)\
**Replies:** 0\
**Last updated:** [October 4, 2009, 8:28am UTC](https://forum.kirupa.com/t/adding-image-dynamically-from-the-library/297524 "2009-10-04T08:28:56Z")

</div>

Hello everybody I am in the process of creating an info box Object, which displays one of the five organizational informations, dynamically \*on the user's choice. \*All the code is in the associated Class. I am stuck …

---

## [Resize Actionscript panel](https://forum.kirupa.com/t/resize-actionscript-panel/297523)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [October 4, 2009, 5:32am UTC](https://forum.kirupa.com/t/resize-actionscript-panel/297523 "2009-10-04T05:32:54Z")

</div>

Hi, Just a quick question... How do I resize my actionscript panel? It's suddenly just enlarged itself.. and I can't find a way to resize it back to a small window! When I move my cursor to the edges of the window...…

---

## [Variables with attachMovie](https://forum.kirupa.com/t/variables-with-attachmovie/297520)

<div class="topic-metadata">

**Author:** [@rebblesoul](https://forum.kirupa.com/u/rebblesoul)\
**Replies:** 0\
**Last updated:** [October 4, 2009, 1:38am UTC](https://forum.kirupa.com/t/variables-with-attachmovie/297520 "2009-10-04T01:38:20Z")

</div>

Hi, i was wondering if it is possible to use attachMovie with variables using flashvars from html. im kind of new to AS and would like to know if anyone could help me out here i need to make a single SWF in wich some…

---

## [../images/ not working for SWF](https://forum.kirupa.com/t/images-not-working-for-swf/297519)

<div class="topic-metadata">

**Author:** [@phlegma](https://forum.kirupa.com/u/phlegma)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 11:32pm UTC](https://forum.kirupa.com/t/images-not-working-for-swf/297519 "2009-10-03T23:32:06Z")

</div>

doing the backlink or whatever it's called isn't working for my swf's. Only my gif's. But they're all in the same directory... simple things always drive me nuts!

---

## [Need help finishing off a 2D fighting engine](https://forum.kirupa.com/t/need-help-finishing-off-a-2d-fighting-engine/297516)

<div class="topic-metadata">

**Author:** [@muskycoder](https://forum.kirupa.com/u/muskycoder)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 7:44pm UTC](https://forum.kirupa.com/t/need-help-finishing-off-a-2d-fighting-engine/297516 "2009-10-03T19:44:19Z")

</div>

Hey guys! I've been working on a 2D fighting engine and need some help with some actionscript programming. So far the engine has been done in Actionscript 2.0 - i'd love to get it over to actionscript 3.0. What I nee…

---

## [Adding URL link to images in XML](https://forum.kirupa.com/t/adding-url-link-to-images-in-xml/297515)

<div class="topic-metadata">

**Author:** [@lbradler](https://forum.kirupa.com/u/lbradler)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 7:07pm UTC](https://forum.kirupa.com/t/adding-url-link-to-images-in-xml/297515 "2009-10-03T19:07:34Z")

</div>

Hi. I'm new to this forum and have been researching this all day. Nothing seems to be working. Can anyone help me just add a link to these images? It's a dynamic scroller that can be viewed on this link: http://www.madcr…

---

## [100% Table Width Flash Issue](https://forum.kirupa.com/t/100-table-width-flash-issue/297514)

<div class="topic-metadata">

**Author:** [@phlegma](https://forum.kirupa.com/u/phlegma)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 6:54pm UTC](https://forum.kirupa.com/t/100-table-width-flash-issue/297514 "2009-10-03T18:54:19Z")

</div>

I've got a 100% width flash file for my header in an html file. I've got a table below that holds the main content - 960px width. When the browser is resized below the size of the table, the flash file shrinks and loos…

---

## [AS2:progressBar not reading it's source](https://forum.kirupa.com/t/as2-progressbar-not-reading-its-source/297513)

<div class="topic-metadata">

**Author:** [@JamminBill](https://forum.kirupa.com/u/JamminBill)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 6:46pm UTC](https://forum.kirupa.com/t/as2-progressbar-not-reading-its-source/297513 "2009-10-03T18:46:13Z")

</div>

This is driving me nuts. Below is code for an interactive about where to see fall leaf colors. You can see how it works here: http://www.sacbee.com/1232/rich\_media/2179852.html The way I have it now, there is a photo…

---

## [Help : Preloading Imported Movies (QT, MOV formats)](https://forum.kirupa.com/t/help-preloading-imported-movies-qt-mov-formats/297510)

<div class="topic-metadata">

**Author:** [@BUroKHUli](https://forum.kirupa.com/u/BUroKHUli)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 5:09pm UTC](https://forum.kirupa.com/t/help-preloading-imported-movies-qt-mov-formats/297510 "2009-10-03T17:09:12Z")

</div>

Hello guys, I got two questions in my mind. The first one is which is a better format for importing a movie? Should I use QUICKTIME or other formats? Now the second one is a little bit confusing. Let's say I have suc…

---

## [GetElementById not working](https://forum.kirupa.com/t/getelementbyid-not-working/297509)

<div class="topic-metadata">

**Author:** [@speedy\_rudolf](https://forum.kirupa.com/u/speedy_rudolf)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 4:04pm UTC](https://forum.kirupa.com/t/getelementbyid-not-working/297509 "2009-10-03T16:04:34Z")

</div>

Hi. I'm making a web site...And the following bit of code doesn't work...It sais "document.getElementById(...) is null or not an object"...I tried various combinations of getElementById and getElementsByName but nothing …

---

## [After the preloader is loaded goto frame/label](https://forum.kirupa.com/t/after-the-preloader-is-loaded-goto-frame-label/297506)

<div class="topic-metadata">

**Author:** [@chrisdegrote](https://forum.kirupa.com/u/chrisdegrote)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 2:45pm UTC](https://forum.kirupa.com/t/after-the-preloader-is-loaded-goto-frame-label/297506 "2009-10-03T14:45:21Z")

</div>

Hey people, I've bought a very simple AS3 preloader but the default code requests an external swf thru a loader event. What I would like to achieve is when the content is loaded it goes to a frame/label on my stage.…

---

## [Bloated swf output (Template Flash8 in CS4)](https://forum.kirupa.com/t/bloated-swf-output-template-flash8-in-cs4/297505)

<div class="topic-metadata">

**Author:** [@isvaljek](https://forum.kirupa.com/u/isvaljek)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 2:22pm UTC](https://forum.kirupa.com/t/bloated-swf-output-template-flash8-in-cs4/297505 "2009-10-03T14:22:40Z")

</div>

Can someone please explain this situation: I'm using a template made for Flash 8 / AS2, and am publishing it with CS4, only to find out that the swf output outsizes the original fla file 5x(17MB swf vs 3.4MB fla)? I've g…

---

## [Open a file (open file dialog) and load content into a textfield (AS2)](https://forum.kirupa.com/t/open-a-file-open-file-dialog-and-load-content-into-a-textfield-as2/297504)

<div class="topic-metadata">

**Author:** [@Silverfisken](https://forum.kirupa.com/u/Silverfisken)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 1:49pm UTC](https://forum.kirupa.com/t/open-a-file-open-file-dialog-and-load-content-into-a-textfield-as2/297504 "2009-10-03T13:49:59Z")

</div>

Hi, How can I have a button (when clicked) opens up a dialog where I choose a file on my local computer or server and then open the content of the file into a textfield? MAC OS X Intel system

---

## [Trying to loop File properties](https://forum.kirupa.com/t/trying-to-loop-file-properties/297500)

<div class="topic-metadata">

**Author:** [@ven](https://forum.kirupa.com/u/ven)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 10:18am UTC](https://forum.kirupa.com/t/trying-to-loop-file-properties/297500 "2009-10-03T10:18:15Z")

</div>

Trying to loop File properties, but loop does not iterate var f:File = new File("some/path"); trace(f.name);// Shows name, File instance is OK // Try to list properties for ( var s:String in f ) { …

---

## [Quesrstring Basics](https://forum.kirupa.com/t/quesrstring-basics/297499)

<div class="topic-metadata">

**Author:** [@sunGLASS](https://forum.kirupa.com/u/sunGLASS)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 10:03am UTC](https://forum.kirupa.com/t/quesrstring-basics/297499 "2009-10-03T10:03:41Z")

</div>

Basically what I need is to pass an querrystring ID and \[FONT=Calibri\]\[FONT=Verdana\]match it to an ID on a PHP server side script, then pass the email address into Flash.\[/FONT\] :top\_hat:\[/FONT\] \[FONT=Calibri\]\[/FONT\] …

---

## [Random MovieClip script only producing same 3 results](https://forum.kirupa.com/t/random-movieclip-script-only-producing-same-3-results/297494)

<div class="topic-metadata">

**Author:** [@junwin](https://forum.kirupa.com/u/junwin)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 6:42am UTC](https://forum.kirupa.com/t/random-movieclip-script-only-producing-same-3-results/297494 "2009-10-03T06:42:23Z")

</div>

i have a collection of movie clips (mc0, mc1, mc2…etc etc), and when motion is detected on a webcam, one of these clips is shown on the stage. however, for some reason only mc0, mc1 and mc2 are being displayed, and i …

---

## [Replacing XML Node and Element text in XML](https://forum.kirupa.com/t/replacing-xml-node-and-element-text-in-xml/297492)

<div class="topic-metadata">

**Author:** [@zik80](https://forum.kirupa.com/u/zik80)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 4:43am UTC](https://forum.kirupa.com/t/replacing-xml-node-and-element-text-in-xml/297492 "2009-10-03T04:43:48Z")

</div>

I am stuck on how to make these changes to an xml using AS3. My xml structure is as follows: \<boys\> \<boy\> \<boyid\>1-0\</boyid\> \<fname\>John\</fname\> \<lname\>Smith\</lname\> \<phone\>222-1111\</phone\> \</boy\> \<boy\> \<…

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

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