# programming

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

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

**Page:** 994

---

## [Removing dynamically added movie clips dynamically](https://forum.kirupa.com/t/removing-dynamically-added-movie-clips-dynamically/276831)

<div class="topic-metadata">

**Author:** [@smair33](https://forum.kirupa.com/u/smair33)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 5:03am UTC](https://forum.kirupa.com/t/removing-dynamically-added-movie-clips-dynamically/276831 "2008-12-04T05:03:20Z")

</div>

I've been looking for a long time, but I cannot find anything on removing dynamically added movie clips. I really need to remove these movie clips dynamically since they are being placed by xml and I can never be sure ho…

---

## [\[AS2\] mouse wheel not working correctly when swf within html page](https://forum.kirupa.com/t/as2-mouse-wheel-not-working-correctly-when-swf-within-html-page/276830)

<div class="topic-metadata">

**Author:** [@shey\_py](https://forum.kirupa.com/u/shey_py)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 4:46am UTC](https://forum.kirupa.com/t/as2-mouse-wheel-not-working-correctly-when-swf-within-html-page/276830 "2008-12-04T04:46:21Z")

</div>

hey guys, this will probably be a quick one for you but I just have no clue... in the SWF file itself, the mouse wheel works perfectly (using \[28bit's code for the scroll) you can see it \[URL="http://www.xavier-ama-ka…

---

## [AS2/AS3 video help](https://forum.kirupa.com/t/as2-as3-video-help/276827)

<div class="topic-metadata">

**Author:** [@adw2adw](https://forum.kirupa.com/u/adw2adw)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 3:20am UTC](https://forum.kirupa.com/t/as2-as3-video-help/276827 "2008-12-04T03:20:39Z")

</div>

var video\_nc:NetConnection = new NetConnection(); video\_nc.connect("rtmp://localhost/live/"); var video\_ns:NetStream = new NetStream(video\_nc); video\_ns.setBufferTime(0); video\_ns.play("test"); videoarea.attachVideo(vi…

---

## [Possible to set dpi in Flash CS3?](https://forum.kirupa.com/t/possible-to-set-dpi-in-flash-cs3/276824)

<div class="topic-metadata">

**Author:** [@worldly1](https://forum.kirupa.com/u/worldly1)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 1:13am UTC](https://forum.kirupa.com/t/possible-to-set-dpi-in-flash-cs3/276824 "2008-12-04T01:13:22Z")

</div>

Hello, I am using a windows image and vector editor to do a lot of work and it outputs images at 96dpi. When I bring them into Flash CS3, they appear resized because of Flash is apparently set at default 72dpi. Is it p…

---

## [Does this work for you?](https://forum.kirupa.com/t/does-this-work-for-you/276823)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 1:03am UTC](https://forum.kirupa.com/t/does-this-work-for-you/276823 "2008-12-04T01:03:02Z")

</div>

We are having issues with our streaming host (we think) and are trying to pin point the problem. Every machine in our office fails to seek this streaming video except for one. My machine at home works fine. My bosses mac…

---

## [Load Sound error](https://forum.kirupa.com/t/load-sound-error/276821)

<div class="topic-metadata">

**Author:** [@marcos\_lavorato](https://forum.kirupa.com/u/marcos_lavorato)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 12:35am UTC](https://forum.kirupa.com/t/load-sound-error/276821 "2008-12-04T00:35:12Z")

</div>

Hi for all. I have a seriour problem with my new application. I am using AS3 and AIR. It's a web radio. When the music end, I load the next music of playlist. The error is. Sometimes he load the file and sometimes he cra…

---

## [Is the flash actionscript envirmoment buggy?](https://forum.kirupa.com/t/is-the-flash-actionscript-envirmoment-buggy/276820)

<div class="topic-metadata">

**Author:** [@snyper3xs](https://forum.kirupa.com/u/snyper3xs)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 12:33am UTC](https://forum.kirupa.com/t/is-the-flash-actionscript-envirmoment-buggy/276820 "2008-12-04T00:33:50Z")

</div>

Hi guys. I have been having serious problem with flash and that have me bashing my head up against the wall. Currently I am creating a complicated animation via AS3 for a very high res flash file(1920 x 975). Initial…

---

## [Finding correct angle in circle?](https://forum.kirupa.com/t/finding-correct-angle-in-circle/276819)

<div class="topic-metadata">

**Author:** [@dabamol](https://forum.kirupa.com/u/dabamol)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 12:17am UTC](https://forum.kirupa.com/t/finding-correct-angle-in-circle/276819 "2008-12-04T00:17:59Z")

</div>

Hi all: Hoping someone can help with this. I have a container clip that has 10 small boxes placed in a circle. I need the "active" box to always be on top, so as soon as the boxes are created, i rotate the container -9…

---

## [Passing a variable to flash](https://forum.kirupa.com/t/passing-a-variable-to-flash/276818)

<div class="topic-metadata">

**Author:** [@windstorm](https://forum.kirupa.com/u/windstorm)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 10:44pm UTC](https://forum.kirupa.com/t/passing-a-variable-to-flash/276818 "2008-12-03T22:44:27Z")

</div>

Hi, I'm pretty new to AS3 and although I keep seeing the same solution all over the forums, I can't seem to get my flash movie to work properly. I'm trying to pass a parameter id from a URL to my movie...for example: …

---

## [Full Screen Viewing](https://forum.kirupa.com/t/full-screen-viewing/276815)

<div class="topic-metadata">

**Author:** [@brandonhughes](https://forum.kirupa.com/u/brandonhughes)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 10:10pm UTC](https://forum.kirupa.com/t/full-screen-viewing/276815 "2008-12-03T22:10:26Z")

</div>

Ok, dumb question for the day: All the sites I've made so far in Flash use a specified size, like 800x600 and so on. How do you create these sites out there that automatically fit the entire sreen size and lose no qual…

---

## [Toggle Tabs not aligned](https://forum.kirupa.com/t/toggle-tabs-not-aligned/276814)

<div class="topic-metadata">

**Author:** [@irishcash33](https://forum.kirupa.com/u/irishcash33)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 10:05pm UTC](https://forum.kirupa.com/t/toggle-tabs-not-aligned/276814 "2008-12-03T22:05:52Z")

</div>

Hi, A section of this page will be news feed. You will be able to toggle between 2. The buttons/tabs should be on one line. I have tried a few things, and can't get them on one line. Any ideas? site Thanks

---

## [Loadvars via HTML ONLY](https://forum.kirupa.com/t/loadvars-via-html-only/276813)

<div class="topic-metadata">

**Author:** [@robertvideo](https://forum.kirupa.com/u/robertvideo)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 9:50pm UTC](https://forum.kirupa.com/t/loadvars-via-html-only/276813 "2008-12-03T21:50:47Z")

</div>

Can any help?: I need to load an image and 2 dynamic text fields tied to the TWEEN CLASS and controlling the SWF file via HTML ONLY - no PHP or external .TXT file I want to change info in HTML code to change content of t…

---

## [Key down troubles (pressing a key while another is down)](https://forum.kirupa.com/t/key-down-troubles-pressing-a-key-while-another-is-down/276812)

<div class="topic-metadata">

**Author:** [@ninjateacup](https://forum.kirupa.com/u/ninjateacup)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 9:46pm UTC](https://forum.kirupa.com/t/key-down-troubles-pressing-a-key-while-another-is-down/276812 "2008-12-03T21:46:06Z")

</div>

(Controls are Arrow Keys, plus spacebar to attack) Hey guys I've been trying to program a little zelda type game, just to see how far I can get and I've ran into a problem. The problem is when you press say the right arr…

---

## [Mirroring BitmapData](https://forum.kirupa.com/t/mirroring-bitmapdata/276811)

<div class="topic-metadata">

**Author:** [@Iamthejuggler](https://forum.kirupa.com/u/Iamthejuggler)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 9:15pm UTC](https://forum.kirupa.com/t/mirroring-bitmapdata/276811 "2008-12-03T21:15:04Z")

</div>

In an effort to cut down on the filesize of my swf i have only created a tilesheet of my character facing right, with the intention of programmatically mirroring this for the left facing tiles. I've been looking for a…

---

## [Email-this-page script](https://forum.kirupa.com/t/email-this-page-script/276810)

<div class="topic-metadata">

**Author:** [@njoay](https://forum.kirupa.com/u/njoay)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 8:55pm UTC](https://forum.kirupa.com/t/email-this-page-script/276810 "2008-12-03T20:55:44Z")

</div>

Hi all, I'm trying to set up a "Email this page" link. I've searched but haven't been able to find anything good. Either they're all old school or not what I'm looking for. Crate & Barrel's site http://www.crateand…

---

## [Custom DisplayObjects & stupid getBounds](https://forum.kirupa.com/t/custom-displayobjects-stupid-getbounds/276808)

<div class="topic-metadata">

**Author:** [@Groady](https://forum.kirupa.com/u/Groady)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 8:39pm UTC](https://forum.kirupa.com/t/custom-displayobjects-stupid-getbounds/276808 "2008-12-03T20:39:19Z")

</div>

I've encountered a bit of a problem with the getBounds method when nesting custom display objects. What I've been trying to do is is overrite a Sprite's width, height, getBounds and getRect methods to return the dimensio…

---

## [Memory/Pointers](https://forum.kirupa.com/t/memory-pointers/276805)

<div class="topic-metadata">

**Author:** [@surferdudenate](https://forum.kirupa.com/u/surferdudenate)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 8:10pm UTC](https://forum.kirupa.com/t/memory-pointers/276805 "2008-12-03T20:10:58Z")

</div>

In c/c++ you can pass a pointer to a variable's location in memory. Is there something equivalent to that in AS3?

---

## [Opening link in browser](https://forum.kirupa.com/t/opening-link-in-browser/276804)

<div class="topic-metadata">

**Author:** [@DFox](https://forum.kirupa.com/u/DFox)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 8:01pm UTC](https://forum.kirupa.com/t/opening-link-in-browser/276804 "2008-12-03T20:01:48Z")

</div>

Hi, The issue I'm having is pretty simple. I'm opening a URL from my AIR application using the following code: navigateToURL(new URLRequest("http://" + url), "\_blank"); I'm using Firefox 3 on Windows Vista, and when…

---

## [Text overfloat](https://forum.kirupa.com/t/text-overfloat/276801)

<div class="topic-metadata">

**Author:** [@ht56y](https://forum.kirupa.com/u/ht56y)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 7:37pm UTC](https://forum.kirupa.com/t/text-overfloat/276801 "2008-12-03T19:37:39Z")

</div>

Hi On a website im developing i am using two columns to display the content of each site. Now, i want to load this text via php, and i was wondering, is it possible to make the text float from the first column to the n…

---

## [Images resizing on import](https://forum.kirupa.com/t/images-resizing-on-import/276800)

<div class="topic-metadata">

**Author:** [@worldly1](https://forum.kirupa.com/u/worldly1)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 7:22pm UTC](https://forum.kirupa.com/t/images-resizing-on-import/276800 "2008-12-03T19:22:14Z")

</div>

Hello All, Using Flash CS# Pro, and when I import PNGs or JPEGs they are being shrunk by about 30%. Any Ideas as to why this is happening? I've checked the size of th images in several other app.s They are 158pix x 113…

---

## [How to stick 2 movieClips?](https://forum.kirupa.com/t/how-to-stick-2-movieclips/276799)

<div class="topic-metadata">

**Author:** [@teltom](https://forum.kirupa.com/u/teltom)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 7:02pm UTC](https://forum.kirupa.com/t/how-to-stick-2-movieclips/276799 "2008-12-03T19:02:53Z")

</div>

I have a movieClip that moves with delay when there is a mouse move. I want to make a grab and drop option for this movieClip. Basically I want it to grab one of the movieClip on the stage when it touches it and then I w…

---

## [Help! Need example of parsing data from flash to php to xml](https://forum.kirupa.com/t/help-need-example-of-parsing-data-from-flash-to-php-to-xml/276797)

<div class="topic-metadata">

**Author:** [@TheShak06](https://forum.kirupa.com/u/TheShak06)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 6:53pm UTC](https://forum.kirupa.com/t/help-need-example-of-parsing-data-from-flash-to-php-to-xml/276797 "2008-12-03T18:53:32Z")

</div>

Hi, At the moment im doing my final year of college in multimedia programming and i have come across a problem with my thesis. You see im trying to create a flash that takes in dynamic data and display it on a bar chart…

---

## [Flash Forms using Radio Buttons /PHP- Help!](https://forum.kirupa.com/t/flash-forms-using-radio-buttons-php-help/276796)

<div class="topic-metadata">

**Author:** [@ShareeNeff](https://forum.kirupa.com/u/ShareeNeff)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 6:43pm UTC](https://forum.kirupa.com/t/flash-forms-using-radio-buttons-php-help/276796 "2008-12-03T18:43:04Z")

</div>

Please I need a little direction. I've created a form in Flash using input text and 3 groups of radio buttons ( 2 per group). I've written the PHP script to send the from via email. This is what I recieve via email. H…

---

## [Loop through class object creation?](https://forum.kirupa.com/t/loop-through-class-object-creation/276794)

<div class="topic-metadata">

**Author:** [@AntifreezeDesig](https://forum.kirupa.com/u/AntifreezeDesig)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 6:24pm UTC](https://forum.kirupa.com/t/loop-through-class-object-creation/276794 "2008-12-03T18:24:46Z")

</div>

Why can't I loop through a class object creation? I'm trying to create multiple instances of a point on a map, but it won't let me "build" my name. When I do it without the unique names, all is well until I try to set up…

---

## [Remove duplicates in Array?](https://forum.kirupa.com/t/remove-duplicates-in-array/276792)

<div class="topic-metadata">

**Author:** [@bhnh](https://forum.kirupa.com/u/bhnh)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 6:13pm UTC](https://forum.kirupa.com/t/remove-duplicates-in-array/276792 "2008-12-03T18:13:03Z")

</div>

Here's an array... ActionScript Code: \[LEFT\]\[COLOR=#000000\]var\[/COLOR\] a:\[COLOR=#0000ff\]Array\[/COLOR\] = \[COLOR=#000000\]new\[/COLOR\] \[COLOR=#0000ff\]Array\[/COLOR\]\[COLOR=#000000\](\[/COLOR\]\[COLOR=#ff0000\]"Alf"\[/COLOR\],\[COLOR…

---

## [Breaking lines in flash /Dinamic text from xml](https://forum.kirupa.com/t/breaking-lines-in-flash-dinamic-text-from-xml/276791)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 5:51pm UTC](https://forum.kirupa.com/t/breaking-lines-in-flash-dinamic-text-from-xml/276791 "2008-12-03T17:51:30Z")

</div>

I´l loading some text from a xml filme into Flash (dinamic text field) But I can´t break the lines. When trying to break the lines with ENTER on the xml, the flash breaks two lines. I learned that using\*\* #&10;\*\* th…

---

## [Creating a "screen shot" of an HTML DOM element](https://forum.kirupa.com/t/creating-a-screen-shot-of-an-html-dom-element/276790)

<div class="topic-metadata">

**Author:** [@Martin\_Dude](https://forum.kirupa.com/u/Martin_Dude)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 5:47pm UTC](https://forum.kirupa.com/t/creating-a-screen-shot-of-an-html-dom-element/276790 "2008-12-03T17:47:05Z")

</div>

Hi all, I am working on a personal project and I am trying to load an HTML page "inside" of my stage (using Flex3). While I can get this to work perfectly using "IFrame.as, Alistair Rutherford, www.netthreads.co.uk". …

---

## [Browse PC for file and sabe location of file as Var](https://forum.kirupa.com/t/browse-pc-for-file-and-sabe-location-of-file-as-var/276789)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 5:44pm UTC](https://forum.kirupa.com/t/browse-pc-for-file-and-sabe-location-of-file-as-var/276789 "2008-12-03T17:44:18Z")

</div>

Hi I´m trying to upload a file from the PC using flash. How can I open a browser window to locate de file in the hard drive and then save that location to upload the image? Thanks

---

## [Stop a timer on CLICK, once already started, help!](https://forum.kirupa.com/t/stop-a-timer-on-click-once-already-started-help/276788)

<div class="topic-metadata">

**Author:** [@wuzzi2ya](https://forum.kirupa.com/u/wuzzi2ya)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 5:37pm UTC](https://forum.kirupa.com/t/stop-a-timer-on-click-once-already-started-help/276788 "2008-12-03T17:37:40Z")

</div>

stage.addEventListener(MouseEvent.CLICK, burnIt); function burnIt(event:MouseEvent):void { if (mouseX \< 100 && mouseX \> 50 && mouseY \< 0 && mouseY \> 200) { timer.start(); timer2.start(); } } I need to add an if else st…

---

## [Flash header controlling html webpage](https://forum.kirupa.com/t/flash-header-controlling-html-webpage/276787)

<div class="topic-metadata">

**Author:** [@sponger246](https://forum.kirupa.com/u/sponger246)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 5:29pm UTC](https://forum.kirupa.com/t/flash-header-controlling-html-webpage/276787 "2008-12-03T17:29:40Z")

</div>

I want to have a HTML page with a flash header controlling links. I have seen some before that use what I want but everytime you click the link, the whole page reloads with the new page and the flash replays. Any ideas…

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

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