# programming

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

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

**Page:** 552

---

## [Disable inputbox text highlighting](https://forum.kirupa.com/t/disable-inputbox-text-highlighting/305423)

<div class="topic-metadata">

**Author:** [@Sith717](https://forum.kirupa.com/u/Sith717)\
**Replies:** 0\
**Last updated:** [February 25, 2010, 1:18am UTC](https://forum.kirupa.com/t/disable-inputbox-text-highlighting/305423 "2010-02-25T01:18:43Z")

</div>

Hey guys, is there anyways I can disable people from highlighting the text inside an Input Box? I have tried the 3 buttons next to the "Single Line" dropdown but none of them work. Is there a as3 code I need to put s…

---

## [Referring to other variables?](https://forum.kirupa.com/t/referring-to-other-variables/305422)

<div class="topic-metadata">

**Author:** [@Danny0123](https://forum.kirupa.com/u/Danny0123)\
**Replies:** 0\
**Last updated:** [February 25, 2010, 1:08am UTC](https://forum.kirupa.com/t/referring-to-other-variables/305422 "2010-02-25T01:08:16Z")

</div>

Hi. Is it possible to refer to a variable in a class file separate from the one you are working in? Say Class1.as had a variable named "exampleVar", and in Class2.as you wanted to put something like "exampleVar++;". …

---

## [How to save a flash game](https://forum.kirupa.com/t/how-to-save-a-flash-game/305416)

<div class="topic-metadata">

**Author:** [@saeef](https://forum.kirupa.com/u/saeef)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 11:09pm UTC](https://forum.kirupa.com/t/how-to-save-a-flash-game/305416 "2010-02-24T23:09:04Z")

</div>

hello everybody, I'm making a flash game. Most of the part I have done. But i need to save the game. when a user want he can save the game in any stage. how can i do this. thanks, Saeef

---

## [Flash CS4 to Flash 8?](https://forum.kirupa.com/t/flash-cs4-to-flash-8/305415)

<div class="topic-metadata">

**Author:** [@Amymation](https://forum.kirupa.com/u/Amymation)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 11:06pm UTC](https://forum.kirupa.com/t/flash-cs4-to-flash-8/305415 "2010-02-24T23:06:27Z")

</div>

hey Guys! Don't mean to be a pain but I accidently saved over my flash 8 .fla in flash CS4 so now I can't use it in college (Only allows Flash8). I tried to do ... Save as \[Flash 8\] but for osme reason only flash CS4 and…

---

## [Add objectname to array](https://forum.kirupa.com/t/add-objectname-to-array/305412)

<div class="topic-metadata">

**Author:** [@Stingfury](https://forum.kirupa.com/u/Stingfury)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 10:02pm UTC](https://forum.kirupa.com/t/add-objectname-to-array/305412 "2010-02-24T22:02:40Z")

</div>

Sup guys. Alright, so I'm trying to do this thing where I click and object on the stage, and then the idea would be to add the name of that object (a movieClip I guess?) to an array. Right now, this is what I've go…

---

## [Splicing help](https://forum.kirupa.com/t/splicing-help/305410)

<div class="topic-metadata">

**Author:** [@MossyStump](https://forum.kirupa.com/u/MossyStump)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 8:29pm UTC](https://forum.kirupa.com/t/splicing-help/305410 "2010-02-24T20:29:33Z")

</div>

Alright \[smiley\] New problem.... could someone show me an example, if possible, of a way to replace a specific element of an array with another? or a way to insert a new element to an array wherever I want :o

---

## [The Flow effect](https://forum.kirupa.com/t/the-flow-effect/305407)

<div class="topic-metadata">

**Author:** [@stratmack](https://forum.kirupa.com/u/stratmack)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 6:22pm UTC](https://forum.kirupa.com/t/the-flow-effect/305407 "2010-02-24T18:22:07Z")

</div>

This seems like a simple objective but after scouring the web I haven't really seen an ideal solution for this. I'm trying to create a simple flow effect where a movieclip symbol moves along a motion guide and it needs t…

---

## [Download empty folder structure maybe as a zip file](https://forum.kirupa.com/t/download-empty-folder-structure-maybe-as-a-zip-file/305402)

<div class="topic-metadata">

**Author:** [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 4:53pm UTC](https://forum.kirupa.com/t/download-empty-folder-structure-maybe-as-a-zip-file/305402 "2010-02-24T16:53:50Z")

</div>

I'm creating a job sheet web app. I would like an empty folder and subfolder structure to be created automatically and then downloaded to the desktop - then users will drag files into these folders before saving them to …

---

## [Pre loading external swf's](https://forum.kirupa.com/t/pre-loading-external-swfs/305400)

<div class="topic-metadata">

**Author:** [@handemmet](https://forum.kirupa.com/u/handemmet)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 4:45pm UTC](https://forum.kirupa.com/t/pre-loading-external-swfs/305400 "2010-02-24T16:45:57Z")

</div>

Hi In my fla, I have a timeline with some basic animation. On frames 250, 500 and 750......... I have 3 empty movieclips that loads 3 external swf's. Is there a way at the start of my timeline to preload the 3 externa…

---

## [Attach class to a movieclip created with 'createEmptyMovieClip'](https://forum.kirupa.com/t/attach-class-to-a-movieclip-created-with-createemptymovieclip/305396)

<div class="topic-metadata">

**Author:** [@bob\_001](https://forum.kirupa.com/u/bob_001)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 3:56pm UTC](https://forum.kirupa.com/t/attach-class-to-a-movieclip-created-with-createemptymovieclip/305396 "2010-02-24T15:56:05Z")

</div>

I know it is possible to attach a class to a movieclip that exists in the library by checking 'Export for ActionScript' and specifying an 'AS 2.0 class' for that symbol. I would really like to know if it's also possibl…

---

## [SwapDepths on multiple movieclips/buttons?](https://forum.kirupa.com/t/swapdepths-on-multiple-movieclips-buttons/305394)

<div class="topic-metadata">

**Author:** [@Amymation](https://forum.kirupa.com/u/Amymation)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 3:02pm UTC](https://forum.kirupa.com/t/swapdepths-on-multiple-movieclips-buttons/305394 "2010-02-24T15:02:22Z")

</div>

I have a problem! I'm making a website where you click a character and a board drops down behind the character. But I have this for many other buttons. For example board 1 is already placed, I click button 2 and board 2 …

---

## [Problem changing label color](https://forum.kirupa.com/t/problem-changing-label-color/305393)

<div class="topic-metadata">

**Author:** [@Flexy](https://forum.kirupa.com/u/Flexy)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 3:01pm UTC](https://forum.kirupa.com/t/problem-changing-label-color/305393 "2010-02-24T15:01:50Z")

</div>

Hey guys I am building a dynamic RSS viewer in actionscript 3. I wrote a flex application to create the xml code, now I load the xml into my flash application. Now the user of my flex app can pick a color for a thread.…

---

## [Loaded SWF constructor ignored](https://forum.kirupa.com/t/loaded-swf-constructor-ignored/305391)

<div class="topic-metadata">

**Author:** [@StridBR](https://forum.kirupa.com/u/StridBR)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 2:29pm UTC](https://forum.kirupa.com/t/loaded-swf-constructor-ignored/305391 "2010-02-24T14:29:23Z")

</div>

I'm having a problem with a .swf which when loaded into another .swf has its constructor function ignored when i'm running local it works fine, but when theres a real loading the constructor doesnt run, also making tim…

---

## [Foosball Game Help](https://forum.kirupa.com/t/foosball-game-help/305385)

<div class="topic-metadata">

**Author:** [@nixav](https://forum.kirupa.com/u/nixav)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 12:53pm UTC](https://forum.kirupa.com/t/foosball-game-help/305385 "2010-02-24T12:53:54Z")

</div>

Could anyone help me with creating a flash foosball game for actionscript 2.0? Need to hand in a brief on Friday and mine is really not working. Please if someone could read through this code and correct me or can any…

---

## [Movie clip button:Down state:How many frames?](https://forum.kirupa.com/t/movie-clip-button-down-state-how-many-frames/305383)

<div class="topic-metadata">

**Author:** [@Luigi\_Vercotti](https://forum.kirupa.com/u/Luigi_Vercotti)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 12:15pm UTC](https://forum.kirupa.com/t/movie-clip-button-down-state-how-many-frames/305383 "2010-02-24T12:15:47Z")

</div>

Guys... how long or how many frames can be movieclip for Down or Click Event...It seems than only few like 15frames. When I click the button it plays only few of those I really have... What do you think?

---

## [Tab Index](https://forum.kirupa.com/t/tab-index/305376)

<div class="topic-metadata">

**Author:** [@mrblonde](https://forum.kirupa.com/u/mrblonde)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 10:59am UTC](https://forum.kirupa.com/t/tab-index/305376 "2010-02-24T10:59:05Z")

</div>

Hi, I hope you can help, I'm surprised that i cant find more information on Google about this, although i might be asking the wrong question. I have 2 forms that do two different jobs, each form has a series of field…

---

## [Flash Banner absolute link to XML not working](https://forum.kirupa.com/t/flash-banner-absolute-link-to-xml-not-working/305374)

<div class="topic-metadata">

**Author:** [@J\_Mo](https://forum.kirupa.com/u/J_Mo)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 10:57am UTC](https://forum.kirupa.com/t/flash-banner-absolute-link-to-xml-not-working/305374 "2010-02-24T10:57:12Z")

</div>

Hi, I have a flash banner that references and XML file with an absolute link, whilst I test the banner locally it works fine but when I test it online it doesn't link to the xml file. Can anyone tell me why and how I…

---

## [General syntax error](https://forum.kirupa.com/t/general-syntax-error/305369)

<div class="topic-metadata">

**Author:** [@sofia1](https://forum.kirupa.com/u/sofia1)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 6:53am UTC](https://forum.kirupa.com/t/general-syntax-error/305369 "2010-02-24T06:53:46Z")

</div>

What are some of the general syntax errors that do occur in javascript.

---

## [Imges pixelate in resizing](https://forum.kirupa.com/t/imges-pixelate-in-resizing/305368)

<div class="topic-metadata">

**Author:** [@raaz](https://forum.kirupa.com/u/raaz)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 6:18am UTC](https://forum.kirupa.com/t/imges-pixelate-in-resizing/305368 "2010-02-24T06:18:21Z")

</div>

Hi everyone i have photo gallery with xml and it work perfect for me but i have simple problem :cry3: like when i resizing my images by stage width or height my images pixelate can any one please help me why the picture…

---

## [Data Grid XML filtering](https://forum.kirupa.com/t/data-grid-xml-filtering/305367)

<div class="topic-metadata">

**Author:** [@ArchemyDesign](https://forum.kirupa.com/u/ArchemyDesign)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 5:49am UTC](https://forum.kirupa.com/t/data-grid-xml-filtering/305367 "2010-02-24T05:49:38Z")

</div>

I cant sem to figure out how to filter my XML data before entering my data grid. I want to load only the XML data with the ID attribute "BALUSTER" and have tried entering: data\_grid.dataProvider = dp.(@ID == "BALUSTER…

---

## [Problem of extreme painfulness](https://forum.kirupa.com/t/problem-of-extreme-painfulness/305365)

<div class="topic-metadata">

**Author:** [@rizzex123](https://forum.kirupa.com/u/rizzex123)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 5:29am UTC](https://forum.kirupa.com/t/problem-of-extreme-painfulness/305365 "2010-02-24T05:29:11Z")

</div>

Hello everyone... I have broken down after two straight days of whacking away and decided to ask for help. Basically, I have a game that loads external swfs (locally) and works perfectly. When I upload it to my websi…

---

## [I have two problems: one small-one big - help would be appreciated!](https://forum.kirupa.com/t/i-have-two-problems-one-small-one-big-help-would-be-appreciated/305363)

<div class="topic-metadata">

**Author:** [@media\_mixx](https://forum.kirupa.com/u/media_mixx)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 3:43am UTC](https://forum.kirupa.com/t/i-have-two-problems-one-small-one-big-help-would-be-appreciated/305363 "2010-02-24T03:43:45Z")

</div>

I have two problems that I need help with: Below... loadnav\_mc loads a swf movie that right now appears at either 0 or 100% alpha when you put your mouse at the cooridinates shown below ( I am doing this this way becau…

---

## [Show image at certain percentage](https://forum.kirupa.com/t/show-image-at-certain-percentage/305362)

<div class="topic-metadata">

**Author:** [@Sith717](https://forum.kirupa.com/u/Sith717)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 2:26am UTC](https://forum.kirupa.com/t/show-image-at-certain-percentage/305362 "2010-02-24T02:26:19Z")

</div>

Is there a way I can do it so at a certain percentage of the preloader a image shows up? Like lets say from 0-49% the background is black then once it hits 50% an image shows up as the background, and stays there until…

---

## [Local Connection multiple buttons](https://forum.kirupa.com/t/local-connection-multiple-buttons/305359)

<div class="topic-metadata">

**Author:** [@loriensleafs](https://forum.kirupa.com/u/loriensleafs)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 12:43am UTC](https://forum.kirupa.com/t/local-connection-multiple-buttons/305359 "2010-02-24T00:43:18Z")

</div>

Hey, I'm trying to set up a photo album, one swf is the thumbs in a div layer, and the other swf is the full size photos, each full size photo is on a frame, and all I want each thumb to do is a GotoandStop command onto …

---

## [Is it possible to save/store variables to be used out of event handlers?](https://forum.kirupa.com/t/is-it-possible-to-save-store-variables-to-be-used-out-of-event-handlers/305358)

<div class="topic-metadata">

**Author:** [@Erasmus](https://forum.kirupa.com/u/Erasmus)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 12:23am UTC](https://forum.kirupa.com/t/is-it-possible-to-save-store-variables-to-be-used-out-of-event-handlers/305358 "2010-02-24T00:23:33Z")

</div>

Hello all, I'm wondering if it is possible to create, save, or store variables in event handlers (or functions invoked in them), to be used outside in the main body of a program. I am working on a project that is requir…

---

## [Explain this inheritance concept](https://forum.kirupa.com/t/explain-this-inheritance-concept/305355)

<div class="topic-metadata">

**Author:** [@jrjellybeans](https://forum.kirupa.com/u/jrjellybeans)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 10:48pm UTC](https://forum.kirupa.com/t/explain-this-inheritance-concept/305355 "2010-02-23T22:48:03Z")

</div>

Edit = I figured out the problem! Sorry for bothering people. It was a simple problem of remembering to set imageSpeed as a number. Sorry about that! I am having a problem with one of my movieclips NOT initiliazing …

---

## [How to set background colour of a line?!](https://forum.kirupa.com/t/how-to-set-background-colour-of-a-line/305354)

<div class="topic-metadata">

**Author:** [@returnButton](https://forum.kirupa.com/u/returnButton)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 10:41pm UTC](https://forum.kirupa.com/t/how-to-set-background-colour-of-a-line/305354 "2010-02-23T22:41:58Z")

</div>

Hi folks. I'm trying to set the background of a createTextField(), BUT only for the lines, not the whole box. If I use background and backgroundColor, it sets the whole text box bg to be white, but I only want the li…

---

## [Combine separate .AS file and .FLA file](https://forum.kirupa.com/t/combine-separate-as-file-and-fla-file/305353)

<div class="topic-metadata">

**Author:** [@Sith717](https://forum.kirupa.com/u/Sith717)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 10:40pm UTC](https://forum.kirupa.com/t/combine-separate-as-file-and-fla-file/305353 "2010-02-23T22:40:01Z")

</div>

Hey guys, I am wondering why is there a seperate as file in a zip I downloaded? There are the files slider.as and slider.fla. There is only one frame in the fla file and I was wondering if I can combine the fla and as …

---

## [Display raw XML with TextField.htmlText](https://forum.kirupa.com/t/display-raw-xml-with-textfield-htmltext/305352)

<div class="topic-metadata">

**Author:** [@oybrator](https://forum.kirupa.com/u/oybrator)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 10:18pm UTC](https://forum.kirupa.com/t/display-raw-xml-with-textfield-htmltext/305352 "2010-02-23T22:18:39Z")

</div>

Is this at all possible? I'm trying to write raw XML (tags, attributes, indents and all) in a text field. The problem is that the text field is using .htmlText, for text coloring, so I cannot simply use the .text prope…

---

## [\[Flash7\] Dynamic TextFields' text becomes invisible when loaded into another MC](https://forum.kirupa.com/t/flash7-dynamic-textfields-text-becomes-invisible-when-loaded-into-another-mc/305351)

<div class="topic-metadata">

**Author:** [@Technoh](https://forum.kirupa.com/u/Technoh)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 10:17pm UTC](https://forum.kirupa.com/t/flash7-dynamic-textfields-text-becomes-invisible-when-loaded-into-another-mc/305351 "2010-02-23T22:17:28Z")

</div>

Hello, This is my first post on Kirupa and I'm trying to follow the posting guidelines - please point out any mistake I might have done/be doing. I am by no means a Flash/ActionScript expert but I have created a few sm…

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

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