# programming

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

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

**Page:** 1093

---

## [Superclasses?](https://forum.kirupa.com/t/superclasses/269893)

<div class="topic-metadata">

**Author:** [@DesignerMichael](https://forum.kirupa.com/u/DesignerMichael)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 8:14pm UTC](https://forum.kirupa.com/t/superclasses/269893 "2008-09-02T20:14:01Z")

</div>

How do you assign one class to multiple library movieclips? Eg, each animal in my game has the same animation sequences... And, copy-pasting the entire class into a new .as for each movieclip would be kinda messy... Do…

---

## [Remove movieClip dynamically](https://forum.kirupa.com/t/remove-movieclip-dynamically/269891)

<div class="topic-metadata">

**Author:** [@pixel\_chick](https://forum.kirupa.com/u/pixel_chick)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 7:42pm UTC](https://forum.kirupa.com/t/remove-movieclip-dynamically/269891 "2008-09-02T19:42:26Z")

</div>

I have a map that I created to display some results of a small town election. There is a statsBox movieClip that pops up on mouseOver on each county that displays the results pulled from an XML file. The statsBox is on t…

---

## [Loaded HTML image layout](https://forum.kirupa.com/t/loaded-html-image-layout/269889)

<div class="topic-metadata">

**Author:** [@tabbycat](https://forum.kirupa.com/u/tabbycat)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 7:24pm UTC](https://forum.kirupa.com/t/loaded-html-image-layout/269889 "2008-09-02T19:24:38Z")

</div>

I am loading an html file into a textfield. The textfield is set to accept html and is wrapped and multiline. The html file contains consectutive image tags which cause the images to be displayed on top of each other. …

---

## [hitTest and attachMovie](https://forum.kirupa.com/t/hittest-and-attachmovie/269887)

<div class="topic-metadata">

**Author:** [@leetleet](https://forum.kirupa.com/u/leetleet)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 7:13pm UTC](https://forum.kirupa.com/t/hittest-and-attachmovie/269887 "2008-09-02T19:13:58Z")

</div>

Ok so basically I got mobs spawning at intervals, using attachMovie(), name them mob1,mob2,mob3,etc. They run upward onEnterFrame towards some police dudes also spawned using attachMovie(), named police1,police2,etc. Now…

---

## [Targeting MovieClips](https://forum.kirupa.com/t/targeting-movieclips/269885)

<div class="topic-metadata">

**Author:** [@rodlab2x](https://forum.kirupa.com/u/rodlab2x)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 7:06pm UTC](https://forum.kirupa.com/t/targeting-movieclips/269885 "2008-09-02T19:06:45Z")

</div>

How do you target movieclips in parent timeline. For example this was in as2 .\_parent.digit2.gotoAndStop(2); or parent.parent.glow.play();

---

## [Performance w/ hundreds of objects onscreen](https://forum.kirupa.com/t/performance-w-hundreds-of-objects-onscreen/269882)

<div class="topic-metadata">

**Author:** [@mrgulabull](https://forum.kirupa.com/u/mrgulabull)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 6:50pm UTC](https://forum.kirupa.com/t/performance-w-hundreds-of-objects-onscreen/269882 "2008-09-02T18:50:39Z")

</div>

I'm looking to create a dissolve effect using hundreds of small circles to hide the content I have onscreen. I've tried sequentially creating and attaching movieclips of a circle, but the performance hit is pretty severe…

---

## [Testing connections](https://forum.kirupa.com/t/testing-connections/269880)

<div class="topic-metadata">

**Author:** [@philsbury](https://forum.kirupa.com/u/philsbury)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 6:40pm UTC](https://forum.kirupa.com/t/testing-connections/269880 "2008-09-02T18:40:26Z")

</div>

Hi, is it possible to test a users internet connection using javascript? Here's the situation, I have an html page which has a form in it. I want to hide the form if the user is not connected to the internet, so that a u…

---

## [Loading projector files into Flash](https://forum.kirupa.com/t/loading-projector-files-into-flash/269877)

<div class="topic-metadata">

**Author:** [@tokyoboy](https://forum.kirupa.com/u/tokyoboy)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 6:00pm UTC](https://forum.kirupa.com/t/loading-projector-files-into-flash/269877 "2008-09-02T18:00:55Z")

</div>

Hey all, Is it possible to load projector files into Flash (\*.exe) with something like loadMovie?

---

## [Track/Count Video Plays?](https://forum.kirupa.com/t/track-count-video-plays/269876)

<div class="topic-metadata">

**Author:** [@mikedkap](https://forum.kirupa.com/u/mikedkap)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 5:58pm UTC](https://forum.kirupa.com/t/track-count-video-plays/269876 "2008-09-02T17:58:18Z")

</div>

Does anyone have any idea of a method to track/count how many times a video gets played from a FLV player? I'm trying to do a pay-per-click deal and am not really sure where to start - Thanks!

---

## [Help with multiple events within MC](https://forum.kirupa.com/t/help-with-multiple-events-within-mc/269875)

<div class="topic-metadata">

**Author:** [@Mr\_Susan](https://forum.kirupa.com/u/Mr_Susan)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 5:47pm UTC](https://forum.kirupa.com/t/help-with-multiple-events-within-mc/269875 "2008-09-02T17:47:01Z")

</div>

Hey, forgive me if this is in the forum somewhere - I have searched but couldn't find anything relevant. My problem. I want to create a shape, lets say a red circle. On rollover, I want that red circle to change colour…

---

## [Get URL of current Browser Page](https://forum.kirupa.com/t/get-url-of-current-browser-page/269873)

<div class="topic-metadata">

**Author:** [@xohol](https://forum.kirupa.com/u/xohol)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 4:56pm UTC](https://forum.kirupa.com/t/get-url-of-current-browser-page/269873 "2008-09-02T16:56:43Z")

</div>

Hello, im trying to read the current URL in the address bar of the browser, in AS3. I have done this with AS2 like this: \[AS\]if (root.url.indexOf("https") == -1) { getURL("https://www.site.com") } \[/AS\] I cant …

---

## [Sending email from Flash](https://forum.kirupa.com/t/sending-email-from-flash/269868)

<div class="topic-metadata">

**Author:** [@megalord](https://forum.kirupa.com/u/megalord)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 3:35pm UTC](https://forum.kirupa.com/t/sending-email-from-flash/269868 "2008-09-02T15:35:47Z")

</div>

OK, my problem is simples. I want to be able to send an email directly from a Flash animation using an external php file. This email will have the datas I insert in a few text boxes. In AS2 I had no problem doing this.…

---

## [A little modifications in "Output mySQL data as XML with PHP" tutorial](https://forum.kirupa.com/t/a-little-modifications-in-output-mysql-data-as-xml-with-php-tutorial/269866)

<div class="topic-metadata">

**Author:** [@Bill12](https://forum.kirupa.com/u/Bill12)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 3:18pm UTC](https://forum.kirupa.com/t/a-little-modifications-in-output-mysql-data-as-xml-with-php-tutorial/269866 "2008-09-02T15:18:57Z")

</div>

Hi to everyone, I started my first steps in flash php and sql, i found this tutorial "Output mySQL data as XML with PHP" very handy. It helped me a lot to understand one way i can load from sql easy as an XML the valu…

---

## [Links only show in Output Panel](https://forum.kirupa.com/t/links-only-show-in-output-panel/269865)

<div class="topic-metadata">

**Author:** [@wdv](https://forum.kirupa.com/u/wdv)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 3:02pm UTC](https://forum.kirupa.com/t/links-only-show-in-output-panel/269865 "2008-09-02T15:02:10Z")

</div>

Hey, Can someone please take a look at my attachment, Im trying to make my first AS3 xml menu, and the only thing i have left to complete it is that my url in my links dont work. All i see when a link in the menu is c…

---

## [EventListeners! How do I use them?](https://forum.kirupa.com/t/eventlisteners-how-do-i-use-them/269856)

<div class="topic-metadata">

**Author:** [@svdelle](https://forum.kirupa.com/u/svdelle)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 2:19pm UTC](https://forum.kirupa.com/t/eventlisteners-how-do-i-use-them/269856 "2008-09-02T14:19:40Z")

</div>

OK, spent days now trying to grasp the concept of event listeners in AS3. No luck yet. So I'll use a simple setup to maybe get some one to explain how to use these damn listeners. I have a Document Class (Main.as) I have…

---

## [Access another running swf on same page](https://forum.kirupa.com/t/access-another-running-swf-on-same-page/269854)

<div class="topic-metadata">

**Author:** [@StridBR](https://forum.kirupa.com/u/StridBR)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 2:11pm UTC](https://forum.kirupa.com/t/access-another-running-swf-on-same-page/269854 "2008-09-02T14:11:17Z")

</div>

Which class/method should i use to call a function in another swf running in the same page? thanks in advance

---

## [Memory usage and bitmapdata issue in flash game design](https://forum.kirupa.com/t/memory-usage-and-bitmapdata-issue-in-flash-game-design/269848)

<div class="topic-metadata">

**Author:** [@Beach\_Boy](https://forum.kirupa.com/u/Beach_Boy)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 12:28pm UTC](https://forum.kirupa.com/t/memory-usage-and-bitmapdata-issue-in-flash-game-design/269848 "2008-09-02T12:28:34Z")

</div>

\[FONT=Arial\] We have a huge movieclip of 5000 by 5000 pixels with different (transparant) layers. We can make an instance of the movieclip and work with it, we can move layers, scale them, ... \[/FONT\] \[FONT=Ari…

---

## [LoadMovie using GET](https://forum.kirupa.com/t/loadmovie-using-get/269846)

<div class="topic-metadata">

**Author:** [@zeka](https://forum.kirupa.com/u/zeka)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 11:48am UTC](https://forum.kirupa.com/t/loadmovie-using-get/269846 "2008-09-02T11:48:05Z")

</div>

Hello. I wish to have a php page which has a static "loader" SWF embedded on it, and depending on what is in the GET paremeters, would load that SWF externally. For example, the url entered is: "http://www.example.co…

---

## [Generate Unique Random Blink & Hide](https://forum.kirupa.com/t/generate-unique-random-blink-hide/269844)

<div class="topic-metadata">

**Author:** [@blueRainier](https://forum.kirupa.com/u/blueRainier)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 11:39am UTC](https://forum.kirupa.com/t/generate-unique-random-blink-hide/269844 "2008-09-02T11:39:49Z")

</div>

Hello guys… Im making a game where there are 25 tiles with corresponding questions when you click them. One of the tiles must blink at a time, once the blinking tile was selected it will be hidden and the question will a…

---

## [loadMovie("image1.jpg", myMc+TargetMc);](https://forum.kirupa.com/t/loadmovie-image1-jpg-mymc-targetmc/269842)

<div class="topic-metadata">

**Author:** [@inboxpro](https://forum.kirupa.com/u/inboxpro)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 10:04am UTC](https://forum.kirupa.com/t/loadmovie-image1-jpg-mymc-targetmc/269842 "2008-09-02T10:04:45Z")

</div>

Please help loadMovie("image1.jpg", myMc+TargetMc); how do i load image1.jpg to "TargetMc" inside my movieclip "myMc". which means i have one movieclip and another movieclip inside which is my taget. thank you so …

---

## [Skew Text](https://forum.kirupa.com/t/skew-text/269841)

<div class="topic-metadata">

**Author:** [@vijay\_dadhich1](https://forum.kirupa.com/u/vijay_dadhich1)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 10:02am UTC](https://forum.kirupa.com/t/skew-text/269841 "2008-09-02T10:02:21Z")

</div>

Hi Everyone, Is any way to skew a text clip from any side. Means I want to give prospective view to the text clip. Actually I am working on online T-shirt design project and I need for that. If any help really thank…

---

## [Linking dynamic drop down menu, little help needed!](https://forum.kirupa.com/t/linking-dynamic-drop-down-menu-little-help-needed/269840)

<div class="topic-metadata">

**Author:** [@tsf06](https://forum.kirupa.com/u/tsf06)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 9:33am UTC](https://forum.kirupa.com/t/linking-dynamic-drop-down-menu-little-help-needed/269840 "2008-09-02T09:33:26Z")

</div>

Hi, I'm trying to create links to button arrays in dynamic drop down menu that control \_root timeline. To make it more clearer: First menu(submenu1) - when released.\_root.gotoAndStop(1); Second menu(submenu1) - when r…

---

## [Advice needed on streamlining flash project](https://forum.kirupa.com/t/advice-needed-on-streamlining-flash-project/269838)

<div class="topic-metadata">

**Author:** [@twolfe](https://forum.kirupa.com/u/twolfe)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 8:13am UTC](https://forum.kirupa.com/t/advice-needed-on-streamlining-flash-project/269838 "2008-09-02T08:13:03Z")

</div>

Hi I have an online brochure that I created a couple of years ago for a client. It's pretty big and contains a lot of jpegs and video. I have to amend/update it about every 2 months and its growing everytime, so the fi…

---

## [Problem with removeMovieClip - Thumbnail menu](https://forum.kirupa.com/t/problem-with-removemovieclip-thumbnail-menu/269837)

<div class="topic-metadata">

**Author:** [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 7:30am UTC](https://forum.kirupa.com/t/problem-with-removemovieclip-thumbnail-menu/269837 "2008-09-02T07:30:38Z")

</div>

Hi everyone, I am currently busy on a thumbnail menu. You have a MC (holder) that will display 8 MC which will be populated with the right image (pulled from xml). Everytime you click next i remove the MCs and update …

---

## [Rollover button link with next scene](https://forum.kirupa.com/t/rollover-button-link-with-next-scene/269832)

<div class="topic-metadata">

**Author:** [@Akash\_Thapa](https://forum.kirupa.com/u/Akash_Thapa)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 6:34am UTC](https://forum.kirupa.com/t/rollover-button-link-with-next-scene/269832 "2008-09-02T06:34:19Z")

</div>

Hi!!! I want to do link with next scene with rollover effect. I tried with tutorial "Complex button" but failed to link with next scene. If there is any suggestions please give me. Thanks:moustache:drink:

---

## [AS2 - Button in a Clip](https://forum.kirupa.com/t/as2-button-in-a-clip/269831)

<div class="topic-metadata">

**Author:** [@arcynum](https://forum.kirupa.com/u/arcynum)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 5:48am UTC](https://forum.kirupa.com/t/as2-button-in-a-clip/269831 "2008-09-02T05:48:58Z")

</div>

G'day Kirupa. Long time reader, first time poster. I have been searching around for the answer for this dillemma for awhile now. The problem is, i cannot click a button inside a movie clip because the mouse click is be…

---

## [Query problem. (Max number when using minus)](https://forum.kirupa.com/t/query-problem-max-number-when-using-minus/269829)

<div class="topic-metadata">

**Author:** [@DesignerMichael](https://forum.kirupa.com/u/DesignerMichael)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 5:11am UTC](https://forum.kirupa.com/t/query-problem-max-number-when-using-minus/269829 "2008-09-02T05:11:28Z")

</div>

How do you stop mysql from setting the number to an insanely high value when say doing... UPDATE users SET points=points-200 WHERE uid=182; If the user has 100 points, points will be set to 29138389123 or whatever the …

---

## [Unloading previous frame / component](https://forum.kirupa.com/t/unloading-previous-frame-component/269825)

<div class="topic-metadata">

**Author:** [@youwh](https://forum.kirupa.com/u/youwh)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 3:16am UTC](https://forum.kirupa.com/t/unloading-previous-frame-component/269825 "2008-09-02T03:16:06Z")

</div>

I'm loading in some pictures from the xml file with some script. And I wanted to unload it at the next few frames cause its lagging. How can I do that? ActionScript Code: \[LEFT\]\[COLOR=#0000FF\]import\[/COLOR\] com.\[COLO…

---

## [Loading Sounds](https://forum.kirupa.com/t/loading-sounds/269822)

<div class="topic-metadata">

**Author:** [@roblovesbox](https://forum.kirupa.com/u/roblovesbox)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 2:53am UTC](https://forum.kirupa.com/t/loading-sounds/269822 "2008-09-02T02:53:36Z")

</div>

Im attempting to load a mini mp3 player into a site and when you select the first song everything seems to work fine but when you select the second song it just starts the first song over from the beginning. here is the…

---

## [\[plz help!\] XML menu items calling functions for fscommand woes](https://forum.kirupa.com/t/plz-help-xml-menu-items-calling-functions-for-fscommand-woes/269820)

<div class="topic-metadata">

**Author:** [@gl0tch](https://forum.kirupa.com/u/gl0tch)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 2:23am UTC](https://forum.kirupa.com/t/plz-help-xml-menu-items-calling-functions-for-fscommand-woes/269820 "2008-09-02T02:23:42Z")

</div>

Hello friends, I'm building a CDRom based projector/interactive to be loaded on a Windows PC. I'm using an XML driven menu that has several items that are intended to link to (and open) PDFs. Unfortunately, when I te…

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

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