# programming

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

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

**Page:** 217

---

## [\[need help\] need to stop music player from autoplay](https://forum.kirupa.com/t/need-help-need-to-stop-music-player-from-autoplay/325778)

<div class="topic-metadata">

**Author:** [@stewiek](https://forum.kirupa.com/u/stewiek)\
**Replies:** 0\
**Last updated:** [November 3, 2011, 11:48pm UTC](https://forum.kirupa.com/t/need-help-need-to-stop-music-player-from-autoplay/325778 "2011-11-03T23:48:11Z")

</div>

The script below autoplay mp3 music in xml list. How do i prevent it from autoplaying. I want it to be able to be play continously ONLY when user clicks on play. thanks import flash.filters.DropShadowFilter; var …

---

## [HELP determining Shape drawn by mouse?!](https://forum.kirupa.com/t/help-determining-shape-drawn-by-mouse/325776)

<div class="topic-metadata">

**Author:** [@ubergoten](https://forum.kirupa.com/u/ubergoten)\
**Replies:** 0\
**Last updated:** [November 3, 2011, 9:07pm UTC](https://forum.kirupa.com/t/help-determining-shape-drawn-by-mouse/325776 "2011-11-03T21:07:40Z")

</div>

Hey everyone, I'm stumped on this. I'm trying to figure out how to determine the shape drawn my a person after mouse\_down event has been thrown. Currently I have an array that stores the points including the initial MO…

---

## [AS2 - Drag and Drop Scoring Coding problem](https://forum.kirupa.com/t/as2-drag-and-drop-scoring-coding-problem/325775)

<div class="topic-metadata">

**Author:** [@Tim\_Clifford](https://forum.kirupa.com/u/Tim_Clifford)\
**Replies:** 0\
**Last updated:** [November 3, 2011, 7:58pm UTC](https://forum.kirupa.com/t/as2-drag-and-drop-scoring-coding-problem/325775 "2011-11-03T19:58:55Z")

</div>

I am having a lot of trouble with finalising the coding for a drag and drop quiz. I'd like to get the submit button working so the scoring functionality works: so when certain objects are in the wright/wrong target are…

---

## [MergeSort explanation in C](https://forum.kirupa.com/t/mergesort-explanation-in-c/325774)

<div class="topic-metadata">

**Author:** [@touches](https://forum.kirupa.com/u/touches)\
**Replies:** 0\
**Last updated:** [November 3, 2011, 5:07pm UTC](https://forum.kirupa.com/t/mergesort-explanation-in-c/325774 "2011-11-03T17:07:42Z")

</div>

Hello all, I am confused with the recursion in Mergersort., i came across this C code and while trying to understand the recursion involved ,i added several trace statements to know he states of the variables. I am confu…

---

## [Can flash 'remember' where a movie clip has been moved to?](https://forum.kirupa.com/t/can-flash-remember-where-a-movie-clip-has-been-moved-to/325772)

<div class="topic-metadata">

**Author:** [@JinxBunny](https://forum.kirupa.com/u/JinxBunny)\
**Replies:** 0\
**Last updated:** [November 3, 2011, 3:11pm UTC](https://forum.kirupa.com/t/can-flash-remember-where-a-movie-clip-has-been-moved-to/325772 "2011-11-03T15:11:45Z")

</div>

Hey, I'm looking for some advice on how i can make a draggable movie clip remain in the position it was dragged to, when moving to another frame, then returning to the first. here's an example, say on\*\* frame one \*\*i…

---

## [Adsence add rotation script](https://forum.kirupa.com/t/adsence-add-rotation-script/325771)

<div class="topic-metadata">

**Author:** [@jdsflash](https://forum.kirupa.com/u/jdsflash)\
**Replies:** 0\
**Last updated:** [November 3, 2011, 2:49pm UTC](https://forum.kirupa.com/t/adsence-add-rotation-script/325771 "2011-11-03T14:49:20Z")

</div>

I want to display a different adsence add each time my page is refreshed. How could this be acomplished? Is there existing banner rotation scripts at allow you to inser scripts instead of images and links. The script…

---

## [Chat Application (Live class room)](https://forum.kirupa.com/t/chat-application-live-class-room/325770)

<div class="topic-metadata">

**Author:** [@Samfor](https://forum.kirupa.com/u/Samfor)\
**Replies:** 0\
**Last updated:** [November 3, 2011, 2:45pm UTC](https://forum.kirupa.com/t/chat-application-live-class-room/325770 "2011-11-03T14:45:03Z")

</div>

Hi there, I have received a project requirement to build an online video conferencing application. It is more like a live class room, that multiple users can see the Host video, but host can see the user only if requir…

---

## [Testing movie in CS4 produce nothing but a black window... help!](https://forum.kirupa.com/t/testing-movie-in-cs4-produce-nothing-but-a-black-window-help/325769)

<div class="topic-metadata">

**Author:** [@dbaseivom](https://forum.kirupa.com/u/dbaseivom)\
**Replies:** 0\
**Last updated:** [November 3, 2011, 12:43pm UTC](https://forum.kirupa.com/t/testing-movie-in-cs4-produce-nothing-but-a-black-window-help/325769 "2011-11-03T12:43:44Z")

</div>

I followed this tutorial: http://broskies.net/temp/tut.html but I work in CS4. I followed the tutorial to the letter, but apperantly there is something wrong... All I see when I test the movie is this: I tried to chang…

---

## [Flash MX Action Script 2.0 Platformer Game Problem](https://forum.kirupa.com/t/flash-mx-action-script-2-0-platformer-game-problem/325768)

<div class="topic-metadata">

**Author:** [@JamieCronk](https://forum.kirupa.com/u/JamieCronk)\
**Replies:** 0\
**Last updated:** [November 3, 2011, 9:52am UTC](https://forum.kirupa.com/t/flash-mx-action-script-2-0-platformer-game-problem/325768 "2011-11-03T09:52:27Z")

</div>

I'm in the process of building a platformer with Flash MX using Action Script 2.0, I'm following this tutorial: http://www.kirupa.com/developer/mx2004/platform\_game.htm However I'm not following the tutorial, I downloade…

---

## [gotoAndStop problem](https://forum.kirupa.com/t/gotoandstop-problem/325766)

<div class="topic-metadata">

**Author:** [@raphaelle](https://forum.kirupa.com/u/raphaelle)\
**Replies:** 0\
**Last updated:** [November 3, 2011, 7:33am UTC](https://forum.kirupa.com/t/gotoandstop-problem/325766 "2011-11-03T07:33:45Z")

</div>

hi to evryone, im a newbie in flash game dev, i hope you guys can help. i have a problem about using gotoandstop, i used in an .as file, it has the frames of walking, idle, and attack for my side scroll game. he…

---

## [Tutorial: Running Scripts at the "Right" Time](https://forum.kirupa.com/t/tutorial-running-scripts-at-the-right-time/325765)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [November 3, 2011, 6:27am UTC](https://forum.kirupa.com/t/tutorial-running-scripts-at-the-right-time/325765 "2011-11-03T06:27:27Z")

</div>

Hi everyone, This is the happening place to discuss all things related to the Running Scripts at the "Right" Time tutorial. Cheers, Kirupa :q:

---

## [TypeError: Error #1034: Type Coercion failed: cannot convert flash.events::Event@7fc1](https://forum.kirupa.com/t/typeerror-error-1034-type-coercion-failed-cannot-convert-flash-events-event-7fc1/325763)

<div class="topic-metadata">

**Author:** [@raphaelle](https://forum.kirupa.com/u/raphaelle)\
**Replies:** 0\
**Last updated:** [November 3, 2011, 6:02am UTC](https://forum.kirupa.com/t/typeerror-error-1034-type-coercion-failed-cannot-convert-flash-events-event-7fc1/325763 "2011-11-03T06:02:46Z")

</div>

//variables var keyLeftPressed:Boolean = false; var keyRightPressed:Boolean = false; var keyUpPressed:Boolean = false; var keyAPressed:Boolean = false; var keySPressed:Boolean = false; hero.gotoAndStop('idle'); hero…

---

## [Publishing AS3.0 projects in FB for AIR and Mobile?](https://forum.kirupa.com/t/publishing-as3-0-projects-in-fb-for-air-and-mobile/325759)

<div class="topic-metadata">

**Author:** [@dandylion13](https://forum.kirupa.com/u/dandylion13)\
**Replies:** 0\
**Last updated:** [November 3, 2011, 4:01am UTC](https://forum.kirupa.com/t/publishing-as3-0-projects-in-fb-for-air-and-mobile/325759 "2011-11-03T04:01:08Z")

</div>

Hello,There's probably a very simple solution to this but I've been unable to find any leads on the net.Does anyone know if you can export a release build of an ActionScript Project in Flash Builder for AIR or mobile pla…

---

## [Can access textfield object in a movieclip](https://forum.kirupa.com/t/can-access-textfield-object-in-a-movieclip/325757)

<div class="topic-metadata">

**Author:** [@zik80](https://forum.kirupa.com/u/zik80)\
**Replies:** 0\
**Last updated:** [November 3, 2011, 1:20am UTC](https://forum.kirupa.com/t/can-access-textfield-object-in-a-movieclip/325757 "2011-11-03T01:20:31Z")

</div>

I'm stunned as to why I cant access the textfield object placed inside a movieClip object. I'm doing this in a subclass as so: I gave the movieClip an instance name of "myMC" and the package { import flash.displa…

---

## [Text based action adventure](https://forum.kirupa.com/t/text-based-action-adventure/325750)

<div class="topic-metadata">

**Author:** [@iceman1985](https://forum.kirupa.com/u/iceman1985)\
**Replies:** 0\
**Last updated:** [November 2, 2011, 10:52pm UTC](https://forum.kirupa.com/t/text-based-action-adventure/325750 "2011-11-02T22:52:51Z")

</div>

Hello, I'm currently working on an action adventure game and have run into some issues. I am using flash CS4 and AS3. On the stage I have created a user input text field with the instance name of textbox and a button …

---

## [Mysterious Hyperlink problem](https://forum.kirupa.com/t/mysterious-hyperlink-problem/325747)

<div class="topic-metadata">

**Author:** [@CandiceH](https://forum.kirupa.com/u/CandiceH)\
**Replies:** 0\
**Last updated:** [November 2, 2011, 9:30pm UTC](https://forum.kirupa.com/t/mysterious-hyperlink-problem/325747 "2011-11-02T21:30:22Z")

</div>

I have tried every variant of AS3 hyperlink script out there, but my hyperlink will not do anything. When I view my swf (or FLV, I've tried both) in a browser, the mouse turns to a hand, like it recognizes that a hyperli…

---

## [Displaying bold text in a dynamic text field fed by an xml file](https://forum.kirupa.com/t/displaying-bold-text-in-a-dynamic-text-field-fed-by-an-xml-file/325745)

<div class="topic-metadata">

**Author:** [@icekomo](https://forum.kirupa.com/u/icekomo)\
**Replies:** 0\
**Last updated:** [November 2, 2011, 7:56pm UTC](https://forum.kirupa.com/t/displaying-bold-text-in-a-dynamic-text-field-fed-by-an-xml-file/325745 "2011-11-02T19:56:53Z")

</div>

I have a dynamic textfield being populated with an xml files' content. I then have a css stylesheet loaded into format the text. This all works great, but what doesn't work is the ability to bold some of the words in tha…

---

## [My Flash Project - shifting objects simultaneously](https://forum.kirupa.com/t/my-flash-project-shifting-objects-simultaneously/325744)

<div class="topic-metadata">

**Author:** [@Shardz](https://forum.kirupa.com/u/Shardz)\
**Replies:** 0\
**Last updated:** [November 2, 2011, 7:10pm UTC](https://forum.kirupa.com/t/my-flash-project-shifting-objects-simultaneously/325744 "2011-11-02T19:10:48Z")

</div>

Hello everyone, I am new but you all seem pretty nice from the posts that I've seen. I am a nooby at Flash and need some help with this project that I was given at work. I will list the details of the project below: C…

---

## [Remove Button when clicking FLVPlayBack play button](https://forum.kirupa.com/t/remove-button-when-clicking-flvplayback-play-button/325739)

<div class="topic-metadata">

**Author:** [@Gasser\_Rayhan](https://forum.kirupa.com/u/Gasser_Rayhan)\
**Replies:** 0\
**Last updated:** [November 2, 2011, 2:53pm UTC](https://forum.kirupa.com/t/remove-button-when-clicking-flvplayback-play-button/325739 "2011-11-02T14:53:57Z")

</div>

I've created a website in AS2 which has a trailer playing as soon as you access the website. After the trailer is complete, a replay button and facebook share button shows on top of the flv video... Like that on Youtube …

---

## [AS2 - calling specific tags from an xml file](https://forum.kirupa.com/t/as2-calling-specific-tags-from-an-xml-file/325738)

<div class="topic-metadata">

**Author:** [@mox911](https://forum.kirupa.com/u/mox911)\
**Replies:** 0\
**Last updated:** [November 2, 2011, 2:06pm UTC](https://forum.kirupa.com/t/as2-calling-specific-tags-from-an-xml-file/325738 "2011-11-02T14:06:58Z")

</div>

Little back story - I created a widget to display a bunch of single text lines. I am having trouble randomizing the lines. I currently have something that will work but need to call the last tag of the xml documents that…

---

## [clickTag](https://forum.kirupa.com/t/clicktag/325737)

<div class="topic-metadata">

**Author:** [@BUroKHUli](https://forum.kirupa.com/u/BUroKHUli)\
**Replies:** 0\
**Last updated:** [November 2, 2011, 1:52pm UTC](https://forum.kirupa.com/t/clicktag/325737 "2011-11-02T13:52:56Z")

</div>

Hi, How do you make this work for AS3? I can't seem to make this thing work for me. on (release) { getURL (clickTag, "\_blank"); } and my version is this one.... clickTag.addEventListener(MouseEven.…

---

## [Why do I need an iOS certificate just to publish a Flash file for AIR for iOS?](https://forum.kirupa.com/t/why-do-i-need-an-ios-certificate-just-to-publish-a-flash-file-for-air-for-ios/325736)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [November 2, 2011, 1:45pm UTC](https://forum.kirupa.com/t/why-do-i-need-an-ios-certificate-just-to-publish-a-flash-file-for-air-for-ios/325736 "2011-11-02T13:45:30Z")

</div>

I was completing a gotoandlearn tutorial called Tablet Swipe Gestures - Learn how to respond to swipe gestures by building a nice photo gallery for the iPad http://gotoandlearn.com/play.php?id=145 I get all the way t…

---

## [Dirt Bike Game](https://forum.kirupa.com/t/dirt-bike-game/325735)

<div class="topic-metadata">

**Author:** [@eternity22](https://forum.kirupa.com/u/eternity22)\
**Replies:** 0\
**Last updated:** [November 2, 2011, 1:32pm UTC](https://forum.kirupa.com/t/dirt-bike-game/325735 "2011-11-02T13:32:59Z")

</div>

Hi, I'm doing dirt bike game using Box2d. I drawn bike but still having some doubts to confirm. Please see the attached image and help me to draw the bike and proceed with the game. Thanks in advance.

---

## [How to keep special charcter when saving into mysql - php](https://forum.kirupa.com/t/how-to-keep-special-charcter-when-saving-into-mysql-php/325734)

<div class="topic-metadata">

**Author:** [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)\
**Replies:** 0\
**Last updated:** [November 2, 2011, 11:48am UTC](https://forum.kirupa.com/t/how-to-keep-special-charcter-when-saving-into-mysql-php/325734 "2011-11-02T11:48:23Z")

</div>

Hi there, I am developing my own newsletter which will allow me to upload my html file and keep it into my db until i am ready send. I have a problem when it comes to special characters such as "copy character or som…

---

## [Linking a flash button to a flash movie in MX 2004](https://forum.kirupa.com/t/linking-a-flash-button-to-a-flash-movie-in-mx-2004/325733)

<div class="topic-metadata">

**Author:** [@geoffrey](https://forum.kirupa.com/u/geoffrey)\
**Replies:** 0\
**Last updated:** [November 2, 2011, 10:58am UTC](https://forum.kirupa.com/t/linking-a-flash-button-to-a-flash-movie-in-mx-2004/325733 "2011-11-02T10:58:19Z")

</div>

All, Please can somebody advise what piece of actionscript I would require to link a flash button to a flash movie in MX 2004 (Actionscript 2). My email address is goeff.bond@orange.net Regards, Geoff

---

## [Removing children that are instances of a certain class](https://forum.kirupa.com/t/removing-children-that-are-instances-of-a-certain-class/325729)

<div class="topic-metadata">

**Author:** [@Benjamin\_Banks](https://forum.kirupa.com/u/Benjamin_Banks)\
**Replies:** 0\
**Last updated:** [November 2, 2011, 8:57am UTC](https://forum.kirupa.com/t/removing-children-that-are-instances-of-a-certain-class/325729 "2011-11-02T08:57:15Z")

</div>

Hi. I have a class, called fCont (I know, I should use capital letters for class names... oh well), and I need to remove all instances of it from my MovieClip. I'm making a Facebook browser for a uni assignment. When y…

---

## [ColorPicker and Sprites](https://forum.kirupa.com/t/colorpicker-and-sprites/325726)

<div class="topic-metadata">

**Author:** [@iglota](https://forum.kirupa.com/u/iglota)\
**Replies:** 0\
**Last updated:** [November 1, 2011, 10:33pm UTC](https://forum.kirupa.com/t/colorpicker-and-sprites/325726 "2011-11-01T22:33:22Z")

</div>

I have this code: // meuColorPicker.selectedColor = 0xffffff; // meuColorPicker.addEventListener(ColorPickerEvent.CHANGE, corAlterada); /// var objeto:MovieClip = camiseta.baseCamiseta; /// function corAlterada(e:Color…

---

## [5000: The class 'CustomLoader' must subclass 'flash.display.MovieClip'](https://forum.kirupa.com/t/5000-the-class-customloader-must-subclass-flash-display-movieclip/325724)

<div class="topic-metadata">

**Author:** [@dbaseivom](https://forum.kirupa.com/u/dbaseivom)\
**Replies:** 0\
**Last updated:** [November 1, 2011, 9:47pm UTC](https://forum.kirupa.com/t/5000-the-class-customloader-must-subclass-flash-display-movieclip/325724 "2011-11-01T21:47:15Z")

</div>

5000: The class 'CustomLoader' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type. This is the error I get when I try to run my flash project. I followed this tutorial http://…

---

## [Importing swf movie](https://forum.kirupa.com/t/importing-swf-movie/325723)

<div class="topic-metadata">

**Author:** [@Thuga\_PT](https://forum.kirupa.com/u/Thuga_PT)\
**Replies:** 0\
**Last updated:** [November 1, 2011, 7:08pm UTC](https://forum.kirupa.com/t/importing-swf-movie/325723 "2011-11-01T19:08:14Z")

</div>

Hi, I have a .swf of a keyboard i want to import into a interface i'm building, but when i try to go Import\>File to Library and select the file it does nothing. Nothing appears in the library. Am i trying to import the s…

---

## [I must be dumber than I look](https://forum.kirupa.com/t/i-must-be-dumber-than-i-look/325722)

<div class="topic-metadata">

**Author:** [@Joe\_Hova](https://forum.kirupa.com/u/Joe_Hova)\
**Replies:** 0\
**Last updated:** [November 1, 2011, 6:45pm UTC](https://forum.kirupa.com/t/i-must-be-dumber-than-i-look/325722 "2011-11-01T18:45:51Z")

</div>

AS3 hmm.. I have a couple user text fields that are numbers as text (ex 102 F). I need to calculate the diff of the two fields (ex: 102F - 100F = 2F) but am having trouble converting the text to numbers and then back…

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

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