# programming

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

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

**Page:** 613

---

## [Need to stop Multiple External Playback Flv that are in the same swf](https://forum.kirupa.com/t/need-to-stop-multiple-external-playback-flv-that-are-in-the-same-swf/301530)

<div class="topic-metadata">

**Author:** [@thevibe](https://forum.kirupa.com/u/thevibe)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 6:48pm UTC](https://forum.kirupa.com/t/need-to-stop-multiple-external-playback-flv-that-are-in-the-same-swf/301530 "2009-12-10T18:48:25Z")

</div>

Hi guys, I have 4 videos (external playback flv) that can be play pressing 4 buttons. I noticed that when I decided to jump to another video the first video will still continue to load anyway. What can I write to tell …

---

## [Simple Animation Tutorial - CS4](https://forum.kirupa.com/t/simple-animation-tutorial-cs4/301526)

<div class="topic-metadata">

**Author:** [@macloo](https://forum.kirupa.com/u/macloo)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 6:00pm UTC](https://forum.kirupa.com/t/simple-animation-tutorial-cs4/301526 "2009-12-10T18:00:09Z")

</div>

Here is a new tutorial for beginners in CS4. If you are having trouble learning how to use the new motion tween on the Timeline, this should help. http://www.flashjournalism.com/tutorials/animation\_basics.html The tu…

---

## [Dragging a movie clip](https://forum.kirupa.com/t/dragging-a-movie-clip/301525)

<div class="topic-metadata">

**Author:** [@cornnut](https://forum.kirupa.com/u/cornnut)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 5:48pm UTC](https://forum.kirupa.com/t/dragging-a-movie-clip/301525 "2009-12-10T17:48:56Z")

</div>

I am creating an interactive mat that has a main map movie clip and in that movie clip are several more movie clips that change color when clicked. I implemented dragging in order to pan across the map while zoomed and n…

---

## [Problem with imagecopyresampled](https://forum.kirupa.com/t/problem-with-imagecopyresampled/301524)

<div class="topic-metadata">

**Author:** [@pod\_clock](https://forum.kirupa.com/u/pod_clock)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 5:09pm UTC](https://forum.kirupa.com/t/problem-with-imagecopyresampled/301524 "2009-12-10T17:09:12Z")

</div>

Hi, hoping someone can help me with an upload script I'm using with Flash. The script tests the width and height of the uploaded file and if either are over a max value the image gets resampled to the max width and heigh…

---

## [Open external file](https://forum.kirupa.com/t/open-external-file/301521)

<div class="topic-metadata">

**Author:** [@mindtricks1](https://forum.kirupa.com/u/mindtricks1)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 4:06pm UTC](https://forum.kirupa.com/t/open-external-file/301521 "2009-12-10T16:06:10Z")

</div>

Hi there! I am building an Air app with Flash CS4 AS3 and I wonder how can I launch an external file located on my local hdd. For example, I'ld like to shutdown.exe -s -m -f -t 1 Or just open C:\\program files\\winamp…

---

## [Help! error 1120!](https://forum.kirupa.com/t/help-error-1120/301520)

<div class="topic-metadata">

**Author:** [@m33gzz](https://forum.kirupa.com/u/m33gzz)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 3:39pm UTC](https://forum.kirupa.com/t/help-error-1120/301520 "2009-12-10T15:39:23Z")

</div>

So i'm getting this 1120: Access of undefined property btnAbout. and to me that means I'm missing an instance name or it spelled wrong and, it's not. i'm just trying to link my pages of my website together via the displ…

---

## [AS3 Courses](https://forum.kirupa.com/t/as3-courses/301518)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 3:24pm UTC](https://forum.kirupa.com/t/as3-courses/301518 "2009-12-10T15:24:17Z")

</div>

Hello, I hope this is not an inappropriate question for this forum. Has anyone attended an in-residence AS3 course? 3 to 5 days. Beginner to intermediate. I am looking around at some different places but thought I w…

---

## [Help in modifying 3D Carousel Behaviour](https://forum.kirupa.com/t/help-in-modifying-3d-carousel-behaviour/301514)

<div class="topic-metadata">

**Author:** [@OptionXplicit](https://forum.kirupa.com/u/OptionXplicit)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 2:21pm UTC](https://forum.kirupa.com/t/help-in-modifying-3d-carousel-behaviour/301514 "2009-12-10T14:21:47Z")

</div>

http://theflashblog.com/?p=188 I've read/viewed this tutorial and I want to tweak its behaviour to suite these requirements: Carousel must be static unless one of the icons are clicked. When an icon is clicked, the …

---

## [Can Someone direct me to the Facebook-Actionscript-Api for actionscript 2.0?](https://forum.kirupa.com/t/can-someone-direct-me-to-the-facebook-actionscript-api-for-actionscript-2-0/301512)

<div class="topic-metadata">

**Author:** [@FahimAkhter](https://forum.kirupa.com/u/FahimAkhter)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 1:39pm UTC](https://forum.kirupa.com/t/can-someone-direct-me-to-the-facebook-actionscript-api-for-actionscript-2-0/301512 "2009-12-10T13:39:48Z")

</div>

Hi, Working on a game in flash I just could not find myself a decent API to communicate with facebook using actionscript 2.0. Could someone please redirect me in the right direction?

---

## [How can I be sure which debug player version I have in Flash CS4?](https://forum.kirupa.com/t/how-can-i-be-sure-which-debug-player-version-i-have-in-flash-cs4/301510)

<div class="topic-metadata">

**Author:** [@Dimitree](https://forum.kirupa.com/u/Dimitree)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 12:38pm UTC](https://forum.kirupa.com/t/how-can-i-be-sure-which-debug-player-version-i-have-in-flash-cs4/301510 "2009-12-10T12:38:02Z")

</div>

Is there any way?

---

## [Button rollover / rollout effects](https://forum.kirupa.com/t/button-rollover-rollout-effects/301509)

<div class="topic-metadata">

**Author:** [@johnw6761](https://forum.kirupa.com/u/johnw6761)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 12:30pm UTC](https://forum.kirupa.com/t/button-rollover-rollout-effects/301509 "2009-12-10T12:30:14Z")

</div>

Hi I have followed the tutorial: \[COLOR=#003366\]http://www.kirupa.com/developer/mx20...ton\_effect.htm\[/COLOR\] Basically I am trying to create a drop down menu from this. However when you place a movieclip insid…

---

## [as3 syntax error: package is unexpected](https://forum.kirupa.com/t/as3-syntax-error-package-is-unexpected/301507)

<div class="topic-metadata">

**Author:** [@synnyzter](https://forum.kirupa.com/u/synnyzter)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 12:21pm UTC](https://forum.kirupa.com/t/as3-syntax-error-package-is-unexpected/301507 "2009-12-10T12:21:57Z")

</div>

So I'm new to AS3, I am trying to convert my as2 to as3 for my movie and I am getting this error: Line 1: 1083: syntax error: package is unexpected Anyone see what I am missing here? package { import flash.dis…

---

## [MovieClip brightness](https://forum.kirupa.com/t/movieclip-brightness/301505)

<div class="topic-metadata">

**Author:** [@ash\_at\_risk](https://forum.kirupa.com/u/ash_at_risk)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 11:18am UTC](https://forum.kirupa.com/t/movieclip-brightness/301505 "2009-12-10T11:18:12Z")

</div>

i have imported the package:- import fl.motion.\*; & trying to trace the brightness of myFrame(which is instance name of my MovieClip) as trace(myFrame.brightness); to my surprise it shows undefined, what could be left u…

---

## [Saving ASDoc info AS XML](https://forum.kirupa.com/t/saving-asdoc-info-as-xml/301504)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 10:04am UTC](https://forum.kirupa.com/t/saving-asdoc-info-as-xml/301504 "2009-12-10T10:04:13Z")

</div>

Well, I \*could \*sift through all HTML pages and write code that extracts the information, or even start from scratch and do the same for AS files, but I'd rather not. I would like to use the ASDoc information from one …

---

## [Correct syntax for this XML operation](https://forum.kirupa.com/t/correct-syntax-for-this-xml-operation/301501)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 6:01am UTC](https://forum.kirupa.com/t/correct-syntax-for-this-xml-operation/301501 "2009-12-10T06:01:17Z")

</div>

I have an XML menu that has submenu items I am trying to display properly. If the "item" node contains child nodes named "subitem" then the subitem text is displayed as the submenu. My current submenu code looks like thi…

---

## [Flash and Vector Graphics](https://forum.kirupa.com/t/flash-and-vector-graphics/301498)

<div class="topic-metadata">

**Author:** [@BeerOclock](https://forum.kirupa.com/u/BeerOclock)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 4:03am UTC](https://forum.kirupa.com/t/flash-and-vector-graphics/301498 "2009-12-10T04:03:07Z")

</div>

When you draw things in Flash CS3 IDE, you're creating vector graphics. I like to use another program, called Inkscape, which also lets you draw vector graphics. (Inkscape is the open source answer to Adobe Illustrato…

---

## [\[Flash8\] Problem getting sound to play when Keyboard button is hit](https://forum.kirupa.com/t/flash8-problem-getting-sound-to-play-when-keyboard-button-is-hit/301496)

<div class="topic-metadata">

**Author:** [@Dirty\_d](https://forum.kirupa.com/u/Dirty_d)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 2:38am UTC](https://forum.kirupa.com/t/flash8-problem-getting-sound-to-play-when-keyboard-button-is-hit/301496 "2009-12-10T02:38:36Z")

</div>

I think worded the question wrong or posted in the wrong catagory I keep geting error messages with this code in AS2.0 if (key.isDown(key.getCode(81))) { \_root.samplesound=new Sound(); \_root.samplesound.attachSound(…

---

## [Add actions to XML Driven Drop Down Menu](https://forum.kirupa.com/t/add-actions-to-xml-driven-drop-down-menu/301495)

<div class="topic-metadata">

**Author:** [@Tepoztlan](https://forum.kirupa.com/u/Tepoztlan)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 2:37am UTC](https://forum.kirupa.com/t/add-actions-to-xml-driven-drop-down-menu/301495 "2009-12-10T02:37:44Z")

</div>

I want to add actions (other than "gotoURL") to the XML Driven Drop Down Menu (tutorial on this site) - particularly internal site navigation - ie, gotoAndStop(). Any help would be appreciated. Cheers.

---

## [How to stop a variable from resetting](https://forum.kirupa.com/t/how-to-stop-a-variable-from-resetting/301494)

<div class="topic-metadata">

**Author:** [@Nall](https://forum.kirupa.com/u/Nall)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 2:29am UTC](https://forum.kirupa.com/t/how-to-stop-a-variable-from-resetting/301494 "2009-12-10T02:29:39Z")

</div>

Hi. I've got a list in a flash app that when an item is clicked it should add a number to a dynamic text field, my problem is that the variable I declare to store the number in either always resets to 0/ doesn't add th…

---

## [MOUSE\_UP event does not fire when using a "wrapper" from other domain](https://forum.kirupa.com/t/mouse-up-event-does-not-fire-when-using-a-wrapper-from-other-domain/301493)

<div class="topic-metadata">

**Author:** [@zhangxiaorui](https://forum.kirupa.com/u/zhangxiaorui)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 2:04am UTC](https://forum.kirupa.com/t/mouse-up-event-does-not-fire-when-using-a-wrapper-from-other-domain/301493 "2009-12-10T02:04:54Z")

</div>

I added event listeners for stage’s mouse up, and everything works fine if I directly embed the SWF. But if I use my partner’s wrapper to load that swf, the mouse up event doesn’t fire. I track the “stage” instance and …

---

## [Proof-of-Concept Programming](https://forum.kirupa.com/t/proof-of-concept-programming/301492)

<div class="topic-metadata">

**Author:** [@manpumpkin](https://forum.kirupa.com/u/manpumpkin)\
**Replies:** 0\
**Last updated:** [December 10, 2009, 1:28am UTC](https://forum.kirupa.com/t/proof-of-concept-programming/301492 "2009-12-10T01:28:59Z")

</div>

Alright so I'm working on a proof-of-concept escape game and I need a little help with the programming. I'm new to AS3, so keep your replies simple so I can understand them =P First of all, when switching scenes by cli…

---

## [Need HELP Targeting a Movieclip inside a Scroll pane \[AS3\]](https://forum.kirupa.com/t/need-help-targeting-a-movieclip-inside-a-scroll-pane-as3/301489)

<div class="topic-metadata">

**Author:** [@mnat](https://forum.kirupa.com/u/mnat)\
**Replies:** 0\
**Last updated:** [December 9, 2009, 11:49pm UTC](https://forum.kirupa.com/t/need-help-targeting-a-movieclip-inside-a-scroll-pane-as3/301489 "2009-12-09T23:49:10Z")

</div>

Hi, I have been searching for an answer to this and can't seem to find one for AS3: I have a scroll pane component that dynamically loads a movie clip from my library. This movie clip has buttons inside that I would …

---

## [Form Variables from multiple MCs](https://forum.kirupa.com/t/form-variables-from-multiple-mcs/301486)

<div class="topic-metadata">

**Author:** [@hpaum99](https://forum.kirupa.com/u/hpaum99)\
**Replies:** 0\
**Last updated:** [December 9, 2009, 10:56pm UTC](https://forum.kirupa.com/t/form-variables-from-multiple-mcs/301486 "2009-12-09T22:56:26Z")

</div>

I am using the Kirupa email form to gather some results on a form... How can I load variables from 2 different movieclips to post in the php? I tried... \_root.loadVariables("email.php","POST"); \_root.myMC.loadVariabl…

---

## ["new Number(1.23)" vs. "Number(1.23)" vs. "1.23"](https://forum.kirupa.com/t/new-number-1-23-vs-number-1-23-vs-1-23/301481)

<div class="topic-metadata">

**Author:** [@ell022](https://forum.kirupa.com/u/ell022)\
**Replies:** 0\
**Last updated:** [December 9, 2009, 9:16pm UTC](https://forum.kirupa.com/t/new-number-1-23-vs-number-1-23-vs-1-23/301481 "2009-12-09T21:16:30Z")

</div>

var a:Number = new Number(1.23); var b:Number = Number(1.23); var c:Number = 1.23; var d:String = new String("abc"); var e:String = String("abc"); var f:String = "abc" var g:Array = new Array("a", "b", "c"); // var h:…

---

## [Bringing in child](https://forum.kirupa.com/t/bringing-in-child/301479)

<div class="topic-metadata">

**Author:** [@DaapStudent](https://forum.kirupa.com/u/DaapStudent)\
**Replies:** 0\
**Last updated:** [December 9, 2009, 9:06pm UTC](https://forum.kirupa.com/t/bringing-in-child/301479 "2009-12-09T21:06:25Z")

</div>

here is the code Continue30.addEventListener(MouseEvent.MOUSE\_DOWN, ChangeTo35); function ChangeTo35(e:MouseEvent):void { while (stage.numChildren \> 0) { stage.removeChildAt(stage.numChildren-1); if (stage == null…

---

## [Is a Global Function the same as Plublic Function?](https://forum.kirupa.com/t/is-a-global-function-the-same-as-plublic-function/301475)

<div class="topic-metadata">

**Author:** [@pillageTHENburn](https://forum.kirupa.com/u/pillageTHENburn)\
**Replies:** 0\
**Last updated:** [December 9, 2009, 8:06pm UTC](https://forum.kirupa.com/t/is-a-global-function-the-same-as-plublic-function/301475 "2009-12-09T20:06:47Z")

</div>

I need to apologize for my ignorance, I am really new to all of this. I really need help with this! I have a bunch of movie clips which I am adding to my stage using addChild, I need each clip to "fade in" when it is …

---

## [Tenis Game, Ball Height Effect and Baseball effect](https://forum.kirupa.com/t/tenis-game-ball-height-effect-and-baseball-effect/301474)

<div class="topic-metadata">

**Author:** [@qRTe](https://forum.kirupa.com/u/qRTe)\
**Replies:** 0\
**Last updated:** [December 9, 2009, 8:01pm UTC](https://forum.kirupa.com/t/tenis-game-ball-height-effect-and-baseball-effect/301474 "2009-12-09T20:01:42Z")

</div>

I'm new in making Flash Games. So i played something like this: http://www.gamedesign.jp/flash/tennis/tennis.html I'm wondering how to create an effect, of different tennis ball height. When ball is hitted, for a sec…

---

## [AS3 Trouble moving mc in relation to the mouseX](https://forum.kirupa.com/t/as3-trouble-moving-mc-in-relation-to-the-mousex/301473)

<div class="topic-metadata">

**Author:** [@wuzzi2ya](https://forum.kirupa.com/u/wuzzi2ya)\
**Replies:** 0\
**Last updated:** [December 9, 2009, 7:50pm UTC](https://forum.kirupa.com/t/as3-trouble-moving-mc-in-relation-to-the-mousex/301473 "2009-12-09T19:50:59Z")

</div>

Issue: Im am trying to animate a movieClip in relation to the mouseX (cursor). If I move my mouse to the left, I would like the movieClip.x to move in the opposite direction as well as movieClip.z and rotationY. Pleas…

---

## [Problems with swf caching on my server](https://forum.kirupa.com/t/problems-with-swf-caching-on-my-server/301471)

<div class="topic-metadata">

**Author:** [@caseysteffen](https://forum.kirupa.com/u/caseysteffen)\
**Replies:** 0\
**Last updated:** [December 9, 2009, 6:54pm UTC](https://forum.kirupa.com/t/problems-with-swf-caching-on-my-server/301471 "2009-12-09T18:54:37Z")

</div>

So, I've been having some weird issues when I update swf's on my server, and they've only gotten worse sense I update to Windows 7. Essentially, when I go to test the updated swf file, I continue to load the previous. …

---

## [Triggering sounds when a keybord key is pushed using Flash CS3 AS2](https://forum.kirupa.com/t/triggering-sounds-when-a-keybord-key-is-pushed-using-flash-cs3-as2/301470)

<div class="topic-metadata">

**Author:** [@Dirty\_d](https://forum.kirupa.com/u/Dirty_d)\
**Replies:** 0\
**Last updated:** [December 9, 2009, 6:30pm UTC](https://forum.kirupa.com/t/triggering-sounds-when-a-keybord-key-is-pushed-using-flash-cs3-as2/301470 "2009-12-09T18:30:07Z")

</div>

Hi, I'm pretty new to flash and after reading numorous tutorials and several days of experimentation i'm still stumped. I'm trying to create a flash drum machine. I have a template created in illustrator with 16 "pads"…

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

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