# programming

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

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

**Page:** 734

---

## [Issue with movie clip getting stuck if mouse goes over button before animation finish](https://forum.kirupa.com/t/issue-with-movie-clip-getting-stuck-if-mouse-goes-over-button-before-animation-finish/293852)

<div class="topic-metadata">

**Author:** [@lorne17](https://forum.kirupa.com/u/lorne17)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 9:11pm UTC](https://forum.kirupa.com/t/issue-with-movie-clip-getting-stuck-if-mouse-goes-over-button-before-animation-finish/293852 "2009-08-04T21:11:54Z")

</div>

Hello, I am curious to know if it is possible to fix this issue I am having. I have 4 flyout buttons on my flash and when you RollOut of the button, it plays the closing animation. But if you quickly move the mouse b…

---

## [Make JUST video in SWF go full screen?](https://forum.kirupa.com/t/make-just-video-in-swf-go-full-screen/293851)

<div class="topic-metadata">

**Author:** [@Wes\_Ide](https://forum.kirupa.com/u/Wes_Ide)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 9:02pm UTC](https://forum.kirupa.com/t/make-just-video-in-swf-go-full-screen/293851 "2009-08-04T21:02:39Z")

</div>

Hi all. I'm working on a Flash video slideshow (which you can preview here). I would like to be able to make it so you can click a button (I've got one made in the doc already) that will make just the video on each "…

---

## [SWFAddress not updating or responding. - fix it and get $20](https://forum.kirupa.com/t/swfaddress-not-updating-or-responding-fix-it-and-get-20/293850)

<div class="topic-metadata">

**Author:** [@mocapokemedia](https://forum.kirupa.com/u/mocapokemedia)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 8:56pm UTC](https://forum.kirupa.com/t/swfaddress-not-updating-or-responding-fix-it-and-get-20/293850 "2009-08-04T20:56:11Z")

</div>

So I usually don't post in forums because I can usually find the answer to my question online. But I have been messing with this for days with no success. Import AS2 version of swfaddress into flash movie... check. Pla…

---

## [Draggable area on movie too large?](https://forum.kirupa.com/t/draggable-area-on-movie-too-large/293849)

<div class="topic-metadata">

**Author:** [@scotia2k6](https://forum.kirupa.com/u/scotia2k6)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 7:52pm UTC](https://forum.kirupa.com/t/draggable-area-on-movie-too-large/293849 "2009-08-04T19:52:35Z")

</div>

Hello all! I wonder if anyone has a suggestion for this! I have two draggable clips, each set to jump to the top when released, this works fine. My issue is that the "draggable area" is larger than the imported images …

---

## [Drag and Drop Problem (AS3,CS3)](https://forum.kirupa.com/t/drag-and-drop-problem-as3-cs3/293847)

<div class="topic-metadata">

**Author:** [@gpdematteo](https://forum.kirupa.com/u/gpdematteo)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 6:50pm UTC](https://forum.kirupa.com/t/drag-and-drop-problem-as3-cs3/293847 "2009-08-04T18:50:49Z")

</div>

Hi, I have code that draws a triangle with draggable vertices. This works fine but I'd also like to be able to drag and drop the entire triangle. I keep running into two problems: either the draggable points don't foll…

---

## [addChild :: Then removeChild](https://forum.kirupa.com/t/addchild-then-removechild/293846)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 6:49pm UTC](https://forum.kirupa.com/t/addchild-then-removechild/293846 "2009-08-04T18:49:52Z")

</div>

Hi, I am adding a child to the stage in my first swf addChild(new donkey()); var l:Loader = new Loader(); l.load(new URLRequest("next.swf")); addChild(l); in my next.swf, I have a button which I want to remove the do…

---

## [Fade image in/out scripting (AS2)](https://forum.kirupa.com/t/fade-image-in-out-scripting-as2/293843)

<div class="topic-metadata">

**Author:** [@lorne17](https://forum.kirupa.com/u/lorne17)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 5:47pm UTC](https://forum.kirupa.com/t/fade-image-in-out-scripting-as2/293843 "2009-08-04T17:47:17Z")

</div>

Hello, I have successfully coded for my images to load in randomly (thanks to Roalr!) and now I am trying to get the movieclip loader to fade in when a button is rolled over, and fade back out when rolled off. Can an…

---

## [Convert string to nested movieclip](https://forum.kirupa.com/t/convert-string-to-nested-movieclip/293842)

<div class="topic-metadata">

**Author:** [@jayrich86](https://forum.kirupa.com/u/jayrich86)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 5:44pm UTC](https://forum.kirupa.com/t/convert-string-to-nested-movieclip/293842 "2009-08-04T17:44:54Z")

</div>

How do I join two strings into a movieclip so that it works out to string1\_mc.string2\_mc i.e. var monthID = "monthCal"+newMonth var dayID = "day"+monthArray\[newMonth\]\[e\].eventDate; trace(this\[monthID\].\_name) // …

---

## [Inserting Flash.SWF into HTML - Need help urgently](https://forum.kirupa.com/t/inserting-flash-swf-into-html-need-help-urgently/293840)

<div class="topic-metadata">

**Author:** [@Snivvle](https://forum.kirupa.com/u/Snivvle)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 5:05pm UTC](https://forum.kirupa.com/t/inserting-flash-swf-into-html-need-help-urgently/293840 "2009-08-04T17:05:45Z")

</div>

Hi everybody, I have a dilemma. I am a nub when it comes to HTML and CSS. That is dilemma #1. Dilemma #2 is I have a .SWF file that I want to place within an HTML element. After some investigation, I understand that it…

---

## [Navigation shining through my SWF](https://forum.kirupa.com/t/navigation-shining-through-my-swf/293838)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 4:41pm UTC](https://forum.kirupa.com/t/navigation-shining-through-my-swf/293838 "2009-08-04T16:41:25Z")

</div>

I realize that this issue is probably partly the fault of the 3rd party that is serving my SWF, and a site whose CSS I have no say over, but I am trying to think of a work around. Inititially we were using Pointroll to…

---

## [MovieClip's children not recognised?](https://forum.kirupa.com/t/movieclips-children-not-recognised/293835)

<div class="topic-metadata">

**Author:** [@DH1234](https://forum.kirupa.com/u/DH1234)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 3:56pm UTC](https://forum.kirupa.com/t/movieclips-children-not-recognised/293835 "2009-08-04T15:56:14Z")

</div>

Hi all, I have 2 movieclips on stage; one called 'myMarker\_mc', the other called 'myMarker\_mcOne') - they both contain 4 children (bt\_up, bt\_dn, bt\_remove ) and myText (a textfield) and they only work properly when it …

---

## [CS3 primer - some general questions about CS3](https://forum.kirupa.com/t/cs3-primer-some-general-questions-about-cs3/293833)

<div class="topic-metadata">

**Author:** [@Navarone](https://forum.kirupa.com/u/Navarone)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 3:29pm UTC](https://forum.kirupa.com/t/cs3-primer-some-general-questions-about-cs3/293833 "2009-08-04T15:29:30Z")

</div>

All my work up to this point has been Flash MX, I currently into a project that was done in CS3 and I also have flash CS3 now. The project folder seems to broken out into several folders, I was looking for a brief overvi…

---

## [Game Cameras](https://forum.kirupa.com/t/game-cameras/293832)

<div class="topic-metadata">

**Author:** [@Nytrus](https://forum.kirupa.com/u/Nytrus)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 2:41pm UTC](https://forum.kirupa.com/t/game-cameras/293832 "2009-08-04T14:41:25Z")

</div>

Hi, I was just wondering what other people use/suggest using when it comes to using cameras in games. So far I've been using this, http://bryanheisey.com/blog/?p=1 but it seems a bit cpu intensive especially when deali…

---

## [Problem passing color values from XML to Flash](https://forum.kirupa.com/t/problem-passing-color-values-from-xml-to-flash/293823)

<div class="topic-metadata">

**Author:** [@humbucker](https://forum.kirupa.com/u/humbucker)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 11:01am UTC](https://forum.kirupa.com/t/problem-passing-color-values-from-xml-to-flash/293823 "2009-08-04T11:01:51Z")

</div>

Hello, I'm facing a strange little problem trying to transfer values from an XML file to my main Flahs document class. Here is how I've done so far : \<?xml version="1.0" encoding="utf-8"?\> \<xml\> \<bgGradientCol…

---

## [Copypixel not replace Transparent pixels?](https://forum.kirupa.com/t/copypixel-not-replace-transparent-pixels/293820)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 10:56am UTC](https://forum.kirupa.com/t/copypixel-not-replace-transparent-pixels/293820 "2009-08-04T10:56:37Z")

</div>

Hi, I'm trying to use copypixel to copy an image and paste it onto an existing bitmap. However, the image I'm trying to copy has transparent pixels so when CopyPixel's pastes the image onto my existing bitmap, the pixe…

---

## [Random stopping](https://forum.kirupa.com/t/random-stopping/293819)

<div class="topic-metadata">

**Author:** [@eschu](https://forum.kirupa.com/u/eschu)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 10:38am UTC](https://forum.kirupa.com/t/random-stopping/293819 "2009-08-04T10:38:00Z")

</div>

When I play file locally, as in preview it through Fl CS4 it views fine all the buttons work and everything transitions smoothly. However, when I view it in Firefox or Google Chrome I get bizarre stops that occur as a fa…

---

## [MP3 Player Problem - Streatming Song Restarts One Fully Loaded](https://forum.kirupa.com/t/mp3-player-problem-streatming-song-restarts-one-fully-loaded/293816)

<div class="topic-metadata">

**Author:** [@Plasmic\_Steve](https://forum.kirupa.com/u/Plasmic_Steve)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 9:57am UTC](https://forum.kirupa.com/t/mp3-player-problem-streatming-song-restarts-one-fully-loaded/293816 "2009-08-04T09:57:07Z")

</div>

Has anyone else had this problem? I have a very simple Flash/XML MP3 player: http://stevespatucci.com/pms/musictest You click on one of the song bars, and the bar loads an external .mp3 into the actual player (the Pl…

---

## [Local Connection w/Loaded SWF](https://forum.kirupa.com/t/local-connection-w-loaded-swf/293814)

<div class="topic-metadata">

**Author:** [@inALilBit](https://forum.kirupa.com/u/inALilBit)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 9:09am UTC](https://forum.kirupa.com/t/local-connection-w-loaded-swf/293814 "2009-08-04T09:09:20Z")

</div>

We've been stuck on this for the last two days, and I thought now was finally the time to seek help. What we are trying to do is import a swf generated by PHP's Ming that contains two variables needed to run the anothe…

---

## [How to add random mc from library?](https://forum.kirupa.com/t/how-to-add-random-mc-from-library/293813)

<div class="topic-metadata">

**Author:** [@fjckls](https://forum.kirupa.com/u/fjckls)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 9:06am UTC](https://forum.kirupa.com/t/how-to-add-random-mc-from-library/293813 "2009-08-04T09:06:24Z")

</div>

Hi, How to add random movie clip to stage from many different movie clips in library? If I wanted to add one movie clip to stage I would do liko so: stage.addEventListener(MouseEvent.MOUSE\_MOVE, onMove); function onM…

---

## [How to convert HD video to MP4/YouTube/MPEG video](https://forum.kirupa.com/t/how-to-convert-hd-video-to-mp4-youtube-mpeg-video/293811)

<div class="topic-metadata">

**Author:** [@Yaharous](https://forum.kirupa.com/u/Yaharous)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 7:49am UTC](https://forum.kirupa.com/t/how-to-convert-hd-video-to-mp4-youtube-mpeg-video/293811 "2009-08-04T07:49:51Z")

</div>

Maybe some people will ask: what is HD video and why it can be widely used? \*\*Answer: \*\* High-definition video or HD video refers to any video system of higher resolution than standard-definition (SD) video, and most com…

---

## [Error #1009](https://forum.kirupa.com/t/error-1009/293810)

<div class="topic-metadata">

**Author:** [@General\_Tso](https://forum.kirupa.com/u/General_Tso)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 7:38am UTC](https://forum.kirupa.com/t/error-1009/293810 "2009-08-04T07:38:31Z")

</div>

I am new to flash. I am experiencing random (at least to me) errors (#1009) while navigating through my tested file. I can’t reproduce them everytime. It only happens sometimes. Usually they occur after I have clicked ba…

---

## [ActionScript3.0 output error. Type Error #1034](https://forum.kirupa.com/t/actionscript3-0-output-error-type-error-1034/293807)

<div class="topic-metadata">

**Author:** [@millielee](https://forum.kirupa.com/u/millielee)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 7:23am UTC](https://forum.kirupa.com/t/actionscript3-0-output-error-type-error-1034/293807 "2009-08-04T07:23:00Z")

</div>

Hi everyone, Im creating a navigation menu bar, and have problem in output=) TypeError: Error #1034: Type Coercion failed: cannot convert flash.text::TextField@3271089 to flash.display.MovieClip. at Untitled\_fla::Main…

---

## [TweenMax Volume](https://forum.kirupa.com/t/tweenmax-volume/293806)

<div class="topic-metadata">

**Author:** [@colouredFunk](https://forum.kirupa.com/u/colouredFunk)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 7:07am UTC](https://forum.kirupa.com/t/tweenmax-volume/293806 "2009-08-04T07:07:58Z")

</div>

Hello, I am trying to fade out some audio, using the code below, but I keep getting this error - ReferenceError: Error #1069: Property volume not found on flash.media.Sound and there is no default value. at gs::TweenL…

---

## [removeChild but don't know where or how](https://forum.kirupa.com/t/removechild-but-dont-know-where-or-how/293805)

<div class="topic-metadata">

**Author:** [@spyderfx](https://forum.kirupa.com/u/spyderfx)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 6:59am UTC](https://forum.kirupa.com/t/removechild-but-dont-know-where-or-how/293805 "2009-08-04T06:59:22Z")

</div>

I keep getting this Error RangeError: Error #2006: The supplied index is out of bounds. at flash.display::DisplayObjectContainer/addChildAt() at stage\_fla::MainTimeline/frame2() TypeError: Error #1009: Cannot a…

---

## [Flash fill div](https://forum.kirupa.com/t/flash-fill-div/293803)

<div class="topic-metadata">

**Author:** [@euphoria2009](https://forum.kirupa.com/u/euphoria2009)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 6:51am UTC](https://forum.kirupa.com/t/flash-fill-div/293803 "2009-08-04T06:51:16Z")

</div>

I have a div created in css that resizes according to screen size. I need my flash movie to fill that div as it resizes to different wdiths and heights. I need my movie content to remain in the scale i designed it. How w…

---

## [Vcam problem](https://forum.kirupa.com/t/vcam-problem/293802)

<div class="topic-metadata">

**Author:** [@jayjam10](https://forum.kirupa.com/u/jayjam10)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 6:48am UTC](https://forum.kirupa.com/t/vcam-problem/293802 "2009-08-04T06:48:29Z")

</div>

I installed a vcam on my game but i have a problem. I put a health bar at the bottom left of the screen but it kind of vibrates a couple of pixels depending on the players movement. I made my vcam visible and found out i…

---

## [Newbie help: Create/Run Functions from xml attribute?](https://forum.kirupa.com/t/newbie-help-create-run-functions-from-xml-attribute/293798)

<div class="topic-metadata">

**Author:** [@adlib33](https://forum.kirupa.com/u/adlib33)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 5:28am UTC](https://forum.kirupa.com/t/newbie-help-create-run-functions-from-xml-attribute/293798 "2009-08-04T05:28:32Z")

</div>

Is it possible to pull a function (and run it) from an xml attribute? I have a dynamic xml menu with lots of buttons and sub buttons function subButtnClick(........ if(String(\_xml.item\[\_off.parent.id\].subitem\[\_subO…

---

## [Need Firefox/Safari fix: text floats over image](https://forum.kirupa.com/t/need-firefox-safari-fix-text-floats-over-image/293797)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 4:18am UTC](https://forum.kirupa.com/t/need-firefox-safari-fix-text-floats-over-image/293797 "2009-08-04T04:18:49Z")

</div>

\<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"\> \<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/x…

---

## [Appending variable to MCL Object within a class](https://forum.kirupa.com/t/appending-variable-to-mcl-object-within-a-class/293794)

<div class="topic-metadata">

**Author:** [@sk8er5960](https://forum.kirupa.com/u/sk8er5960)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 2:17am UTC](https://forum.kirupa.com/t/appending-variable-to-mcl-object-within-a-class/293794 "2009-08-04T02:17:08Z")

</div>

So i'm trying to build a dynamic gallery class where each thumbnail has it's own preloader, using the MovieClipLoader(). I'm making it so i can pull all the gallery img paths from a php page that spits it all out as a st…

---

## [Stack overflow error on only 4 class instantiations](https://forum.kirupa.com/t/stack-overflow-error-on-only-4-class-instantiations/293793)

<div class="topic-metadata">

**Author:** [@clem\_c\_rock](https://forum.kirupa.com/u/clem_c_rock)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 1:28am UTC](https://forum.kirupa.com/t/stack-overflow-error-on-only-4-class-instantiations/293793 "2009-08-04T01:28:49Z")

</div>

Hello, I'm having a strange problem w/ stack overflow errors after instantiating a simple class only 4 times. The strange thing is that when I put a trace statement where the classes are instantiated, it clears up …

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

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