# programming

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

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

**Page:** 311

---

## [Catching exceptions in global$init?](https://forum.kirupa.com/t/catching-exceptions-in-global-init/320297)

<div class="topic-metadata">

**Author:** [@DoomGoober](https://forum.kirupa.com/u/DoomGoober)\
**Replies:** 0\
**Last updated:** [March 19, 2011, 5:22pm UTC](https://forum.kirupa.com/t/catching-exceptions-in-global-init/320297 "2011-03-19T17:22:39Z")

</div>

When I load some external SWFs using Loader, they sometimes raise exceptions from global$init. I want to catch these exceptions. I don't have control over these external SWFs and Loader.uncaughtErrorEvents doesn't report…

---

## [Hiding the top menu bar](https://forum.kirupa.com/t/hiding-the-top-menu-bar/320293)

<div class="topic-metadata">

**Author:** [@bigpappi23](https://forum.kirupa.com/u/bigpappi23)\
**Replies:** 0\
**Last updated:** [March 19, 2011, 2:40pm UTC](https://forum.kirupa.com/t/hiding-the-top-menu-bar/320293 "2011-03-19T14:40:16Z")

</div>

Guys....does anyone know how to disable the top menu bar when running a flash program???

---

## [Scoping problelm using slice concatenation?](https://forum.kirupa.com/t/scoping-problelm-using-slice-concatenation/320292)

<div class="topic-metadata">

**Author:** [@kdawg](https://forum.kirupa.com/u/kdawg)\
**Replies:** 0\
**Last updated:** [March 19, 2011, 1:49pm UTC](https://forum.kirupa.com/t/scoping-problelm-using-slice-concatenation/320292 "2011-03-19T13:49:51Z")

</div>

When I trace the variable it comes out fine. But when I try to toggle the visibility with it, it doesn't work. I can toggle visibility when I manually type the path name. What am I missing? Checked for possible spaces to…

---

## [Strange bug with Event.AddedToStage being fired twice](https://forum.kirupa.com/t/strange-bug-with-event-addedtostage-being-fired-twice/320291)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 0\
**Last updated:** [March 19, 2011, 5:45am UTC](https://forum.kirupa.com/t/strange-bug-with-event-addedtostage-being-fired-twice/320291 "2011-03-19T05:45:37Z")

</div>

I've just been working on a splash page/main menu for my game, and when tracing a value in the function fired when added to stage, I noticed it was tracing twice. After a process of elimination I found it was caused by…

---

## [Preloader from document class](https://forum.kirupa.com/t/preloader-from-document-class/320288)

<div class="topic-metadata">

**Author:** [@renton79](https://forum.kirupa.com/u/renton79)\
**Replies:** 0\
**Last updated:** [March 19, 2011, 4:40am UTC](https://forum.kirupa.com/t/preloader-from-document-class/320288 "2011-03-19T04:40:26Z")

</div>

I know this subject has been on forums more than anything else but I can't find solution for my problem. I have SWF file which loads list of images from XML file, then it launches couple instances of loader class to load…

---

## [Text Layout Framework](https://forum.kirupa.com/t/text-layout-framework/320287)

<div class="topic-metadata">

**Author:** [@kleelof](https://forum.kirupa.com/u/kleelof)\
**Replies:** 0\
**Last updated:** [March 19, 2011, 3:39am UTC](https://forum.kirupa.com/t/text-layout-framework/320287 "2011-03-19T03:39:32Z")

</div>

Hello, I'm having a problem figuring out how to get TLF to autsize. Before, I would use flash.text.TextField, set it's width and autosize, and give it some text. Afterwards, I was able to get the height of the te…

---

## [SWF wont play in Windows Explorer](https://forum.kirupa.com/t/swf-wont-play-in-windows-explorer/320281)

<div class="topic-metadata">

**Author:** [@COLT](https://forum.kirupa.com/u/COLT)\
**Replies:** 0\
**Last updated:** [March 19, 2011, 12:11am UTC](https://forum.kirupa.com/t/swf-wont-play-in-windows-explorer/320281 "2011-03-19T00:11:55Z")

</div>

Anyone had/have any experience with the following issue. I have been a flash programmer for years, but have only recently moved from AS2 to AS3. (Been holding off since until recently my major client only wanted AS2 game…

---

## [Possible to make objects fade away using AS?](https://forum.kirupa.com/t/possible-to-make-objects-fade-away-using-as/320280)

<div class="topic-metadata">

**Author:** [@citydreamer](https://forum.kirupa.com/u/citydreamer)\
**Replies:** 0\
**Last updated:** [March 18, 2011, 10:21pm UTC](https://forum.kirupa.com/t/possible-to-make-objects-fade-away-using-as/320280 "2011-03-18T22:21:26Z")

</div>

Hello, If you go here: http://phayzed.com/idfw and click the first movie, it calls in an external swf. A dark gray overlay appears, and the text and buttons fade away. I did this using a pretty newb method: by simpl…

---

## [Change Scrollbar Position In Scrollpane](https://forum.kirupa.com/t/change-scrollbar-position-in-scrollpane/320278)

<div class="topic-metadata">

**Author:** [@smm08](https://forum.kirupa.com/u/smm08)\
**Replies:** 0\
**Last updated:** [March 18, 2011, 10:04pm UTC](https://forum.kirupa.com/t/change-scrollbar-position-in-scrollpane/320278 "2011-03-18T22:04:35Z")

</div>

Hi. Very easy and straightforward however I have not manged to find a solution online: Using a scrollpane component in as3. I am using a horizontal scroller. By default, the scrollbar is located at the bottom of the scro…

---

## [Changing Opacity of multiple images with one click](https://forum.kirupa.com/t/changing-opacity-of-multiple-images-with-one-click/320277)

<div class="topic-metadata">

**Author:** [@lletdownl](https://forum.kirupa.com/u/lletdownl)\
**Replies:** 0\
**Last updated:** [March 18, 2011, 9:07pm UTC](https://forum.kirupa.com/t/changing-opacity-of-multiple-images-with-one-click/320277 "2011-03-18T21:07:24Z")

</div>

Hi everyone, Ive posted on the flash forum before but this is my first time looking for HTML help. Im creating an html site to complement a flash site which already exists. Check it out here, HERE What i would like …

---

## [Convert quicktime mp3 player to flash?](https://forum.kirupa.com/t/convert-quicktime-mp3-player-to-flash/320276)

<div class="topic-metadata">

**Author:** [@uktab](https://forum.kirupa.com/u/uktab)\
**Replies:** 0\
**Last updated:** [March 18, 2011, 8:48pm UTC](https://forum.kirupa.com/t/convert-quicktime-mp3-player-to-flash/320276 "2011-03-18T20:48:04Z")

</div>

My first post! I want to convert my site's embedded quicktime mp3 player into a flash player, and it should be really easy. The problem is that the site uses a variable $imgname12 which refers to the currently-chosen …

---

## [Writing from Flash AS3 to PHP and then to mySQL](https://forum.kirupa.com/t/writing-from-flash-as3-to-php-and-then-to-mysql/320274)

<div class="topic-metadata">

**Author:** [@Arjin](https://forum.kirupa.com/u/Arjin)\
**Replies:** 0\
**Last updated:** [March 18, 2011, 7:55pm UTC](https://forum.kirupa.com/t/writing-from-flash-as3-to-php-and-then-to-mysql/320274 "2011-03-18T19:55:46Z")

</div>

Hello everyone, So I finally managed to fix some stuff regarding Databases and writing to .txt files in AS3. There's one small problem left, though. I am now trying to write data from AS3 to a PHP, that transfers it …

---

## [Button BOONdoggle](https://forum.kirupa.com/t/button-boondoggle/320272)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [March 18, 2011, 6:58pm UTC](https://forum.kirupa.com/t/button-boondoggle/320272 "2011-03-18T18:58:49Z")

</div>

i move the dock button to the base that the player can dock at currently and it works but i get a border at first (see below) \[image\] then when i click it it goes away like this \[image\] how can i fix this? (btw in t…

---

## [Problem with gotoAndPlay](https://forum.kirupa.com/t/problem-with-gotoandplay/320271)

<div class="topic-metadata">

**Author:** [@carface100](https://forum.kirupa.com/u/carface100)\
**Replies:** 0\
**Last updated:** [March 18, 2011, 6:22pm UTC](https://forum.kirupa.com/t/problem-with-gotoandplay/320271 "2011-03-18T18:22:39Z")

</div>

Im getting a 'TypeError: Error #1009: Cannot access a property or method of a null object reference' when I try to gotoAndPlay(15) after I swap over two mcs in my .fla file. It can start playing frame 15 fine if there is…

---

## [Timeline animation, TypeError: Error #1009](https://forum.kirupa.com/t/timeline-animation-typeerror-error-1009/320267)

<div class="topic-metadata">

**Author:** [@seasonss](https://forum.kirupa.com/u/seasonss)\
**Replies:** 0\
**Last updated:** [March 18, 2011, 4:50pm UTC](https://forum.kirupa.com/t/timeline-animation-typeerror-error-1009/320267 "2011-03-18T16:50:05Z")

</div>

I am doing a simple timeline set here, each frame has a movieclip and inside the movieclip is a button called next\_btn, which will take it to the next frame. Each frame is labelled. stop(); /\* ------------------ S…

---

## [Clickable text in textarea possible?](https://forum.kirupa.com/t/clickable-text-in-textarea-possible/320265)

<div class="topic-metadata">

**Author:** [@simranzenov](https://forum.kirupa.com/u/simranzenov)\
**Replies:** 0\
**Last updated:** [March 18, 2011, 2:11pm UTC](https://forum.kirupa.com/t/clickable-text-in-textarea-possible/320265 "2011-03-18T14:11:08Z")

</div>

I want to add an event listener to each word inside the textarea. Is this possible? I have a function that shows a list of inventory items in a game I'm making. I put the list inside a textarea so that I can scroll thr…

---

## [Flash and Motion](https://forum.kirupa.com/t/flash-and-motion/320264)

<div class="topic-metadata">

**Author:** [@bhm123](https://forum.kirupa.com/u/bhm123)\
**Replies:** 0\
**Last updated:** [March 18, 2011, 1:03pm UTC](https://forum.kirupa.com/t/flash-and-motion/320264 "2011-03-18T13:03:38Z")

</div>

Hello, I was wondering if there is a way to create my flash intro in Apple Motion, and export it in a format similar to a swf file. I know that there is a way to use after effects with Flash but wasn't sure about Motion.…

---

## [1120 error with multiple variables](https://forum.kirupa.com/t/1120-error-with-multiple-variables/320263)

<div class="topic-metadata">

**Author:** [@chilldog](https://forum.kirupa.com/u/chilldog)\
**Replies:** 0\
**Last updated:** [March 18, 2011, 12:11pm UTC](https://forum.kirupa.com/t/1120-error-with-multiple-variables/320263 "2011-03-18T12:11:08Z")

</div>

Hello - I am getting multiple "access of undefined property" (1120) errors. The code that throws the error is inside a class. From the main timeline, I'm calling a function from within that class (it's a static function)…

---

## [FMX04 Need help with product list](https://forum.kirupa.com/t/fmx04-need-help-with-product-list/320262)

<div class="topic-metadata">

**Author:** [@bjh](https://forum.kirupa.com/u/bjh)\
**Replies:** 0\
**Last updated:** [March 18, 2011, 10:42am UTC](https://forum.kirupa.com/t/fmx04-need-help-with-product-list/320262 "2011-03-18T10:42:13Z")

</div>

Hi I am working on a project where the user can add items to a "board". What I need is to generate a list at the side of the "board" with the names of the products selected (there could be multiple inctances of the sam…

---

## [Round-robin DNS load balancing + Flash Player = Security violation?](https://forum.kirupa.com/t/round-robin-dns-load-balancing-flash-player-security-violation/320259)

<div class="topic-metadata">

**Author:** [@Tally\_Ho](https://forum.kirupa.com/u/Tally_Ho)\
**Replies:** 0\
**Last updated:** [March 18, 2011, 9:46am UTC](https://forum.kirupa.com/t/round-robin-dns-load-balancing-flash-player-security-violation/320259 "2011-03-18T09:46:41Z")

</div>

Hi everybody, I have some Flash application that loads data (external images, SWFs, XMLs) from the same domain. And it was fine until client decided to add load balancers for server. Now we have a number of complaints f…

---

## [Problem with text](https://forum.kirupa.com/t/problem-with-text/320257)

<div class="topic-metadata">

**Author:** [@Katumi](https://forum.kirupa.com/u/Katumi)\
**Replies:** 0\
**Last updated:** [March 18, 2011, 7:05am UTC](https://forum.kirupa.com/t/problem-with-text/320257 "2011-03-18T07:05:29Z")

</div>

I learned about the date class yasterday and made a lil app that will tell me when the next recess at school will be \[smile\] It worked great when i ran it at home, but now when i try to run it at school all the letters…

---

## [Image Loading: WTF?](https://forum.kirupa.com/t/image-loading-wtf/320253)

<div class="topic-metadata">

**Author:** [@Oboe\_Passion](https://forum.kirupa.com/u/Oboe_Passion)\
**Replies:** 0\
**Last updated:** [March 18, 2011, 5:50am UTC](https://forum.kirupa.com/t/image-loading-wtf/320253 "2011-03-18T05:50:02Z")

</div>

Never mind.

---

## [Please need help with movieclip scaling proportionally!](https://forum.kirupa.com/t/please-need-help-with-movieclip-scaling-proportionally/320251)

<div class="topic-metadata">

**Author:** [@izzo101](https://forum.kirupa.com/u/izzo101)\
**Replies:** 0\
**Last updated:** [March 18, 2011, 5:14am UTC](https://forum.kirupa.com/t/please-need-help-with-movieclip-scaling-proportionally/320251 "2011-03-18T05:14:45Z")

</div>

I have an flv loaded externally. I've added it to a movieclip and want it to fill the stage as my background and scale proportionally. The proportions work fine and the movie seems to scale fine. My problem is the movie …

---

## [Molehill: VertexBuffer3D's vector from copyPixels](https://forum.kirupa.com/t/molehill-vertexbuffer3ds-vector-from-copypixels/320248)

<div class="topic-metadata">

**Author:** [@jwopitz](https://forum.kirupa.com/u/jwopitz)\
**Replies:** 0\
**Last updated:** [March 18, 2011, 4:01am UTC](https://forum.kirupa.com/t/molehill-vertexbuffer3ds-vector-from-copypixels/320248 "2011-03-18T04:01:24Z")

</div>

Firstly... could we maybe get a thread prefix for molehill / GPU / 3D related threads? Ok so I am working on my own Molehill 2D painting classes. I took a look at Ely Greenfield's M2D stuff but I found it a tad overki…

---

## [Load corrupt image problem!](https://forum.kirupa.com/t/load-corrupt-image-problem/320246)

<div class="topic-metadata">

**Author:** [@pridon85](https://forum.kirupa.com/u/pridon85)\
**Replies:** 0\
**Last updated:** [March 18, 2011, 2:35am UTC](https://forum.kirupa.com/t/load-corrupt-image-problem/320246 "2011-03-18T02:35:49Z")

</div>

Hi everyone! I'm trying to load an image from my HDD, using Loader. The code is something like this: var loader:Loader = new Loader(); loader.contentLoaderInfo.removeEventListener(Event.INIT,initHandler); loader…

---

## [Users IP Addresses](https://forum.kirupa.com/t/users-ip-addresses/320245)

<div class="topic-metadata">

**Author:** [@dreamerp](https://forum.kirupa.com/u/dreamerp)\
**Replies:** 0\
**Last updated:** [March 18, 2011, 1:48am UTC](https://forum.kirupa.com/t/users-ip-addresses/320245 "2011-03-18T01:48:55Z")

</div>

Hey, I am working on a user login where I do not want more than one user logged in (from different computers). The thing is, there are so many opportunities for an IP address to not be retrieved by PHP or the user co…

---

## [How do I trigger a function?](https://forum.kirupa.com/t/how-do-i-trigger-a-function/320242)

<div class="topic-metadata">

**Author:** [@RichGags](https://forum.kirupa.com/u/RichGags)\
**Replies:** 0\
**Last updated:** [March 17, 2011, 11:41pm UTC](https://forum.kirupa.com/t/how-do-i-trigger-a-function/320242 "2011-03-17T23:41:51Z")

</div>

I am totally new to AS3. I downloaded a template that is written in AS3 and I am trying to understand the source and make a few changes. Basically, I would like to trigger a function that is normally triggered by a bu…

---

## [Audio Delay without netstream?](https://forum.kirupa.com/t/audio-delay-without-netstream/320241)

<div class="topic-metadata">

**Author:** [@pontus](https://forum.kirupa.com/u/pontus)\
**Replies:** 0\
**Last updated:** [March 17, 2011, 8:20pm UTC](https://forum.kirupa.com/t/audio-delay-without-netstream/320241 "2011-03-17T20:20:38Z")

</div>

Hi! I am new to this forum, so let me begin by describing the back story to my problem. I have been working on a voice-chat system in AS 2.0 using FMS 3.5 for a while now. I have been experiencing a lot of latency. Us…

---

## [Application to calculate chances of winning the lottery](https://forum.kirupa.com/t/application-to-calculate-chances-of-winning-the-lottery/320240)

<div class="topic-metadata">

**Author:** [@superkazza](https://forum.kirupa.com/u/superkazza)\
**Replies:** 0\
**Last updated:** [March 17, 2011, 7:01pm UTC](https://forum.kirupa.com/t/application-to-calculate-chances-of-winning-the-lottery/320240 "2011-03-17T19:01:13Z")

</div>

I need to make an application to calculate your chances of winning the lottery i want to use input textfields. The actual application will ask you: Highest choosable number Lowest chooseable number how many numbers …

---

## [Dynamically set DataGrid row colors individually](https://forum.kirupa.com/t/dynamically-set-datagrid-row-colors-individually/320239)

<div class="topic-metadata">

**Author:** [@sufire](https://forum.kirupa.com/u/sufire)\
**Replies:** 0\
**Last updated:** [March 17, 2011, 6:35pm UTC](https://forum.kirupa.com/t/dynamically-set-datagrid-row-colors-individually/320239 "2011-03-17T18:35:59Z")

</div>

I have a datagrid. It is populated dynamically by an XML file. I need to be able to set each row's text color seperately. For example, if my variable "type" is "urgent", it would be a red text color. I've spent almost …

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

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