# programming

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

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

**Page:** 542

---

## [Video problem in AS3](https://forum.kirupa.com/t/video-problem-in-as3/306124)

<div class="topic-metadata">

**Author:** [@worthless](https://forum.kirupa.com/u/worthless)\
**Replies:** 0\
**Last updated:** [March 10, 2010, 2:31am UTC](https://forum.kirupa.com/t/video-problem-in-as3/306124 "2010-03-10T02:31:29Z")

</div>

I attached the code here. The problem is after importing the video in the first frame while navigating the video sound is heard which means the video is still playing. How can I stop it when moving to other section. Her…

---

## [AS2 Timeline Help please](https://forum.kirupa.com/t/as2-timeline-help-please/306122)

<div class="topic-metadata">

**Author:** [@lazereth](https://forum.kirupa.com/u/lazereth)\
**Replies:** 0\
**Last updated:** [March 10, 2010, 2:11am UTC](https://forum.kirupa.com/t/as2-timeline-help-please/306122 "2010-03-10T02:11:35Z")

</div>

I am on a major time crunch right now since I need to have this site up and live about 3 mins from now. I know I probably wont get this fixed by then but the sooner the better. My issue is this and I wish I could have …

---

## [How is this code adding adding movieClips to the stage](https://forum.kirupa.com/t/how-is-this-code-adding-adding-movieclips-to-the-stage/306121)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [March 10, 2010, 1:18am UTC](https://forum.kirupa.com/t/how-is-this-code-adding-adding-movieclips-to-the-stage/306121 "2010-03-10T01:18:25Z")

</div>

Hi, I'm currently reading the book Learning Actionscript 3.0 and I cannot figure how this was done. In chapter 6, there is an example of Ingeritace, Encapsulation etc. where there is a class called Vehicle and from tha…

---

## [3d animation tutorial for AS3](https://forum.kirupa.com/t/3d-animation-tutorial-for-as3/306119)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [March 10, 2010, 12:20am UTC](https://forum.kirupa.com/t/3d-animation-tutorial-for-as3/306119 "2010-03-10T00:20:38Z")

</div>

Can someone recommend a beginner 3d animation tutorial for AS3? The ones I have found don't have much information in them. What I am trying to do is create an animation simulating playing cards being flipped over, and I …

---

## [How to clear Classes that were loaded from an external swf library?](https://forum.kirupa.com/t/how-to-clear-classes-that-were-loaded-from-an-external-swf-library/306118)

<div class="topic-metadata">

**Author:** [@beenetto](https://forum.kirupa.com/u/beenetto)\
**Replies:** 0\
**Last updated:** [March 10, 2010, 12:16am UTC](https://forum.kirupa.com/t/how-to-clear-classes-that-were-loaded-from-an-external-swf-library/306118 "2010-03-10T00:16:13Z")

</div>

Hi, Im working on a App that is using a external swf as a container for some graphical assets. An asset is a movieClip symbol with a class name attached to it. for example ASSET\_1. I load the swf with the Loader class …

---

## [Key handler does not see global objects](https://forum.kirupa.com/t/key-handler-does-not-see-global-objects/306117)

<div class="topic-metadata">

**Author:** [@rudeman](https://forum.kirupa.com/u/rudeman)\
**Replies:** 0\
**Last updated:** [March 10, 2010, 12:00am UTC](https://forum.kirupa.com/t/key-handler-does-not-see-global-objects/306117 "2010-03-10T00:00:31Z")

</div>

I'm making mobile aplication in Flash Lite 3.0. I've wanted to add key event handling, when some problem occured. Below is my class, which controls main menu with three buttons. Function onKey() is an event handler, but …

---

## [Firefox Mac AS 3.0 MouseEvents Bug](https://forum.kirupa.com/t/firefox-mac-as-3-0-mouseevents-bug/306113)

<div class="topic-metadata">

**Author:** [@eskalation\_dk](https://forum.kirupa.com/u/eskalation_dk)\
**Replies:** 0\
**Last updated:** [March 9, 2010, 10:32pm UTC](https://forum.kirupa.com/t/firefox-mac-as-3-0-mouseevents-bug/306113 "2010-03-09T22:32:00Z")

</div>

Hi, something weird is going on with Firefox on the mac, i don't know if the issue is also on the pc version, but - check it out. The issue is visible sometimes when clicking the black rectangle, flash throws the click…

---

## [I am confused!](https://forum.kirupa.com/t/i-am-confused/306108)

<div class="topic-metadata">

**Author:** [@brunoja](https://forum.kirupa.com/u/brunoja)\
**Replies:** 0\
**Last updated:** [March 9, 2010, 8:42pm UTC](https://forum.kirupa.com/t/i-am-confused/306108 "2010-03-09T20:42:24Z")

</div>

Hello! I started doing Flash things a few time ago. I dont intend to use or pay for IDEs, so I used FlashDevelop and installed Flex Opensource SDK. Now, I am doing a small game with actionscript.. Am I using Flash or F…

---

## [IE7 width wrapping issue](https://forum.kirupa.com/t/ie7-width-wrapping-issue/306105)

<div class="topic-metadata">

**Author:** [@hey\_suburbia](https://forum.kirupa.com/u/hey_suburbia)\
**Replies:** 0\
**Last updated:** [March 9, 2010, 6:49pm UTC](https://forum.kirupa.com/t/ie7-width-wrapping-issue/306105 "2010-03-09T18:49:54Z")

</div>

I just launched a site and made the stupid mistake of overlooking IE7 when testing, I was too focused on the backend of the project... http://204.12.43.47/ The site looks great in FF, Opera, Chrome, IE8, etc... but loo…

---

## [Interactive pie chart / odometer](https://forum.kirupa.com/t/interactive-pie-chart-odometer/306098)

<div class="topic-metadata">

**Author:** [@basscadet](https://forum.kirupa.com/u/basscadet)\
**Replies:** 0\
**Last updated:** [March 9, 2010, 5:03pm UTC](https://forum.kirupa.com/t/interactive-pie-chart-odometer/306098 "2010-03-09T17:03:14Z")

</div>

Hi all, here's what I need to do: I need to have a pie that is not 100% complete circle, like a pacman facing north. That area is static and represents a data range from 0.00 to 1200.00. I need to have another slice over…

---

## [Importing swfs - problem](https://forum.kirupa.com/t/importing-swfs-problem/306092)

<div class="topic-metadata">

**Author:** [@marlonpando](https://forum.kirupa.com/u/marlonpando)\
**Replies:** 0\
**Last updated:** [March 9, 2010, 3:29pm UTC](https://forum.kirupa.com/t/importing-swfs-problem/306092 "2010-03-09T15:29:17Z")

</div>

Anybody have an ideas? I am having a little trouble diagnosing a problem. Here is the deal: main.swf importing custom document class within the document class i am importing a mp3 player swf which has it's own custo…

---

## [How often you create custom classes for small projects](https://forum.kirupa.com/t/how-often-you-create-custom-classes-for-small-projects/306089)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [March 9, 2010, 1:45pm UTC](https://forum.kirupa.com/t/how-often-you-create-custom-classes-for-small-projects/306089 "2010-03-09T13:45:26Z")

</div>

Hi, I have been using AS3 for over a year but only to create some web pages with simple animations using tween Engines like TweenLite etc. without having to rely too much on custom classes, one reason is obviously b…

---

## [Constrain Movement to Path](https://forum.kirupa.com/t/constrain-movement-to-path/306087)

<div class="topic-metadata">

**Author:** [@mthicke](https://forum.kirupa.com/u/mthicke)\
**Replies:** 0\
**Last updated:** [March 9, 2010, 1:09pm UTC](https://forum.kirupa.com/t/constrain-movement-to-path/306087 "2010-03-09T13:09:05Z")

</div>

How would I allow the user to move (drag) a shape ie circle along a path but not off the path. If the path were a polyline, the shape could move back and forth and along the line but not completely off the line (but th…

---

## [Dynamic text Unloading by himself](https://forum.kirupa.com/t/dynamic-text-unloading-by-himself/306085)

<div class="topic-metadata">

**Author:** [@Elementss](https://forum.kirupa.com/u/Elementss)\
**Replies:** 0\
**Last updated:** [March 9, 2010, 12:15pm UTC](https://forum.kirupa.com/t/dynamic-text-unloading-by-himself/306085 "2010-03-09T12:15:31Z")

</div>

Hello, ive created a few dynamic text boxes in a MovieClip they move and get Blured via Motion Tween (New Motion Tween). load the text fields from an xml file.. var loader:URLLoader = new URLLoader(); loader.add…

---

## [AS3 children not behaving](https://forum.kirupa.com/t/as3-children-not-behaving/306084)

<div class="topic-metadata">

**Author:** [@ndesign\_ie](https://forum.kirupa.com/u/ndesign_ie)\
**Replies:** 0\
**Last updated:** [March 9, 2010, 12:02pm UTC](https://forum.kirupa.com/t/as3-children-not-behaving/306084 "2010-03-09T12:02:20Z")

</div>

Hi all, Bit of help needed with a flash movie. I have a movie which loads a child (with preloader). In that child i load multiple children(with preloaders) one at a time and use parent.removeChild(this); to remove the …

---

## [fileReference multiple download and preloader](https://forum.kirupa.com/t/filereference-multiple-download-and-preloader/306076)

<div class="topic-metadata">

**Author:** [@werehunt](https://forum.kirupa.com/u/werehunt)\
**Replies:** 0\
**Last updated:** [March 9, 2010, 8:58am UTC](https://forum.kirupa.com/t/filereference-multiple-download-and-preloader/306076 "2010-03-09T08:58:54Z")

</div>

this is a part of my code which i use for downloading files. this works fine when i download one file at a time. the problem is when i start downloading another file while previous is still downloading, my proloader frea…

---

## [Loop Multiple scenes](https://forum.kirupa.com/t/loop-multiple-scenes/306075)

<div class="topic-metadata">

**Author:** [@jazgirl20](https://forum.kirupa.com/u/jazgirl20)\
**Replies:** 0\
**Last updated:** [March 9, 2010, 8:54am UTC](https://forum.kirupa.com/t/loop-multiple-scenes/306075 "2010-03-09T08:54:54Z")

</div>

I need help. To begin with, my action script sucks, so I really need help badly. This is my problem. Created a flash banner ad on the first scene. Take note they're all under frame one because I used movie clips for t…

---

## [Dynamically add clip from library](https://forum.kirupa.com/t/dynamically-add-clip-from-library/306071)

<div class="topic-metadata">

**Author:** [@burger](https://forum.kirupa.com/u/burger)\
**Replies:** 0\
**Last updated:** [March 9, 2010, 7:37am UTC](https://forum.kirupa.com/t/dynamically-add-clip-from-library/306071 "2010-03-09T07:37:42Z")

</div>

I have clips in my library (Slide1, Slide2, etc) and I want to add them dynamically, this is how I'm adding them at the mo; switch (CS) { case 1 : \_slide1=new Slide1(); \_slide1.alpha=0; \_presentation.addChild(\_slide1…

---

## [Help! Simple, but I can't figure it out](https://forum.kirupa.com/t/help-simple-but-i-cant-figure-it-out/306070)

<div class="topic-metadata">

**Author:** [@Ampdeck](https://forum.kirupa.com/u/Ampdeck)\
**Replies:** 0\
**Last updated:** [March 9, 2010, 6:50am UTC](https://forum.kirupa.com/t/help-simple-but-i-cant-figure-it-out/306070 "2010-03-09T06:50:35Z")

</div>

How do I do a onRollOver detect without using the onRollOver function? I have a movieclip and when it's rolled over I have it zooming using the AS2 tween function. In that movieclip there's a form with fields, and if…

---

## [URLLoader not working in Browser but in Dev Area](https://forum.kirupa.com/t/urlloader-not-working-in-browser-but-in-dev-area/306061)

<div class="topic-metadata">

**Author:** [@BuddhaPirate](https://forum.kirupa.com/u/BuddhaPirate)\
**Replies:** 0\
**Last updated:** [March 9, 2010, 2:06am UTC](https://forum.kirupa.com/t/urlloader-not-working-in-browser-but-in-dev-area/306061 "2010-03-09T02:06:46Z")

</div>

So I have a contact form that works flawlessly in the Flash development area, but doesn't work in-browser. I've tried in multiple browsers, and it doesn't work in any of them. Here is the relevant AS3 code: var url:…

---

## [jQuery help!](https://forum.kirupa.com/t/jquery-help/306057)

<div class="topic-metadata">

**Author:** [@saucey](https://forum.kirupa.com/u/saucey)\
**Replies:** 0\
**Last updated:** [March 9, 2010, 1:41am UTC](https://forum.kirupa.com/t/jquery-help/306057 "2010-03-09T01:41:52Z")

</div>

this is the scroll on click effect i am looking for, but the code for this is way to complex i would know were to start editing, wondering if anyone knows something a lil more simpler.... http://flowplayer.org/tools/scro…

---

## [Stage Resize + Math](https://forum.kirupa.com/t/stage-resize-math/306053)

<div class="topic-metadata">

**Author:** [@alemieux34](https://forum.kirupa.com/u/alemieux34)\
**Replies:** 0\
**Last updated:** [March 9, 2010, 12:18am UTC](https://forum.kirupa.com/t/stage-resize-math/306053 "2010-03-09T00:18:40Z")

</div>

I've got a Movie Clip on the bottom of my stage that's being positioned on Stage Resize: drawer\_mc.y = sh - drawer\_mc.height + 120; It has a button on it that, when clicked, will change the Y position so that it ope…

---

## [Simple Moving Text in TextField](https://forum.kirupa.com/t/simple-moving-text-in-textfield/306049)

<div class="topic-metadata">

**Author:** [@GordonFlash](https://forum.kirupa.com/u/GordonFlash)\
**Replies:** 0\
**Last updated:** [March 8, 2010, 10:00pm UTC](https://forum.kirupa.com/t/simple-moving-text-in-textfield/306049 "2010-03-08T22:00:57Z")

</div>

Now this may sound so obvious to you, but I truly cannot find any help about this one, on the web, whatsoever. \*\*What I want, is to move a text from right to left (like stock market prices) in a Dynamic Text Field of…

---

## [Flickr/Google/Bing Image Search API](https://forum.kirupa.com/t/flickr-google-bing-image-search-api/306048)

<div class="topic-metadata">

**Author:** [@tcabaco](https://forum.kirupa.com/u/tcabaco)\
**Replies:** 0\
**Last updated:** [March 8, 2010, 9:49pm UTC](https://forum.kirupa.com/t/flickr-google-bing-image-search-api/306048 "2010-03-08T21:49:06Z")

</div>

Hi everyone, I'm currently using the Flickr Image Search API to load the first result of a string query as a background image for my site. Here's how it's looking so far: http://www.tiagocabaco.com/other/im2\_type\_wip/ …

---

## [Button Click event-make text appear](https://forum.kirupa.com/t/button-click-event-make-text-appear/306045)

<div class="topic-metadata">

**Author:** [@mb325](https://forum.kirupa.com/u/mb325)\
**Replies:** 0\
**Last updated:** [March 8, 2010, 9:31pm UTC](https://forum.kirupa.com/t/button-click-event-make-text-appear/306045 "2010-03-08T21:31:03Z")

</div>

Im thinking this is easy but i cant figure it out. See attached file. When the side button is clicked and the user chooses the red or blue button, I want the color name that was chosen to show up and replace the word gra…

---

## [Is this a memory hole or just my bad code?](https://forum.kirupa.com/t/is-this-a-memory-hole-or-just-my-bad-code/306044)

<div class="topic-metadata">

**Author:** [@davec](https://forum.kirupa.com/u/davec)\
**Replies:** 0\
**Last updated:** [March 8, 2010, 9:05pm UTC](https://forum.kirupa.com/t/is-this-a-memory-hole-or-just-my-bad-code/306044 "2010-03-08T21:05:37Z")

</div>

Now I've removed my previous idiot's mistake ('why has this stopped working', below), my kiosk program runs fine - for a while. It's set to go to remove all eventListeners, go to frame 2, load and play a random f4v if …

---

## [Constrain movement to path](https://forum.kirupa.com/t/constrain-movement-to-path/306043)

<div class="topic-metadata">

**Author:** [@mthicke](https://forum.kirupa.com/u/mthicke)\
**Replies:** 0\
**Last updated:** [March 8, 2010, 7:53pm UTC](https://forum.kirupa.com/t/constrain-movement-to-path/306043 "2010-03-08T19:53:02Z")

</div>

How would I allow the user to move (drag) a shape ie circle along a path but not off the path. If the path were a polyline, the shape could move back and forth and along the line but not completely off the line (but th…

---

## [XML data without Fla?](https://forum.kirupa.com/t/xml-data-without-fla/306041)

<div class="topic-metadata">

**Author:** [@DemonGibi](https://forum.kirupa.com/u/DemonGibi)\
**Replies:** 0\
**Last updated:** [March 8, 2010, 6:44pm UTC](https://forum.kirupa.com/t/xml-data-without-fla/306041 "2010-03-08T18:44:06Z")

</div>

Hi there, I was searching for XML tutorials.. All of them show a fla file, some code in first frame, some buttons and textfield in the library.. They use the buton to activate script and show the data in the textfield. N…

---

## [VERY BASIC question... pass value to a php file.. pls help!](https://forum.kirupa.com/t/very-basic-question-pass-value-to-a-php-file-pls-help/306040)

<div class="topic-metadata">

**Author:** [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Replies:** 0\
**Last updated:** [March 8, 2010, 6:25pm UTC](https://forum.kirupa.com/t/very-basic-question-pass-value-to-a-php-file-pls-help/306040 "2010-03-08T18:25:45Z")

</div>

Hi there... For some reason i am not able to pass a value to a php file and display it.. Any help would be appreciated... Thanks... My actionscript code: m\_t = "hello world"; getURL("http://localhost/reg\_vis.php?m\_t…

---

## [Gradients Angle/Radians Problem?!?](https://forum.kirupa.com/t/gradients-angle-radians-problem/306037)

<div class="topic-metadata">

**Author:** [@kbaseconnect](https://forum.kirupa.com/u/kbaseconnect)\
**Replies:** 0\
**Last updated:** [March 8, 2010, 5:35pm UTC](https://forum.kirupa.com/t/gradients-angle-radians-problem/306037 "2010-03-08T17:35:12Z")

</div>

Hi All Hope you can help? I am trying to draw a box shape on screen which fills with a gradient, but according to the angle between your start and end mouse points. ie, if you draw from 100x100 to 200,200, the angle …

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

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