# programming

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

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

**Page:** 1353

---

## [Basic OOP with XML](https://forum.kirupa.com/t/basic-oop-with-xml/252410)

<div class="topic-metadata">

**Author:** [@VirgoAnima](https://forum.kirupa.com/u/VirgoAnima)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 10:26pm UTC](https://forum.kirupa.com/t/basic-oop-with-xml/252410 "2008-02-19T22:26:04Z")

</div>

Hello, I'm trying to finally dive into OOP and tie it into XMl that I am loading. I am using a custom class I created and I believe I've linked everything together that should be (paths and whatnot). The problem I'm havi…

---

## [Setting/Getting FLV height and width](https://forum.kirupa.com/t/setting-getting-flv-height-and-width/252409)

<div class="topic-metadata">

**Author:** [@jakattak](https://forum.kirupa.com/u/jakattak)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 10:14pm UTC](https://forum.kirupa.com/t/setting-getting-flv-height-and-width/252409 "2008-02-19T22:14:16Z")

</div>

Is there a way to retrieve and set the height and width of an FLV/Playback object via actionscript? I was hoping I could interact with the values via simple \_height and \_width properties, but that seems to offer all kind…

---

## [Flash to FLV](https://forum.kirupa.com/t/flash-to-flv/252407)

<div class="topic-metadata">

**Author:** [@monteverest](https://forum.kirupa.com/u/monteverest)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 9:56pm UTC](https://forum.kirupa.com/t/flash-to-flv/252407 "2008-02-19T21:56:14Z")

</div>

Is it possible to save or export a flash output as an FLV file? I want to capture FLV's progressive download feature instead of loading swf files for content. The flash doc has simple animation and practically no animati…

---

## [PHP - Colour XML Code](https://forum.kirupa.com/t/php-colour-xml-code/252406)

<div class="topic-metadata">

**Author:** [@Nineteen](https://forum.kirupa.com/u/Nineteen)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 9:49pm UTC](https://forum.kirupa.com/t/php-colour-xml-code/252406 "2008-02-19T21:49:52Z")

</div>

Hi, Is there any scripts / functions out there that will colour code XML when its inserted or comes from a database / strings? Eg: //Page Title $sPageTitle = "LaszloCode"; //Include Header include("include/header.…

---

## [6 slider question/help](https://forum.kirupa.com/t/6-slider-question-help/252402)

<div class="topic-metadata">

**Author:** [@TRixation](https://forum.kirupa.com/u/TRixation)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 9:10pm UTC](https://forum.kirupa.com/t/6-slider-question-help/252402 "2008-02-19T21:10:26Z")

</div>

Im trying to create a 6 slider control like the one found here (http://www.kirupa.com/developer/mx/slider.htm - thanks to the original poster) that basically link to a set Master value eg) 100 and if you drag the sliders…

---

## [What is this called? Different image randomly displays](https://forum.kirupa.com/t/what-is-this-called-different-image-randomly-displays/252400)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 9:02pm UTC](https://forum.kirupa.com/t/what-is-this-called-different-image-randomly-displays/252400 "2008-02-19T21:02:24Z")

</div>

Different image randomly displays but only on page reload or revisits. Chances are it will predominantly be revisits not reloads

---

## [Can AS grab a file without knowing its name?](https://forum.kirupa.com/t/can-as-grab-a-file-without-knowing-its-name/252398)

<div class="topic-metadata">

**Author:** [@haider](https://forum.kirupa.com/u/haider)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 8:54pm UTC](https://forum.kirupa.com/t/can-as-grab-a-file-without-knowing-its-name/252398 "2008-02-19T20:54:06Z")

</div>

A simple question I have a series of folders, ie folder1, folder2, etc.. each with a single pdf file. Can AS be coded to grab the pdf file inside the folder without specifically coding in the files name... that is…

---

## [How to deduct current/end of frames of dynamic movie clips](https://forum.kirupa.com/t/how-to-deduct-current-end-of-frames-of-dynamic-movie-clips/252397)

<div class="topic-metadata">

**Author:** [@vijaysarvan](https://forum.kirupa.com/u/vijaysarvan)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 8:52pm UTC](https://forum.kirupa.com/t/how-to-deduct-current-end-of-frames-of-dynamic-movie-clips/252397 "2008-02-19T20:52:30Z")

</div>

Hi.. I want to dynamically attach movie to the stage. This is fine. I'm able to do it. but i want to check if the dynamic movie clipe has executed all its frames (reached last frame). as soon as this happens i want to at…

---

## [Download Files out of Flash Projector](https://forum.kirupa.com/t/download-files-out-of-flash-projector/252394)

<div class="topic-metadata">

**Author:** [@djeustice](https://forum.kirupa.com/u/djeustice)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 8:26pm UTC](https://forum.kirupa.com/t/download-files-out-of-flash-projector/252394 "2008-02-19T20:26:04Z")

</div>

I am creating a Flash Projector file. How do I make buttons/links that allow the user to download files from the Projector?

---

## [Linking troubles](https://forum.kirupa.com/t/linking-troubles/252392)

<div class="topic-metadata">

**Author:** [@Acadian](https://forum.kirupa.com/u/Acadian)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 7:13pm UTC](https://forum.kirupa.com/t/linking-troubles/252392 "2008-02-19T19:13:48Z")

</div>

Currently I’m trying to get my images to link to external urls, how ever I’m currently doing something wrong where I get an undefined error when I click on the links. The code I’m using is as fallows function loadXML(l…

---

## [CSS Rollover Issue](https://forum.kirupa.com/t/css-rollover-issue/252391)

<div class="topic-metadata">

**Author:** [@Syous](https://forum.kirupa.com/u/Syous)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 7:04pm UTC](https://forum.kirupa.com/t/css-rollover-issue/252391 "2008-02-19T19:04:50Z")

</div>

Can't get my images to rollover, not sure what's going on. I've done the tutorial on this site and nothing. Done some other tut's on the net and still having the same issue. I'm trying to get the home image to move posit…

---

## [Instance referencing](https://forum.kirupa.com/t/instance-referencing/252385)

<div class="topic-metadata">

**Author:** [@N\_IGMA](https://forum.kirupa.com/u/N_IGMA)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 5:52pm UTC](https://forum.kirupa.com/t/instance-referencing/252385 "2008-02-19T17:52:07Z")

</div>

Hi All, I am new to Flash and would like some help understanding how instances on the timeline are referenced. I have a movie that needs to load all the text via XML, this I can do. I am storing all the text values i…

---

## [How to read more than one attribute in a XML file?](https://forum.kirupa.com/t/how-to-read-more-than-one-attribute-in-a-xml-file/252383)

<div class="topic-metadata">

**Author:** [@ecptavares](https://forum.kirupa.com/u/ecptavares)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 5:26pm UTC](https://forum.kirupa.com/t/how-to-read-more-than-one-attribute-in-a-xml-file/252383 "2008-02-19T17:26:23Z")

</div>

Hi! I finally got the code loading an external XML file after lots of tries but I can t read the desc attribute.Can You help me with this doubt? Here is my code: function onLoaded(event:Event):void { xml = new…

---

## [BG Pattern with Top and Bottom Gradients](https://forum.kirupa.com/t/bg-pattern-with-top-and-bottom-gradients/252380)

<div class="topic-metadata">

**Author:** [@nickcherryjiggz](https://forum.kirupa.com/u/nickcherryjiggz)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 4:54pm UTC](https://forum.kirupa.com/t/bg-pattern-with-top-and-bottom-gradients/252380 "2008-02-19T16:54:17Z")

</div>

I'm making a full-screen Flash application that I would like to lay over of a patterned background (created with HTML/CSS). Normally, this would be cake, but this time, I want the top row of background tiles to be overla…

---

## [How to execute code using ExternalInterface on page load?](https://forum.kirupa.com/t/how-to-execute-code-using-externalinterface-on-page-load/252374)

<div class="topic-metadata">

**Author:** [@especht](https://forum.kirupa.com/u/especht)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 3:47pm UTC](https://forum.kirupa.com/t/how-to-execute-code-using-externalinterface-on-page-load/252374 "2008-02-19T15:47:36Z")

</div>

I have been trying everything I can find to have code start on the window.onload event that uses callbacks exposed via the ExternalInterface. I've had many of the attempts working in IE, but Firefox is causing me grief. …

---

## [Blank flash with AS2 tween, help please?](https://forum.kirupa.com/t/blank-flash-with-as2-tween-help-please/252373)

<div class="topic-metadata">

**Author:** [@Adra](https://forum.kirupa.com/u/Adra)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 3:40pm UTC](https://forum.kirupa.com/t/blank-flash-with-as2-tween-help-please/252373 "2008-02-19T15:40:31Z")

</div>

Hey everyone, I’m still making that slideshow I’ve posted about before, and all in all its working pretty well, but I have hit a cosmetic issue. When I load the new image to fade to it, there is a short delay where just…

---

## [Stage.scaleMode = "noscale";](https://forum.kirupa.com/t/stage-scalemode-noscale/252366)

<div class="topic-metadata">

**Author:** [@beppeartz](https://forum.kirupa.com/u/beppeartz)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 2:20pm UTC](https://forum.kirupa.com/t/stage-scalemode-noscale/252366 "2008-02-19T14:20:22Z")

</div>

hello guys! i got this code: Stage.scaleMode = "noscale"; Stage.align = "C"; //----------------------- var StageWidth:Number = 550; var StageHeight:Number = 400; function escalaFondo() { if (Stage.width \> St…

---

## [Image Gallery for MX (6)](https://forum.kirupa.com/t/image-gallery-for-mx-6/252365)

<div class="topic-metadata">

**Author:** [@swurp](https://forum.kirupa.com/u/swurp)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 2:06pm UTC](https://forum.kirupa.com/t/image-gallery-for-mx-6/252365 "2008-02-19T14:06:27Z")

</div>

Hey guys, I wanted to create a basic web gallery to dynamically display a few pictures. Being fairly new to flash, I used your forum extensively. I wanted to share the link and code. disclaimer: this is not like the tuto…

---

## [New to Flash - made fading text but i need help with a tweek](https://forum.kirupa.com/t/new-to-flash-made-fading-text-but-i-need-help-with-a-tweek/252362)

<div class="topic-metadata">

**Author:** [@Averroes](https://forum.kirupa.com/u/Averroes)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 1:35pm UTC](https://forum.kirupa.com/t/new-to-flash-made-fading-text-but-i-need-help-with-a-tweek/252362 "2008-02-19T13:35:58Z")

</div>

Hi guys to start with I am a corporate designer. The bulk of my work normally is to design websites and corporate material but design is all i do. Recently I have been looking into Flash but have not had a need to use it…

---

## [Flash .fla verion detection](https://forum.kirupa.com/t/flash-fla-verion-detection/252360)

<div class="topic-metadata">

**Author:** [@pablo\_2006](https://forum.kirupa.com/u/pablo_2006)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 1:07pm UTC](https://forum.kirupa.com/t/flash-fla-verion-detection/252360 "2008-02-19T13:07:25Z")

</div>

Is it possible to detect an .FLA file version without opening it ? I need to auto-check fla's before they are uploaded to a CVS system, but only version 8's can be submitted, otherwise I get a system crash. Regards, P…

---

## [Is this a stupid question?](https://forum.kirupa.com/t/is-this-a-stupid-question/252357)

<div class="topic-metadata">

**Author:** [@Doubleudee](https://forum.kirupa.com/u/Doubleudee)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 12:34pm UTC](https://forum.kirupa.com/t/is-this-a-stupid-question/252357 "2008-02-19T12:34:08Z")

</div>

Ok I'm pretty new to flash, I don't get to use/develop with it often, so as I have so many hats to wear in my job I now pose my question and hope someone can help or point me in the right direction of an example. I hav…

---

## [\_alpha coding issue](https://forum.kirupa.com/t/-alpha-coding-issue/252356)

<div class="topic-metadata">

**Author:** [@icepack24](https://forum.kirupa.com/u/icepack24)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 12:32pm UTC](https://forum.kirupa.com/t/-alpha-coding-issue/252356 "2008-02-19T12:32:48Z")

</div>

i have attached a timelime copy to this note. I need help in coding this movieclip for i have tried all sorts of coding to alter the \_alpha values but not getting the effect needed. Examine the attached file. on the fi…

---

## [Sending variable to php page - login page](https://forum.kirupa.com/t/sending-variable-to-php-page-login-page/252355)

<div class="topic-metadata">

**Author:** [@Pilot](https://forum.kirupa.com/u/Pilot)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 11:50am UTC](https://forum.kirupa.com/t/sending-variable-to-php-page-login-page/252355 "2008-02-19T11:50:27Z")

</div>

I'm trying to login to a password protected php page through a form in flash. When the user provides correct information the flashmovie opens a php-page, but how do I protect the php page from unautorized accesses? Can…

---

## [HELP - button does not show up](https://forum.kirupa.com/t/help-button-does-not-show-up/252354)

<div class="topic-metadata">

**Author:** [@icepack24](https://forum.kirupa.com/u/icepack24)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 11:46am UTC](https://forum.kirupa.com/t/help-button-does-not-show-up/252354 "2008-02-19T11:46:56Z")

</div>

It's my first time on here and I must say this site/forum is much more accurate and informative that most other flash related site/forums. Not even some of the experts at adobe take the time to be specifically detailed i…

---

## [\[AS2\] Creating Thumbnails of Imported SWF](https://forum.kirupa.com/t/as2-creating-thumbnails-of-imported-swf/252350)

<div class="topic-metadata">

**Author:** [@Alpha\_eX](https://forum.kirupa.com/u/Alpha_eX)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 10:57am UTC](https://forum.kirupa.com/t/as2-creating-thumbnails-of-imported-swf/252350 "2008-02-19T10:57:34Z")

</div>

I'm working on something where an swf with multiple frames is imported to a movie clip called, viewport. I've got the simple navigation done but wanted to implement a feature that would let the user see all frames of …

---

## [Shooting Multiple Missles](https://forum.kirupa.com/t/shooting-multiple-missles/252349)

<div class="topic-metadata">

**Author:** [@fm47](https://forum.kirupa.com/u/fm47)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 10:54am UTC](https://forum.kirupa.com/t/shooting-multiple-missles/252349 "2008-02-19T10:54:35Z")

</div>

So I was trying out the gravity tutorial and thought I'd make a missile shooting thing out of it. The problem is that I can only shoot one at a time. I think it's a depth issue, but I'm not entirely sure (i is noob..) A…

---

## [Adding images into dynamic text](https://forum.kirupa.com/t/adding-images-into-dynamic-text/252348)

<div class="topic-metadata">

**Author:** [@Curby](https://forum.kirupa.com/u/Curby)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 10:51am UTC](https://forum.kirupa.com/t/adding-images-into-dynamic-text/252348 "2008-02-19T10:51:39Z")

</div>

I want to place images into a scrolling dynamic text box. How can I tell the image to appear exactly were I want it to. Or Another idea I had was having another movie with the images in it loading inside my container o…

---

## [PHP - Flash Calendar](https://forum.kirupa.com/t/php-flash-calendar/252347)

<div class="topic-metadata">

**Author:** [@Hello\_World](https://forum.kirupa.com/u/Hello_World)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 10:47am UTC](https://forum.kirupa.com/t/php-flash-calendar/252347 "2008-02-19T10:47:33Z")

</div>

Hi I would like to create a event flash calendar that could communicate with PHP. I've found this component build with flash call dateChooser and I'm using it as my default calendar. The calendar should read strings th…

---

## [Selected text, highlighting color](https://forum.kirupa.com/t/selected-text-highlighting-color/252346)

<div class="topic-metadata">

**Author:** [@Germaris](https://forum.kirupa.com/u/Germaris)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 10:45am UTC](https://forum.kirupa.com/t/selected-text-highlighting-color/252346 "2008-02-19T10:45:55Z")

</div>

Hi there! When I select text entered in an Input Field, highlighting color is always Black. How can I change it for another color like, for example, a light Green (#66ff99)? Many thanks in advance for your answers! …

---

## [URLLoader repeating itself](https://forum.kirupa.com/t/urlloader-repeating-itself/252341)

<div class="topic-metadata">

**Author:** [@bjp342](https://forum.kirupa.com/u/bjp342)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 7:34am UTC](https://forum.kirupa.com/t/urlloader-repeating-itself/252341 "2008-02-19T07:34:48Z")

</div>

Hi there, I'm pretty new to Flash and AS3 but I've managed to figure most of my problems out with the help of books and the net...I'm having a problem with a URLLoader and I just cannot work it out. The problem is t…

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

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