# programming

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

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

**Page:** 268

---

## [HTMLLoader + VirtualMouse](https://forum.kirupa.com/t/htmlloader-virtualmouse/322863)

<div class="topic-metadata">

**Author:** [@Admix](https://forum.kirupa.com/u/Admix)\
**Replies:** 0\
**Last updated:** [June 6, 2011, 7:15pm UTC](https://forum.kirupa.com/t/htmlloader-virtualmouse/322863 "2011-06-06T19:15:14Z")

</div>

Hi, It is possible to create a "virtual mouse" which will be click on links on the HTML page loaded into HTMLLoader ? I tried to do this using the class http://www.senocular.com/demo/VirtualMouse/VirtualMouse.htm…

---

## [What is the standard way to instantiate a Java Bean?](https://forum.kirupa.com/t/what-is-the-standard-way-to-instantiate-a-java-bean/322861)

<div class="topic-metadata">

**Author:** [@jhoncom](https://forum.kirupa.com/u/jhoncom)\
**Replies:** 0\
**Last updated:** [June 6, 2011, 6:29pm UTC](https://forum.kirupa.com/t/what-is-the-standard-way-to-instantiate-a-java-bean/322861 "2011-06-06T18:29:46Z")

</div>

We can treat a Java Bean as a common Java object, and instantiate it by Java key word - new. But Java Bean is different from common Java object. So what is the standard way to instantiate a Java Bean? ottawa sear…

---

## [Detecting percentage of BitmapData that is transparent](https://forum.kirupa.com/t/detecting-percentage-of-bitmapdata-that-is-transparent/322856)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [June 6, 2011, 12:12pm UTC](https://forum.kirupa.com/t/detecting-percentage-of-bitmapdata-that-is-transparent/322856 "2011-06-06T12:12:01Z")

</div>

Say you have an image like this: \[image\] Is there any way of checking what percentage of the BitmapData is filled, and what percentage is transparent? You could easily brute-force it by looping through each pixel and…

---

## [Hidden object game](https://forum.kirupa.com/t/hidden-object-game/322855)

<div class="topic-metadata">

**Author:** [@gopik3](https://forum.kirupa.com/u/gopik3)\
**Replies:** 0\
**Last updated:** [June 6, 2011, 11:26am UTC](https://forum.kirupa.com/t/hidden-object-game/322855 "2011-06-06T11:26:23Z")

</div>

Any one help to guide line for Creating hidden object game in flash using action script 2.0

---

## [Detect wifi modem through C++](https://forum.kirupa.com/t/detect-wifi-modem-through-c/322852)

<div class="topic-metadata">

**Author:** [@divineelite](https://forum.kirupa.com/u/divineelite)\
**Replies:** 0\
**Last updated:** [June 6, 2011, 7:55am UTC](https://forum.kirupa.com/t/detect-wifi-modem-through-c/322852 "2011-06-06T07:55:04Z")

</div>

How to detect which wifi modem is currently connected through code? Specifically using PSDK. Like I am using currently a TP-LINK one TL-WN321G and also a EnGenius one EUB-3701 and also a Cisco one WUSB54GC ver. 3. Is the…

---

## [How to create preloader with multiple files](https://forum.kirupa.com/t/how-to-create-preloader-with-multiple-files/322851)

<div class="topic-metadata">

**Author:** [@lil](https://forum.kirupa.com/u/lil)\
**Replies:** 0\
**Last updated:** [June 6, 2011, 7:46am UTC](https://forum.kirupa.com/t/how-to-create-preloader-with-multiple-files/322851 "2011-06-06T07:46:36Z")

</div>

Hi I'm wanting to know if its possible to create a preloader that launches two external files?

---

## [Error #1009: Driving me crazy](https://forum.kirupa.com/t/error-1009-driving-me-crazy/322849)

<div class="topic-metadata">

**Author:** [@TehWut](https://forum.kirupa.com/u/TehWut)\
**Replies:** 0\
**Last updated:** [June 6, 2011, 2:34am UTC](https://forum.kirupa.com/t/error-1009-driving-me-crazy/322849 "2011-06-06T02:34:25Z")

</div>

It's me again, my game is giving me some problems. Basically, I moved all the "game code" into a MovieClip called "PlayScreen" (previously "FightingGame"). Then I created a new DocumentClass file and set it as the Docume…

---

## [Sending variables when movieclip is clicked](https://forum.kirupa.com/t/sending-variables-when-movieclip-is-clicked/322847)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [June 5, 2011, 9:34pm UTC](https://forum.kirupa.com/t/sending-variables-when-movieclip-is-clicked/322847 "2011-06-05T21:34:04Z")

</div>

I´m trying to send variables when a movieclip is clicked and use some frames later. function langFr(e:MouseEvent):void{ var language = "fr"; play(); } When the button is clicked, the movie plays until frame 10, w…

---

## [Global Event for when Flash Player 10+ generates off a url request to browser?](https://forum.kirupa.com/t/global-event-for-when-flash-player-10-generates-off-a-url-request-to-browser/322846)

<div class="topic-metadata">

**Author:** [@eestes1](https://forum.kirupa.com/u/eestes1)\
**Replies:** 0\
**Last updated:** [June 5, 2011, 7:56pm UTC](https://forum.kirupa.com/t/global-event-for-when-flash-player-10-generates-off-a-url-request-to-browser/322846 "2011-06-05T19:56:04Z")

</div>

Okay so I have a swf application consuming legacy html text. I want to be able to capture the fact that the flash player requested/passed off a new url request to the containing browser. So far I only find support for…

---

## [User to complete Zip Code and flash return city name (XML)](https://forum.kirupa.com/t/user-to-complete-zip-code-and-flash-return-city-name-xml/322845)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [June 5, 2011, 7:13pm UTC](https://forum.kirupa.com/t/user-to-complete-zip-code-and-flash-return-city-name-xml/322845 "2011-06-05T19:13:37Z")

</div>

I have a list of zip codes and city names that correspond to each zipcode. What I need: To create a XML file, and make flash to read it and return the city names. It will be in a form, with 2 inputs: user inputs the …

---

## [\[AS3\] Isometric hit test/movie clip detection?](https://forum.kirupa.com/t/as3-isometric-hit-test-movie-clip-detection/322842)

<div class="topic-metadata">

**Author:** [@Kodiyeh](https://forum.kirupa.com/u/Kodiyeh)\
**Replies:** 0\
**Last updated:** [June 5, 2011, 2:09pm UTC](https://forum.kirupa.com/t/as3-isometric-hit-test-movie-clip-detection/322842 "2011-06-05T14:09:07Z")

</div>

Greetings, I've been reading up on some tutorials on as3isolib and fiddling around with rendering isometric terrain. What I have so far is a button that randomly generates one of two types of tiles across a grid, and a…

---

## [Populate Flash Dynamic Text Fields From PHP server](https://forum.kirupa.com/t/populate-flash-dynamic-text-fields-from-php-server/322840)

<div class="topic-metadata">

**Author:** [@TheWayWeWere](https://forum.kirupa.com/u/TheWayWeWere)\
**Replies:** 0\
**Last updated:** [June 5, 2011, 1:30pm UTC](https://forum.kirupa.com/t/populate-flash-dynamic-text-fields-from-php-server/322840 "2011-06-05T13:30:21Z")

</div>

\[COLOR=black\] \[FONT=Calibri\]I need help with the PHP script that will populate my flash fields.\[/FONT\] \[/COLOR\] \[COLOR=black\]\[/COLOR\] \[COLOR=black\] \[FONT=Calibri\]I connect to the database okay. I am having a prob…

---

## [\[AS3\] Tween stops working after ~1min, 37secs](https://forum.kirupa.com/t/as3-tween-stops-working-after-1min-37secs/322839)

<div class="topic-metadata">

**Author:** [@meetspin](https://forum.kirupa.com/u/meetspin)\
**Replies:** 0\
**Last updated:** [June 5, 2011, 1:08pm UTC](https://forum.kirupa.com/t/as3-tween-stops-working-after-1min-37secs/322839 "2011-06-05T13:08:16Z")

</div>

Hi guys, I would greatly appreciate your help! I'm creating 18 enemies (simple circle sprites) using a for loop, Then (using Math.random), I'm selecting 1 enemy at random and making it travel down the screen, Once it…

---

## [Easy code to frame problem](https://forum.kirupa.com/t/easy-code-to-frame-problem/322837)

<div class="topic-metadata">

**Author:** [@superkazza](https://forum.kirupa.com/u/superkazza)\
**Replies:** 0\
**Last updated:** [June 5, 2011, 11:03am UTC](https://forum.kirupa.com/t/easy-code-to-frame-problem/322837 "2011-06-05T11:03:29Z")

</div>

well i have some multiple choice questions on frame 7 then it continues onto frame 8 and on there i have a dynamic text field which shows how much you have scored. the problem is .on frame 8 i have all the code which giv…

---

## [Returning values from an event listener within a class](https://forum.kirupa.com/t/returning-values-from-an-event-listener-within-a-class/322835)

<div class="topic-metadata">

**Author:** [@samjenkins](https://forum.kirupa.com/u/samjenkins)\
**Replies:** 0\
**Last updated:** [June 5, 2011, 10:41am UTC](https://forum.kirupa.com/t/returning-values-from-an-event-listener-within-a-class/322835 "2011-06-05T10:41:15Z")

</div>

Hi all, I am developing in Flash Builder 4.5 using as3. I have created a class to connect, write and read to a TCP Socket using 'import flash.net.Socket;' Within this class is an event listener which reads the inco…

---

## [PHP to send output to flash dynamic text fields](https://forum.kirupa.com/t/php-to-send-output-to-flash-dynamic-text-fields/322833)

<div class="topic-metadata">

**Author:** [@TheWayWeWere](https://forum.kirupa.com/u/TheWayWeWere)\
**Replies:** 0\
**Last updated:** [June 5, 2011, 4:22am UTC](https://forum.kirupa.com/t/php-to-send-output-to-flash-dynamic-text-fields/322833 "2011-06-05T04:22:22Z")

</div>

\[COLOR=black\] \[FONT=Calibri\]Hello,\[/FONT\] \[/COLOR\] \[COLOR=black\]\[FONT=Calibri\] I need help populating my flash form with data from mySQL via PHP. \[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Calibri\] \[/FONT\]\[/COLOR\] \[…

---

## [How to use position: absolute](https://forum.kirupa.com/t/how-to-use-position-absolute/322831)

<div class="topic-metadata">

**Author:** [@peterben](https://forum.kirupa.com/u/peterben)\
**Replies:** 0\
**Last updated:** [June 5, 2011, 3:50am UTC](https://forum.kirupa.com/t/how-to-use-position-absolute/322831 "2011-06-05T03:50:22Z")

</div>

Do you know how to use this attribute ? Very simple, you just make it part of a Tag with relative attribute EX: \<div class="contain"\> \<span\>Absolute Content\</span\> \</div\> "contain" will have css code .contain{ position…

---

## [AS3 button MC inside container does not work](https://forum.kirupa.com/t/as3-button-mc-inside-container-does-not-work/322830)

<div class="topic-metadata">

**Author:** [@RubenDoliveira](https://forum.kirupa.com/u/RubenDoliveira)\
**Replies:** 0\
**Last updated:** [June 5, 2011, 3:07am UTC](https://forum.kirupa.com/t/as3-button-mc-inside-container-does-not-work/322830 "2011-06-05T03:07:38Z")

</div>

Hi everyone, I've added a sprite container like this: var container:Sprite = new Sprite; addChild(container); I then have a movieclip inside "container" which I declared as a button: container.addChild(mc); mc…

---

## [Beginning with away3d](https://forum.kirupa.com/t/beginning-with-away3d/322828)

<div class="topic-metadata">

**Author:** [@LOLFlash](https://forum.kirupa.com/u/LOLFlash)\
**Replies:** 0\
**Last updated:** [June 4, 2011, 10:15pm UTC](https://forum.kirupa.com/t/beginning-with-away3d/322828 "2011-06-04T22:15:27Z")

</div>

Hi I need to import 3DS model into flash and hilite some arias on this model. I'm good in as3 but just started with Away3D. Any hints appreciate: how to pull objects form imported 3D model and sort it out in arrays by…

---

## [Flash CS5 - Air Debug Launcher issue](https://forum.kirupa.com/t/flash-cs5-air-debug-launcher-issue/322825)

<div class="topic-metadata">

**Author:** [@Captain\_Planet](https://forum.kirupa.com/u/Captain_Planet)\
**Replies:** 0\
**Last updated:** [June 4, 2011, 4:35pm UTC](https://forum.kirupa.com/t/flash-cs5-air-debug-launcher-issue/322825 "2011-06-04T16:35:20Z")

</div>

Hi folks. I've suddenly started having issues whereby when I create an Adobe AIR 2 file, and click Control \> Test Movie \> In AIR Debug Launcher there is no window/preview which gets launched? Nothing appears to be hap…

---

## [Write Protection on Photoshop CS5](https://forum.kirupa.com/t/write-protection-on-photoshop-cs5/322821)

<div class="topic-metadata">

**Author:** [@paulsumner](https://forum.kirupa.com/u/paulsumner)\
**Replies:** 0\
**Last updated:** [June 4, 2011, 12:07pm UTC](https://forum.kirupa.com/t/write-protection-on-photoshop-cs5/322821 "2011-06-04T12:07:10Z")

</div>

Hi - just learning the use of CS5 with a new Mac Book Pro. Great until I try to save any modified or i=even unmodified photos and I get this message Could not save as “A break in the music.jpg” because write access was…

---

## [\[Emergency\] export for actionscript problem](https://forum.kirupa.com/t/emergency-export-for-actionscript-problem/322816)

<div class="topic-metadata">

**Author:** [@xiong1990](https://forum.kirupa.com/u/xiong1990)\
**Replies:** 0\
**Last updated:** [June 4, 2011, 8:48am UTC](https://forum.kirupa.com/t/emergency-export-for-actionscript-problem/322816 "2011-06-04T08:48:53Z")

</div>

Please whoever have any idea what's problem with my project, post reply ASAP, i got my dead line soon.:hang: so there's 1 movieClip which's i need to export for actionscript and then call it and addChild. But then it…

---

## [Button AS2](https://forum.kirupa.com/t/button-as2/322812)

<div class="topic-metadata">

**Author:** [@mysticlife](https://forum.kirupa.com/u/mysticlife)\
**Replies:** 0\
**Last updated:** [June 4, 2011, 4:40am UTC](https://forum.kirupa.com/t/button-as2/322812 "2011-06-04T04:40:17Z")

</div>

I have posted this question earlier, but I don't seem to understand the variables. How to use them or were to put them. I'm wondering if there is a way to do it like this: I have done a fade in and fade out for each fr…

---

## [ONCLICK event for a submit button](https://forum.kirupa.com/t/onclick-event-for-a-submit-button/322809)

<div class="topic-metadata">

**Author:** [@bjgonce90295](https://forum.kirupa.com/u/bjgonce90295)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 8:57pm UTC](https://forum.kirupa.com/t/onclick-event-for-a-submit-button/322809 "2011-06-03T20:57:43Z")

</div>

Hi everybody.I'm trying to use an Onclick in a form on a submit button but it isn't working.don't know what I'm doing wrong.please help.also need help on this form for a formhandler in php.thanks.Jeanne

---

## [Pendulum Game Unidentified Error Problem - HELP PLEASE!](https://forum.kirupa.com/t/pendulum-game-unidentified-error-problem-help-please/322808)

<div class="topic-metadata">

**Author:** [@ScarProductions](https://forum.kirupa.com/u/ScarProductions)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 8:50pm UTC](https://forum.kirupa.com/t/pendulum-game-unidentified-error-problem-help-please/322808 "2011-06-03T20:50:25Z")

</div>

Hi, I am trying to create a second level to my pendulum game. The idea is the ball moves left or right using arrow keys, and gets score. timed 1 minute, and if it hits the pendulum it loses. if it survives the first 6…

---

## [How to load other movie clip depending on what you click](https://forum.kirupa.com/t/how-to-load-other-movie-clip-depending-on-what-you-click/322806)

<div class="topic-metadata">

**Author:** [@flasher333](https://forum.kirupa.com/u/flasher333)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 7:15pm UTC](https://forum.kirupa.com/t/how-to-load-other-movie-clip-depending-on-what-you-click/322806 "2011-06-03T19:15:08Z")

</div>

Hi all, I'm struggling to get this working. At the moment the AS opens a fullProjectPanel when I click on one of the ProjectPanels. However, when I click on another ProjectPanel, the script just drags the same fullProj…

---

## [I'm new and lost please help](https://forum.kirupa.com/t/im-new-and-lost-please-help/322805)

<div class="topic-metadata">

**Author:** [@jermo](https://forum.kirupa.com/u/jermo)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 7:08pm UTC](https://forum.kirupa.com/t/im-new-and-lost-please-help/322805 "2011-06-03T19:08:05Z")

</div>

I'm new to publishing, and developing for web in flash. The only thing I'm sure of is that I have a host, a domain name and a basic flash site, published. Other than that I'm lost, it seems I've been lost in circles b/n …

---

## [Get the frame label of a specific frame?](https://forum.kirupa.com/t/get-the-frame-label-of-a-specific-frame/322803)

<div class="topic-metadata">

**Author:** [@Donutfiend84](https://forum.kirupa.com/u/Donutfiend84)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 4:59pm UTC](https://forum.kirupa.com/t/get-the-frame-label-of-a-specific-frame/322803 "2011-06-03T16:59:57Z")

</div>

Is there a way to get the frame label on a specific frame, without it being the current frame? I've tried accessing it through: this.scenes\[0\].labels but it doesn't allow me to check a specific point on the timeline.…

---

## [1009: when referencing stage.stagewidth from the child](https://forum.kirupa.com/t/1009-when-referencing-stage-stagewidth-from-the-child/322801)

<div class="topic-metadata">

**Author:** [@mikaelf](https://forum.kirupa.com/u/mikaelf)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 3:40pm UTC](https://forum.kirupa.com/t/1009-when-referencing-stage-stagewidth-from-the-child/322801 "2011-06-03T15:40:42Z")

</div>

\[FONT=monospace\]Hi, I was hoping you could help me out my hair is getting grey. I have a main.swf and a slider.swf. I load the slider.swf into main.swf. In my slider.swf I have this code which adds an image to the st…

---

## [Url for txt file in dynamic text field?](https://forum.kirupa.com/t/url-for-txt-file-in-dynamic-text-field/322800)

<div class="topic-metadata">

**Author:** [@matej](https://forum.kirupa.com/u/matej)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 3:23pm UTC](https://forum.kirupa.com/t/url-for-txt-file-in-dynamic-text-field/322800 "2011-06-03T15:23:56Z")

</div>

Hi, I have a problem with a dynamic text field, which displays a txt file. If I hardcode the file name in the code, then it works fine. This is on the first frame of my movie, which holds the dynamic text field. myD…

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

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