# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=945

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

**Page:** 946

---

## [Add URL to menu item...HELP](https://forum.kirupa.com/t/add-url-to-menu-item-help/262649)

<div class="topic-metadata">

**Author:** [@MediaMon](https://forum.kirupa.com/u/MediaMon)\
**Replies:** 0\
**Last updated:** [June 8, 2008, 4:33pm UTC](https://forum.kirupa.com/t/add-url-to-menu-item-help/262649 "2008-06-08T16:33:28Z")

</div>

\*\*xml code: \*\* \<?xml version="1.0" encoding="UTF-8"?\> \<!-- For items in the menu, the data attribute specifies information that is passed into the function that handles the press event for all the items. \<item data…

---

## [Abstract Classes and Singleton Pattern](https://forum.kirupa.com/t/abstract-classes-and-singleton-pattern/262637)

<div class="topic-metadata">

**Author:** [@dzhedzho](https://forum.kirupa.com/u/dzhedzho)\
**Replies:** 5\
**Last updated:** [June 8, 2008, 4:23pm UTC](https://forum.kirupa.com/t/abstract-classes-and-singleton-pattern/262637 "2008-06-08T16:23:20Z")

</div>

Hello guys, if some of you have been wondering how to create abstract classes in AS3, here is an idea. The following class Abstract cannot be instantiated, however its subclasses can. The Abstract class does not have to …

---

## [Datagrid Matching/Compare help](https://forum.kirupa.com/t/datagrid-matching-compare-help/262614)

<div class="topic-metadata">

**Author:** [@nubian](https://forum.kirupa.com/u/nubian)\
**Replies:** 2\
**Last updated:** [June 8, 2008, 3:58pm UTC](https://forum.kirupa.com/t/datagrid-matching-compare-help/262614 "2008-06-08T15:58:36Z")

</div>

i've been searching and trying for weeks on how to compare values of two seperate datagrids. for example lets say i have a datagrid named mg\_dg like this: var myDP:Array = new Array (); myDP.addItem ({id:1, firstNam…

---

## [Variables in a class](https://forum.kirupa.com/t/variables-in-a-class/262628)

<div class="topic-metadata">

**Author:** [@nikomax](https://forum.kirupa.com/u/nikomax)\
**Replies:** 5\
**Last updated:** [June 8, 2008, 3:49pm UTC](https://forum.kirupa.com/t/variables-in-a-class/262628 "2008-06-08T15:49:28Z")

</div>

Hi there, I had tried searching this for the last 2 hours =\[ so I decided to give in and ask. I am have a number of variables defined in my document class and I have noticed that if I were to call a function in the sa…

---

## [Manipulate placed bitmaps with AS3?](https://forum.kirupa.com/t/manipulate-placed-bitmaps-with-as3/262584)

<div class="topic-metadata">

**Author:** [@dthought](https://forum.kirupa.com/u/dthought)\
**Replies:** 6\
**Last updated:** [June 8, 2008, 3:24pm UTC](https://forum.kirupa.com/t/manipulate-placed-bitmaps-with-as3/262584 "2008-06-08T15:24:35Z")

</div>

Hi everyone, it's been a while... got caught up in the land of HTML, CSS and PHP, so I've been a bit out of the whole Flash thing for a while \[smile\] Anyway, I'm now working on a fun little project, and I've come acros…

---

## [Scroll Thumbnail not wrking properly](https://forum.kirupa.com/t/scroll-thumbnail-not-wrking-properly/262464)

<div class="topic-metadata">

**Author:** [@vxd](https://forum.kirupa.com/u/vxd)\
**Replies:** 1\
**Last updated:** [June 8, 2008, 11:16am UTC](https://forum.kirupa.com/t/scroll-thumbnail-not-wrking-properly/262464 "2008-06-08T11:16:38Z")

</div>

The problem is the scroll isn't working properly. You will see what I mean if you click here When I export for flash player 9 instead of 6 I also have a couple of problems. 1) the first image doesn't load. 2) the im…

---

## [Load external mp3 from html link](https://forum.kirupa.com/t/load-external-mp3-from-html-link/262382)

<div class="topic-metadata">

**Author:** [@Rowan2](https://forum.kirupa.com/u/Rowan2)\
**Replies:** 2\
**Last updated:** [June 8, 2008, 10:56am UTC](https://forum.kirupa.com/t/load-external-mp3-from-html-link/262382 "2008-06-08T10:56:26Z")

</div>

Hi there, here's the situation: Currently I am loading my content by clicking a button, from where a "music.txt" file containing HTML is loaded into a textarea. Normally, inside the textfile I would type: \<a href="mu…

---

## [floodFill();](https://forum.kirupa.com/t/floodfill/262605)

<div class="topic-metadata">

**Author:** [@unnamed](https://forum.kirupa.com/u/unnamed)\
**Replies:** 1\
**Last updated:** [June 8, 2008, 9:56am UTC](https://forum.kirupa.com/t/floodfill/262605 "2008-06-08T09:56:36Z")

</div>

Hi, need some help becouse cant find anything to much about floodfill \[smile\] Why floodFill wont work when my BitmapData transparency is set to | true | ? I need to fill parts of my image (png with transparency), when …

---

## [Trace the label of a radio button](https://forum.kirupa.com/t/trace-the-label-of-a-radio-button/262525)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 2\
**Last updated:** [June 8, 2008, 9:42am UTC](https://forum.kirupa.com/t/trace-the-label-of-a-radio-button/262525 "2008-06-08T09:42:07Z")

</div>

I am making a quiz. When the user submits the wrong answer, I want to show them what the correct one was. I can get the correct selected data, but my data is A,B,C,D etc. which is why I need the label. Any idea??

---

## [Align XML external image in movie clip](https://forum.kirupa.com/t/align-xml-external-image-in-movie-clip/262582)

<div class="topic-metadata">

**Author:** [@Devendra\_Singh](https://forum.kirupa.com/u/Devendra_Singh)\
**Replies:** 1\
**Last updated:** [June 8, 2008, 9:19am UTC](https://forum.kirupa.com/t/align-xml-external-image-in-movie-clip/262582 "2008-06-08T09:19:19Z")

</div>

have a simple Flash/XML photo gallery in which image location and information is being pulled from the XML file. The actual external images are being displayed via a movie clip, "picture". My trouble is that my externa…

---

## [Inheriting Methods](https://forum.kirupa.com/t/inheriting-methods/262634)

<div class="topic-metadata">

**Author:** [@mad\_man](https://forum.kirupa.com/u/mad_man)\
**Replies:** 0\
**Last updated:** [June 8, 2008, 6:41am UTC](https://forum.kirupa.com/t/inheriting-methods/262634 "2008-06-08T06:41:10Z")

</div>

I figured it out...DELETE PLZ

---

## [2 more more Tweener tweens at once](https://forum.kirupa.com/t/2-more-more-tweener-tweens-at-once/262604)

<div class="topic-metadata">

**Author:** [@daidai](https://forum.kirupa.com/u/daidai)\
**Replies:** 5\
**Last updated:** [June 8, 2008, 12:17am UTC](https://forum.kirupa.com/t/2-more-more-tweener-tweens-at-once/262604 "2008-06-08T00:17:34Z")

</div>

I have completley forgotten how to tween two at once, its something like ActionScript Code: \[LEFT\]Tweener.\[COLOR=#000080\]addTween\[/COLOR\] \[COLOR=#000000\]\[\[/COLOR\]\[COLOR=#000000\](\[/COLOR\]sprite1, \[COLOR=#000000\]{\[/COL…

---

## [Full Flash site works on hard drive but not server](https://forum.kirupa.com/t/full-flash-site-works-on-hard-drive-but-not-server/262611)

<div class="topic-metadata">

**Author:** [@temjin](https://forum.kirupa.com/u/temjin)\
**Replies:** 2\
**Last updated:** [June 8, 2008, 12:09am UTC](https://forum.kirupa.com/t/full-flash-site-works-on-hard-drive-but-not-server/262611 "2008-06-08T00:09:46Z")

</div>

I have a simple All flash site that works fine on my hard drive. But when I upload it online, the main movie plays and then nothing loads. Here is how my website works. There is a main movie, which is like a frame. The…

---

## [Convert an Array to XML](https://forum.kirupa.com/t/convert-an-array-to-xml/262529)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 1\
**Last updated:** [June 7, 2008, 11:30pm UTC](https://forum.kirupa.com/t/convert-an-array-to-xml/262529 "2008-06-07T23:30:37Z")

</div>

Hi All, I have a flash file with content being pulled from an array, however, I'd like the content to be pulled from an external XML file. I'm still green when it comes to AS3 but can someone please point me in the r…

---

## [Cpu Usage 90% - 100%](https://forum.kirupa.com/t/cpu-usage-90-100/262613)

<div class="topic-metadata">

**Author:** [@andreiv](https://forum.kirupa.com/u/andreiv)\
**Replies:** 2\
**Last updated:** [June 7, 2008, 10:12pm UTC](https://forum.kirupa.com/t/cpu-usage-90-100/262613 "2008-06-07T22:12:14Z")

</div>

I have a menu that is rotating and because of that when i play the movie the cpu usage reaches almost 100%. The movie has 7 buttons (circle sections) and on the over frame of every button is a movieclip. All is rotating …

---

## [\[AS3\] Pre-analyzing sound](https://forum.kirupa.com/t/as3-pre-analyzing-sound/262610)

<div class="topic-metadata">

**Author:** [@mad\_man](https://forum.kirupa.com/u/mad_man)\
**Replies:** 0\
**Last updated:** [June 7, 2008, 6:19pm UTC](https://forum.kirupa.com/t/as3-pre-analyzing-sound/262610 "2008-06-07T18:19:51Z")

</div>

hello, I havent posted here in a while but I have recently actionscript 3 back up. I have been trying to learn how to use all the sound classes and wanted to know if there is anyway to analyze the sound spectrum or the r…

---

## [How to know the url where the flash file is embed?](https://forum.kirupa.com/t/how-to-know-the-url-where-the-flash-file-is-embed/262563)

<div class="topic-metadata">

**Author:** [@lorenz82](https://forum.kirupa.com/u/lorenz82)\
**Replies:** 6\
**Last updated:** [June 7, 2008, 5:57pm UTC](https://forum.kirupa.com/t/how-to-know-the-url-where-the-flash-file-is-embed/262563 "2008-06-07T17:57:25Z")

</div>

I have an SWF on my domain, now someone is embedding this file from my host. Is it possible to know the URL of the page that is embedding it using ActipScript?:pa: If I write trace(stage.loaderInfo.url) it gives me m…

---

## [Keyboard Input in AS3](https://forum.kirupa.com/t/keyboard-input-in-as3/262600)

<div class="topic-metadata">

**Author:** [@itbkris](https://forum.kirupa.com/u/itbkris)\
**Replies:** 2\
**Last updated:** [June 7, 2008, 4:09pm UTC](https://forum.kirupa.com/t/keyboard-input-in-as3/262600 "2008-06-07T16:09:57Z")

</div>

Is there a way to know when the printscreen key is pressed? I want to black out images when it is hit but it does not have a charCode. Any ideas? -Kris

---

## [Hmm. Not sure if this will make much sense but!](https://forum.kirupa.com/t/hmm-not-sure-if-this-will-make-much-sense-but/262180)

<div class="topic-metadata">

**Author:** [@Nectar](https://forum.kirupa.com/u/Nectar)\
**Replies:** 3\
**Last updated:** [June 7, 2008, 3:26pm UTC](https://forum.kirupa.com/t/hmm-not-sure-if-this-will-make-much-sense-but/262180 "2008-06-07T15:26:14Z")

</div>

Alright. I'm wondering if there's anyway to create self-writing text like at http://designstudiofurniture.com/ without animating it myself.. not sure how to explain what I'm thinking though but like.. action scripting it…

---

## [Managed C](https://forum.kirupa.com/t/managed-c/262598)

<div class="topic-metadata">

**Author:** [@Torq](https://forum.kirupa.com/u/Torq)\
**Replies:** 0\
**Last updated:** [June 7, 2008, 2:58pm UTC](https://forum.kirupa.com/t/managed-c/262598 "2008-06-07T14:58:13Z")

</div>

I seem to remember, before Flex, people attempting to use external C code to produce faster 3D apps with Flash 8. I can't remember what it was, but there was some functions to use lower level code. I think it was C. C…

---

## [photoFlow Flash and LightBox](https://forum.kirupa.com/t/photoflow-flash-and-lightbox/262590)

<div class="topic-metadata">

**Author:** [@cyber007](https://forum.kirupa.com/u/cyber007)\
**Replies:** 0\
**Last updated:** [June 7, 2008, 11:07am UTC](https://forum.kirupa.com/t/photoflow-flash-and-lightbox/262590 "2008-06-07T11:07:29Z")

</div>

I am using photoFlow Flash component AS 2.0, now how can I integrated with LightBox to make interactive photo gallery? I get some reference from photoFlow Flash component AS 3.0 and LightBox but i don't understand that…

---

## [Collision detection in a game](https://forum.kirupa.com/t/collision-detection-in-a-game/262589)

<div class="topic-metadata">

**Author:** [@ilyas415](https://forum.kirupa.com/u/ilyas415)\
**Replies:** 0\
**Last updated:** [June 7, 2008, 10:57am UTC](https://forum.kirupa.com/t/collision-detection-in-a-game/262589 "2008-06-07T10:57:19Z")

</div>

Hi guys. Need help with a small project im working on. Basically im trying to check for collisions succesfully and make the character move to a certain position when colliding with something. Link: http://truimagz.com/…

---

## [Restarting a movie clip problem](https://forum.kirupa.com/t/restarting-a-movie-clip-problem/262494)

<div class="topic-metadata">

**Author:** [@gloopy](https://forum.kirupa.com/u/gloopy)\
**Replies:** 3\
**Last updated:** [June 7, 2008, 8:14am UTC](https://forum.kirupa.com/t/restarting-a-movie-clip-problem/262494 "2008-06-07T08:14:27Z")

</div>

I have a very simple movie that randomly places a movie clip: \*\*Frame 1:\*\* i=0; \*\*Frame 2:\*\* \_root.tile.duplicateMovieClip("tile"+i,i+1) \_root\["tile"+i\].\_x=Math.random()\*550+20; \_root\["tile"+i\].\_y=Math.random()\*320+…

---

## [Setting Boundaries](https://forum.kirupa.com/t/setting-boundaries/262498)

<div class="topic-metadata">

**Author:** [@Jephz](https://forum.kirupa.com/u/Jephz)\
**Replies:** 1\
**Last updated:** [June 7, 2008, 8:07am UTC](https://forum.kirupa.com/t/setting-boundaries/262498 "2008-06-07T08:07:59Z")

</div>

Ok, I have a scrolling terrain and I put the scrolling code on the player. Heres the code: onClipEvent (load) { movespeed = 5; } onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT)) { \_root.terrain.\_x -= movesp…

---

## [Loader object for FLV, SWF](https://forum.kirupa.com/t/loader-object-for-flv-swf/262581)

<div class="topic-metadata">

**Author:** [@mullwaden](https://forum.kirupa.com/u/mullwaden)\
**Replies:** 0\
**Last updated:** [June 7, 2008, 7:37am UTC](https://forum.kirupa.com/t/loader-object-for-flv-swf/262581 "2008-06-07T07:37:08Z")

</div>

I'm trying to make a movie player of a sort that loads all the things in a folder and plays them one by one. This folder can contain images, flvs and swfs. Is this possible ? Anyone having some code or project lying arou…

---

## [How to align center the xml loaded images](https://forum.kirupa.com/t/how-to-align-center-the-xml-loaded-images/262579)

<div class="topic-metadata">

**Author:** [@Devendra\_Singh](https://forum.kirupa.com/u/Devendra_Singh)\
**Replies:** 0\
**Last updated:** [June 7, 2008, 7:00am UTC](https://forum.kirupa.com/t/how-to-align-center-the-xml-loaded-images/262579 "2008-06-07T07:00:20Z")

</div>

Iam trying to find a solution to do something similar to what it mentioned below. I have a x number images of different size(width,height), which are loading dynamically from xml. so plz help me out that how can my a…

---

## [Netstream Seek Oddity](https://forum.kirupa.com/t/netstream-seek-oddity/262572)

<div class="topic-metadata">

**Author:** [@dail](https://forum.kirupa.com/u/dail)\
**Replies:** 0\
**Last updated:** [June 7, 2008, 4:56am UTC](https://forum.kirupa.com/t/netstream-seek-oddity/262572 "2008-06-07T04:56:38Z")

</div>

Hi, I'm currently working on a video playing app, and all is fine, except for one odd bug. I have a standard seek drag bar. When the video is paused at start and I used that seek bar, the video will seek to the point…

---

## [Vertical Scroll Bar missing in browser](https://forum.kirupa.com/t/vertical-scroll-bar-missing-in-browser/262541)

<div class="topic-metadata">

**Author:** [@paulcybulski](https://forum.kirupa.com/u/paulcybulski)\
**Replies:** 1\
**Last updated:** [June 6, 2008, 11:12pm UTC](https://forum.kirupa.com/t/vertical-scroll-bar-missing-in-browser/262541 "2008-06-06T23:12:30Z")

</div>

I am trying to get my flash site to not scale/resize when the window is resized...but I also want it to stay centered on the page...the centering part I have figured out, and I also have the no scaling part figured out..…

---

## [Best Practices](https://forum.kirupa.com/t/best-practices/262559)

<div class="topic-metadata">

**Author:** [@Digitalosophy](https://forum.kirupa.com/u/Digitalosophy)\
**Replies:** 1\
**Last updated:** [June 6, 2008, 9:49pm UTC](https://forum.kirupa.com/t/best-practices/262559 "2008-06-06T21:49:45Z")

</div>

So I'm building a website that entirely in Flash. Basically just trying to plan out my class structure as this is the first AS 3 class based website I'm creating. I have all my assets located inside my index.fla libra…

---

## [Displaying the mysql in flash](https://forum.kirupa.com/t/displaying-the-mysql-in-flash/261794)

<div class="topic-metadata">

**Author:** [@peredy](https://forum.kirupa.com/u/peredy)\
**Replies:** 11\
**Last updated:** [June 6, 2008, 9:31pm UTC](https://forum.kirupa.com/t/displaying-the-mysql-in-flash/261794 "2008-06-06T21:31:23Z")

</div>

I read the tutorial to do it all. I even adjusted all the coding to the best of my knowlege. But it doesnt like this line... var component = \_parent; and the as file was changed to where to call the php file, but tha…

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=944)

[Next page](https://forum.kirupa.com/c/programming/flash/38.md?page=946)
