# programming

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

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

**Page:** 611

---

## [Same Object Name, Yet Diffrent Menu Names? Help! Confused!](https://forum.kirupa.com/t/same-object-name-yet-diffrent-menu-names-help-confused/301667)

<div class="topic-metadata">

**Author:** [@Murgy91](https://forum.kirupa.com/u/Murgy91)\
**Replies:** 0\
**Last updated:** [December 13, 2009, 3:47pm UTC](https://forum.kirupa.com/t/same-object-name-yet-diffrent-menu-names-help-confused/301667 "2009-12-13T15:47:04Z")

</div>

Hi ive got this problem, i downloaded a website template and now im changing it to what i want. The 5 menu names are inside the same movie clip called Menu01. however its the same movie clip in each place of each menu so…

---

## [URLVariables not parsing data. Why?](https://forum.kirupa.com/t/urlvariables-not-parsing-data-why/301665)

<div class="topic-metadata">

**Author:** [@RubenFlash](https://forum.kirupa.com/u/RubenFlash)\
**Replies:** 0\
**Last updated:** [December 13, 2009, 3:03pm UTC](https://forum.kirupa.com/t/urlvariables-not-parsing-data-why/301665 "2009-12-13T15:03:46Z")

</div>

Hi! Very simple script: ActionScript Code: \[LEFT\]\[COLOR=#808080\]\*//request is made to PHP script\*\[/COLOR\] \[COLOR=#000000\]{\[/COLOR\] \[COLOR=#000000\]var\[/COLOR\] getor:URLLoader = URLLoaderCOLOR=#000000\[/COLOR\];\[COL…

---

## [Getting a bar to scale 0-100%](https://forum.kirupa.com/t/getting-a-bar-to-scale-0-100/301663)

<div class="topic-metadata">

**Author:** [@Skribble](https://forum.kirupa.com/u/Skribble)\
**Replies:** 0\
**Last updated:** [December 13, 2009, 2:58pm UTC](https://forum.kirupa.com/t/getting-a-bar-to-scale-0-100/301663 "2009-12-13T14:58:51Z")

</div>

Just a quick one today. I've currently set up my Health bar to use xscale and the health is currently 100 and it all works fine. But I want the hero to be able to upgrade their health to higher values, and when I do th…

---

## [How to pass HTML parameters into my SWF?](https://forum.kirupa.com/t/how-to-pass-html-parameters-into-my-swf/301661)

<div class="topic-metadata">

**Author:** [@0L4F](https://forum.kirupa.com/u/0L4F)\
**Replies:** 0\
**Last updated:** [December 13, 2009, 2:14pm UTC](https://forum.kirupa.com/t/how-to-pass-html-parameters-into-my-swf/301661 "2009-12-13T14:14:01Z")

</div>

Hello Kirupians, I'm working on a project where the HTML in which my main SWF is embedded will be called with a couple of dynamic parameters, like this: http://www.domain.com/index.html?sessionID=12345 Any idea how…

---

## [What's wrong with my function?](https://forum.kirupa.com/t/whats-wrong-with-my-function/301660)

<div class="topic-metadata">

**Author:** [@ash\_at\_risk](https://forum.kirupa.com/u/ash_at_risk)\
**Replies:** 0\
**Last updated:** [December 13, 2009, 2:03pm UTC](https://forum.kirupa.com/t/whats-wrong-with-my-function/301660 "2009-12-13T14:03:46Z")

</div>

Hi all, I am confused ,what's wrong with this function although it does not cause any errors but my man(player) never stops at the scrolling rightEdge. RightEdge is the distance from rightside of screen where screen star…

---

## [Please Reply me](https://forum.kirupa.com/t/please-reply-me/301658)

<div class="topic-metadata">

**Author:** [@Jami\_Raza](https://forum.kirupa.com/u/Jami_Raza)\
**Replies:** 0\
**Last updated:** [December 13, 2009, 1:44pm UTC](https://forum.kirupa.com/t/please-reply-me/301658 "2009-12-13T13:44:30Z")

</div>

i m creating a project on Flash 5, in this project i have more than 100 audio files i want that when the project start project Automatic import mp3 files to the same folder like html, is here some one who help me please. …

---

## [Need some Help](https://forum.kirupa.com/t/need-some-help/301655)

<div class="topic-metadata">

**Author:** [@Jami\_Raza](https://forum.kirupa.com/u/Jami_Raza)\
**Replies:** 0\
**Last updated:** [December 13, 2009, 12:51pm UTC](https://forum.kirupa.com/t/need-some-help/301655 "2009-12-13T12:51:33Z")

</div>

i m creating a project, in this project i have more than 100 audio files i want that when the project start project Automatic import mp3 files to the same folder like html, is here some one who help me please. Thanks

---

## [addChild in Class](https://forum.kirupa.com/t/addchild-in-class/301653)

<div class="topic-metadata">

**Author:** [@impaler](https://forum.kirupa.com/u/impaler)\
**Replies:** 0\
**Last updated:** [December 13, 2009, 11:27am UTC](https://forum.kirupa.com/t/addchild-in-class/301653 "2009-12-13T11:27:45Z")

</div>

Hello I am pretty new to as3, I am trying to use addChild to create a child movieclip of one created in another Class. It creates one fine in the testCanvas class but when I want to add a child clip with mctestObject I …

---

## [Need to get AS3](https://forum.kirupa.com/t/need-to-get-as3/301652)

<div class="topic-metadata">

**Author:** [@Hunter\_wow](https://forum.kirupa.com/u/Hunter_wow)\
**Replies:** 0\
**Last updated:** [December 13, 2009, 11:18am UTC](https://forum.kirupa.com/t/need-to-get-as3/301652 "2009-12-13T11:18:21Z")

</div>

Hello. What do I need to have to get AS3? I got both "Flash 8" and "Flash MX 2004" but they both seems to only have AS2.

---

## [First script](https://forum.kirupa.com/t/first-script/301650)

<div class="topic-metadata">

**Author:** [@Hunter\_wow](https://forum.kirupa.com/u/Hunter_wow)\
**Replies:** 0\
**Last updated:** [December 13, 2009, 9:09am UTC](https://forum.kirupa.com/t/first-script/301650 "2009-12-13T09:09:23Z")

</div>

Hello. Trying my first script but I get the error: Line 4: The class or interface ‘flash.utils.Timer’ could not be loaded. var t:Timer = new Timer(10000,0); With the following code: import flash.utils.Timer; var t:…

---

## [What is Air?](https://forum.kirupa.com/t/what-is-air/301649)

<div class="topic-metadata">

**Author:** [@oluc](https://forum.kirupa.com/u/oluc)\
**Replies:** 0\
**Last updated:** [December 13, 2009, 7:30am UTC](https://forum.kirupa.com/t/what-is-air/301649 "2009-12-13T07:30:54Z")

</div>

Hello. Can anyone tell me what air is? lol, and not the air that you breath... I have Flash CS4 and I am wondering if I need air at all for the project I am doing. I have been using just plain flash with AS3. But when …

---

## [Google Analytics in ActionScript 2 all flash website](https://forum.kirupa.com/t/google-analytics-in-actionscript-2-all-flash-website/301648)

<div class="topic-metadata">

**Author:** [@kptgreg](https://forum.kirupa.com/u/kptgreg)\
**Replies:** 0\
**Last updated:** [December 13, 2009, 7:21am UTC](https://forum.kirupa.com/t/google-analytics-in-actionscript-2-all-flash-website/301648 "2009-12-13T07:21:16Z")

</div>

I created an all flash website coded in AS2 and need to hook up google analytics to it to track individual anchored sections that I have set up in the flash file such as: "#contact" which is an anchor at frame 90. No…

---

## [Singleton - best practices](https://forum.kirupa.com/t/singleton-best-practices/301643)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [December 13, 2009, 2:18am UTC](https://forum.kirupa.com/t/singleton-best-practices/301643 "2009-12-13T02:18:18Z")

</div>

I am creating a video player widget. You can embed as many players on your website as you want. I have a singleton that is generating and monitoring all these video player objects on your site. Is it considered bad p…

---

## [Need a tell layer to hide script](https://forum.kirupa.com/t/need-a-tell-layer-to-hide-script/301642)

<div class="topic-metadata">

**Author:** [@FuglyBastard](https://forum.kirupa.com/u/FuglyBastard)\
**Replies:** 0\
**Last updated:** [December 13, 2009, 1:43am UTC](https://forum.kirupa.com/t/need-a-tell-layer-to-hide-script/301642 "2009-12-13T01:43:34Z")

</div>

Could someone tell me what the script would be to tell a frame to become hidden and visible using AS3.0 Thanks.

---

## [Why wont CSS auto center hack not work?](https://forum.kirupa.com/t/why-wont-css-auto-center-hack-not-work/301640)

<div class="topic-metadata">

**Author:** [@jeffonfire](https://forum.kirupa.com/u/jeffonfire)\
**Replies:** 0\
**Last updated:** [December 12, 2009, 11:33pm UTC](https://forum.kirupa.com/t/why-wont-css-auto-center-hack-not-work/301640 "2009-12-12T23:33:59Z")

</div>

Why wont CSS auto center hack not work? I tried this: wrapper { width: 800px ; margin-left: auto ; margin-right: auto ; } It didn't work, I don't know whats wrong, I have used this before but don't know what the…

---

## [Side scroller jumping](https://forum.kirupa.com/t/side-scroller-jumping/301639)

<div class="topic-metadata">

**Author:** [@mordormaster](https://forum.kirupa.com/u/mordormaster)\
**Replies:** 0\
**Last updated:** [December 12, 2009, 11:04pm UTC](https://forum.kirupa.com/t/side-scroller-jumping/301639 "2009-12-12T23:04:51Z")

</div>

Well ive spend a good day and a half tinkering about with my code and tried creating a side scroller similar to the one from the kirupa tutorial. Well trying to put it into 2.0 didn't work great so i re-wrote it to what …

---

## [Song Loop](https://forum.kirupa.com/t/song-loop/301638)

<div class="topic-metadata">

**Author:** [@King\_Kong](https://forum.kirupa.com/u/King_Kong)\
**Replies:** 0\
**Last updated:** [December 12, 2009, 10:45pm UTC](https://forum.kirupa.com/t/song-loop/301638 "2009-12-12T22:45:36Z")

</div>

In Flash mx, how do you make a song loop, because everytime I make a quiz game and someone restarts the song is played over the other....confusing. Can you please give me the code or a tutorial, to make the song loop. …

---

## [No scrollbar on TextArea component?](https://forum.kirupa.com/t/no-scrollbar-on-textarea-component/301635)

<div class="topic-metadata">

**Author:** [@macloo](https://forum.kirupa.com/u/macloo)\
**Replies:** 0\
**Last updated:** [December 12, 2009, 8:04pm UTC](https://forum.kirupa.com/t/no-scrollbar-on-textarea-component/301635 "2009-12-12T20:04:25Z")

</div>

CS4 and AS3: I dragged the TextArea component onto the Stage, gave it an instance name, and loaded some external text into it. All works fine. But when the text is longer than the box, no scrollbar appears. I can scro…

---

## [Save custom gradient?](https://forum.kirupa.com/t/save-custom-gradient/301633)

<div class="topic-metadata">

**Author:** [@Press\_Tilty](https://forum.kirupa.com/u/Press_Tilty)\
**Replies:** 0\
**Last updated:** [December 12, 2009, 7:39pm UTC](https://forum.kirupa.com/t/save-custom-gradient/301633 "2009-12-12T19:39:52Z")

</div>

I really need to save this gradient, but i don't know how to? Flash CS3

---

## [DataGrid component scrollbar](https://forum.kirupa.com/t/datagrid-component-scrollbar/301631)

<div class="topic-metadata">

**Author:** [@coggia](https://forum.kirupa.com/u/coggia)\
**Replies:** 0\
**Last updated:** [December 12, 2009, 6:22pm UTC](https://forum.kirupa.com/t/datagrid-component-scrollbar/301631 "2009-12-12T18:22:57Z")

</div>

Trouble with my DataGrid component (aDg), i want to tell it to got a fixed height, and then have a scrollbar when the lines into the Datagrid are biger than its height, but with this code, it doesn't work, the grid cont…

---

## [Autostart = false](https://forum.kirupa.com/t/autostart-false/301630)

<div class="topic-metadata">

**Author:** [@Syous](https://forum.kirupa.com/u/Syous)\
**Replies:** 0\
**Last updated:** [December 12, 2009, 6:05pm UTC](https://forum.kirupa.com/t/autostart-false/301630 "2009-12-12T18:05:15Z")

</div>

I have an swf playing an flv, I don't want it to autostart...haven't used flash in a year or so - could use some help here! \<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/D…

---

## [Detecting end of loaded external swf](https://forum.kirupa.com/t/detecting-end-of-loaded-external-swf/301629)

<div class="topic-metadata">

**Author:** [@lesterp99](https://forum.kirupa.com/u/lesterp99)\
**Replies:** 0\
**Last updated:** [December 12, 2009, 5:27pm UTC](https://forum.kirupa.com/t/detecting-end-of-loaded-external-swf/301629 "2009-12-12T17:27:53Z")

</div>

Hi, I have a main swf file that needs to stop, load & play an external swf file the main timeline, & then resume the main timeline when the external swf has finished playing. So I have the follwing code in a frame in t…

---

## [Full screen, fixed aspect ratio, non scrolling background?](https://forum.kirupa.com/t/full-screen-fixed-aspect-ratio-non-scrolling-background/301624)

<div class="topic-metadata">

**Author:** [@Fatbat](https://forum.kirupa.com/u/Fatbat)\
**Replies:** 0\
**Last updated:** [December 12, 2009, 12:29pm UTC](https://forum.kirupa.com/t/full-screen-fixed-aspect-ratio-non-scrolling-background/301624 "2009-12-12T12:29:20Z")

</div>

I am trying to emulate an effect like this site uses... http://www.august.com.au/ and I've basically poached their script, a jQuery initiated 100% width and height background that loads into a couple of holding conta…

---

## [Database structure for "Favorites"](https://forum.kirupa.com/t/database-structure-for-favorites/301622)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [December 12, 2009, 11:20am UTC](https://forum.kirupa.com/t/database-structure-for-favorites/301622 "2009-12-12T11:20:49Z")

</div>

What is the best way to hold a user's "favorites" in the database? Since the user can bookmark more than one item (or company, in my case), there are a few options I have thought about: 1. A "Favorites" field in the …

---

## [Magnatic card reader](https://forum.kirupa.com/t/magnatic-card-reader/301620)

<div class="topic-metadata">

**Author:** [@pavanshinde](https://forum.kirupa.com/u/pavanshinde)\
**Replies:** 0\
**Last updated:** [December 12, 2009, 9:33am UTC](https://forum.kirupa.com/t/magnatic-card-reader/301620 "2009-12-12T09:33:15Z")

</div>

Hi All, Do anyone know how to integrate a magnetic card reader into computer and a flash based application? Please suggest something.

---

## [Need Preloader for multiple swf](https://forum.kirupa.com/t/need-preloader-for-multiple-swf/301619)

<div class="topic-metadata">

**Author:** [@thevibe](https://forum.kirupa.com/u/thevibe)\
**Replies:** 0\
**Last updated:** [December 12, 2009, 8:58am UTC](https://forum.kirupa.com/t/need-preloader-for-multiple-swf/301619 "2009-12-12T08:58:48Z")

</div>

Hi guys, I posted a tread about this yesterday but I think I wasn't clear enough so here's the details of my project. Lets say I have 5 page to load and I want them to load all at the same time. The address (not real) of…

---

## [Reference a the root timeline from loaded swf](https://forum.kirupa.com/t/reference-a-the-root-timeline-from-loaded-swf/301615)

<div class="topic-metadata">

**Author:** [@mikiekwoods](https://forum.kirupa.com/u/mikiekwoods)\
**Replies:** 0\
**Last updated:** [December 12, 2009, 6:15am UTC](https://forum.kirupa.com/t/reference-a-the-root-timeline-from-loaded-swf/301615 "2009-12-12T06:15:58Z")

</div>

I'm sure this is addressed a lot, but I haven't found a usable solution yet. I'm loading a lightbox as an image gallery, but I'm working on changing it to full flash. My site is structured with external swfs. I ran int…

---

## [Falling Snow AS2 - Flash CS4](https://forum.kirupa.com/t/falling-snow-as2-flash-cs4/301614)

<div class="topic-metadata">

**Author:** [@MoLi](https://forum.kirupa.com/u/MoLi)\
**Replies:** 0\
**Last updated:** [December 12, 2009, 5:47am UTC](https://forum.kirupa.com/t/falling-snow-as2-flash-cs4/301614 "2009-12-12T05:47:40Z")

</div>

Hi everyone, I'm new to this forum and ActionScript. I'm trying to recreate falling snow and follow this tutorial (http://www.kirupa.com/developer/mx2004/snow.htm) but as far as I know - one can't have two (2) clip event…

---

## [Why does AS3 not use weak references by default? (in event listeners)](https://forum.kirupa.com/t/why-does-as3-not-use-weak-references-by-default-in-event-listeners/301610)

<div class="topic-metadata">

**Author:** [@rinogo](https://forum.kirupa.com/u/rinogo)\
**Replies:** 0\
**Last updated:** [December 12, 2009, 1:20am UTC](https://forum.kirupa.com/t/why-does-as3-not-use-weak-references-by-default-in-event-listeners/301610 "2009-12-12T01:20:51Z")

</div>

The default value for weakReference in the call to addEventListener() is false. Many memory issues can be resolved by using weakReferences; in fact, some industry experts "strongly recommend always using weak references …

---

## [iPhone SDK on Linux?](https://forum.kirupa.com/t/iphone-sdk-on-linux/301609)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [December 12, 2009, 1:17am UTC](https://forum.kirupa.com/t/iphone-sdk-on-linux/301609 "2009-12-12T01:17:30Z")

</div>

Is there any way to develop iPhone apps while running on the Linux platform?

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

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