# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=597

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

**Page:** 598

---

## [Buttons to play audio](https://forum.kirupa.com/t/buttons-to-play-audio/289914)

<div class="topic-metadata">

**Author:** [@Marblez](https://forum.kirupa.com/u/Marblez)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 11:08pm UTC](https://forum.kirupa.com/t/buttons-to-play-audio/289914 "2009-06-06T23:08:30Z")

</div>

Hi all, Is there a way to import audio into Flash and use it in a way similar to a movie clip (give it an instance name and use a button to play it etc.) Thanks, everyone Marblez

---

## [Suggestions to make navigation class better](https://forum.kirupa.com/t/suggestions-to-make-navigation-class-better/289912)

<div class="topic-metadata">

**Author:** [@Pezfish](https://forum.kirupa.com/u/Pezfish)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 9:53pm UTC](https://forum.kirupa.com/t/suggestions-to-make-navigation-class-better/289912 "2009-06-06T21:53:23Z")

</div>

I'm hoping someone here has a couple suggestions for a generic navigation class I'm working on. I got it to work exactly how I wanted it to, but maybe someone can think of some ways to make it better. Here's the scrip…

---

## [Calling movieclip by id in a unique way?](https://forum.kirupa.com/t/calling-movieclip-by-id-in-a-unique-way/289911)

<div class="topic-metadata">

**Author:** [@atokatim](https://forum.kirupa.com/u/atokatim)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 9:31pm UTC](https://forum.kirupa.com/t/calling-movieclip-by-id-in-a-unique-way/289911 "2009-06-06T21:31:23Z")

</div>

I am trying to make a multiplayer card game which has 6 players. Each player can hold 2 cards. The movie clip names are : p1c1 // Player 1 card 1 p1c2 // Player 1 card 2 p2c1 // Player 2 card 1 p2c2 // Player 2 card 2 …

---

## [Menu Border and Movement](https://forum.kirupa.com/t/menu-border-and-movement/289910)

<div class="topic-metadata">

**Author:** [@kevin04](https://forum.kirupa.com/u/kevin04)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 9:19pm UTC](https://forum.kirupa.com/t/menu-border-and-movement/289910 "2009-06-06T21:19:38Z")

</div>

Hello All! I am trying to design a menu bar that stays at the bottom of the page even when the user resizes their browser window. More importantly, I don't want any of the white border from html to show when opened in…

---

## [How to create a downloadable link from PDF?](https://forum.kirupa.com/t/how-to-create-a-downloadable-link-from-pdf/289907)

<div class="topic-metadata">

**Author:** [@tmm08](https://forum.kirupa.com/u/tmm08)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 7:10pm UTC](https://forum.kirupa.com/t/how-to-create-a-downloadable-link-from-pdf/289907 "2009-06-06T19:10:24Z")

</div>

How would you insert a pdf file into a flash website and have it become a downloadable link?

---

## [as2 and as3?](https://forum.kirupa.com/t/as2-and-as3/289905)

<div class="topic-metadata">

**Author:** [@senol](https://forum.kirupa.com/u/senol)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 6:03pm UTC](https://forum.kirupa.com/t/as2-and-as3/289905 "2009-06-06T18:03:43Z")

</div>

\[LEFT\]What is the biggest difference between as2 and as3?\[/LEFT\]

---

## [Papervision Beginner Question](https://forum.kirupa.com/t/papervision-beginner-question/289902)

<div class="topic-metadata">

**Author:** [@Johannespeter](https://forum.kirupa.com/u/Johannespeter)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 5:39pm UTC](https://forum.kirupa.com/t/papervision-beginner-question/289902 "2009-06-06T17:39:24Z")

</div>

Hello, I am using Flash CS3 on a mac, and am trying to start working with papervision, but am having some annoying issues getting started with it. If anyone has experience using papervision with flash, any help would…

---

## [Noob question: Shared listeners](https://forum.kirupa.com/t/noob-question-shared-listeners/289901)

<div class="topic-metadata">

**Author:** [@stupidsaint](https://forum.kirupa.com/u/stupidsaint)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 5:33pm UTC](https://forum.kirupa.com/t/noob-question-shared-listeners/289901 "2009-06-06T17:33:27Z")

</div>

I have this code: var numOfLinks = 4 for (var i=0; i\<numOfLinks; i++) { var breakImg = new breaker(); breakImg.x = 0 breakImg.y = stage.stageHeight/numOfLinks\*i addChild(breakImg); breakImg.addEventListener(Event.ENTE…

---

## [Is it possible to remove a class within itself?](https://forum.kirupa.com/t/is-it-possible-to-remove-a-class-within-itself/289898)

<div class="topic-metadata">

**Author:** [@andriusain](https://forum.kirupa.com/u/andriusain)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 4:40pm UTC](https://forum.kirupa.com/t/is-it-possible-to-remove-a-class-within-itself/289898 "2009-06-06T16:40:35Z")

</div>

Hello: Is it possible to remove a class within itself? Thanks.

---

## [Fabric Swatch selector](https://forum.kirupa.com/t/fabric-swatch-selector/289894)

<div class="topic-metadata">

**Author:** [@tdw](https://forum.kirupa.com/u/tdw)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 1:56pm UTC](https://forum.kirupa.com/t/fabric-swatch-selector/289894 "2009-06-06T13:56:02Z")

</div>

Wondering how hard it would be to build a Flash app that works like Timbuk2 build your own bag I have some experience with Flash, I know that I don't want it to use the color picker, I'm looking for something a bit clo…

---

## [Anyone know of a good article on Flash + PHP + MySQL](https://forum.kirupa.com/t/anyone-know-of-a-good-article-on-flash-php-mysql/289893)

<div class="topic-metadata">

**Author:** [@proeliumfessus](https://forum.kirupa.com/u/proeliumfessus)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 1:52pm UTC](https://forum.kirupa.com/t/anyone-know-of-a-good-article-on-flash-php-mysql/289893 "2009-06-06T13:52:17Z")

</div>

...how flash, php, and mysql communicate with each other when you want to send and receive information to/from a database? I read the tutorials on kirupa, but I didnt find anything. I'm looking for somthing that explai…

---

## [Rudimentary pathfinding/collision detection](https://forum.kirupa.com/t/rudimentary-pathfinding-collision-detection/289885)

<div class="topic-metadata">

**Author:** [@Thurinus](https://forum.kirupa.com/u/Thurinus)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 5:10am UTC](https://forum.kirupa.com/t/rudimentary-pathfinding-collision-detection/289885 "2009-06-06T05:10:49Z")

</div>

hey everyone, I have a question regarding seemingly relatively simple collision detection and pathfinding. Thus far I've been doing pathfinding using the A\* algorithm and nodes, but I want to do something simpler for a…

---

## [\[fl8 as2\] forms- can someone give me a couple quick pointers-](https://forum.kirupa.com/t/fl8-as2-forms-can-someone-give-me-a-couple-quick-pointers/289882)

<div class="topic-metadata">

**Author:** [@proeliumfessus](https://forum.kirupa.com/u/proeliumfessus)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 3:41am UTC](https://forum.kirupa.com/t/fl8-as2-forms-can-someone-give-me-a-couple-quick-pointers/289882 "2009-06-06T03:41:50Z")

</div>

I just put together my first form using the loadvars object with the post method to send the data to a php script... it worked but I got a funky blank window when it ran... since I'm so new to this kinda stuff- can someo…

---

## [Anyone has a code for this?](https://forum.kirupa.com/t/anyone-has-a-code-for-this/289880)

<div class="topic-metadata">

**Author:** [@TahGamer](https://forum.kirupa.com/u/TahGamer)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 1:10am UTC](https://forum.kirupa.com/t/anyone-has-a-code-for-this/289880 "2009-06-06T01:10:46Z")

</div>

I just played this game called rhythm breaker. (Link here http://www.spamtheweb.com/play.php?id=24) And I was asking if anyone of you has the code or made one that is t…

---

## [Load images from array into different movieclips](https://forum.kirupa.com/t/load-images-from-array-into-different-movieclips/289879)

<div class="topic-metadata">

**Author:** [@waverider303](https://forum.kirupa.com/u/waverider303)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 12:55am UTC](https://forum.kirupa.com/t/load-images-from-array-into-different-movieclips/289879 "2009-06-06T00:55:41Z")

</div>

I have an XML document that lists url of images to be displayed. What I want to do is load the length of images in the XML doc into an Array. Then take that array and make movieclips for each one. How would I go about do…

---

## [Need a button to play an mc in a different scene](https://forum.kirupa.com/t/need-a-button-to-play-an-mc-in-a-different-scene/289877)

<div class="topic-metadata">

**Author:** [@rick1212](https://forum.kirupa.com/u/rick1212)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 12:21am UTC](https://forum.kirupa.com/t/need-a-button-to-play-an-mc-in-a-different-scene/289877 "2009-06-06T00:21:11Z")

</div>

So this is where I'm stumped. I have 2 scenes, the first scene has "mc1" and the second scene has "mc2" and a button inside it. how do i get the button in mc2 to play mc1? Thanks for your time.

---

## [Focus!](https://forum.kirupa.com/t/focus/289876)

<div class="topic-metadata">

**Author:** [@Brent\_Summers](https://forum.kirupa.com/u/Brent_Summers)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 12:14am UTC](https://forum.kirupa.com/t/focus/289876 "2009-06-06T00:14:51Z")

</div>

Hey! Does anyone have a good explanation for how flash handles focus? Like where does focus default to and where does it go if the object that has focus gets destroyed or becomes invisible?

---

## [Need button to play an mc in a different scene](https://forum.kirupa.com/t/need-button-to-play-an-mc-in-a-different-scene/289874)

<div class="topic-metadata">

**Author:** [@rick1212](https://forum.kirupa.com/u/rick1212)\
**Replies:** 0\
**Last updated:** [June 5, 2009, 11:02pm UTC](https://forum.kirupa.com/t/need-button-to-play-an-mc-in-a-different-scene/289874 "2009-06-05T23:02:36Z")

</div>

So this is where I'm stumped. I have 2 scenes, the first scene has "mc1" and the second scene has "mc2" and a button inside it. how do i get the button in mc2 to play mc1? Thanks for your time.

---

## [Error #1009 when I add a button to the stage](https://forum.kirupa.com/t/error-1009-when-i-add-a-button-to-the-stage/289873)

<div class="topic-metadata">

**Author:** [@mrinak](https://forum.kirupa.com/u/mrinak)\
**Replies:** 0\
**Last updated:** [June 5, 2009, 10:13pm UTC](https://forum.kirupa.com/t/error-1009-when-i-add-a-button-to-the-stage/289873 "2009-06-05T22:13:29Z")

</div>

Hi there - Argh.I have a timeline project. Each "date" aka button when clicked advances to its respective named frame. It works fine until I have a section of the timeline with more than one "entry". I use the same nami…

---

## [Two (Grid Gallery) Problems](https://forum.kirupa.com/t/two-grid-gallery-problems/289872)

<div class="topic-metadata">

**Author:** [@rai\_kane3](https://forum.kirupa.com/u/rai_kane3)\
**Replies:** 0\
**Last updated:** [June 5, 2009, 9:47pm UTC](https://forum.kirupa.com/t/two-grid-gallery-problems/289872 "2009-06-05T21:47:17Z")

</div>

I have created this grid gallery however I am having to problems which I cannot for the life of me work out what i'm doing wrong am I just being dumb I have tried to restrict the count of thumbs so I can use a next an…

---

## [Remove child problem](https://forum.kirupa.com/t/remove-child-problem/289870)

<div class="topic-metadata">

**Author:** [@werehunt](https://forum.kirupa.com/u/werehunt)\
**Replies:** 0\
**Last updated:** [June 5, 2009, 9:29pm UTC](https://forum.kirupa.com/t/remove-child-problem/289870 "2009-06-05T21:29:29Z")

</div>

I have this code, and in the end, where I am trying to removeChild(ball) I get an error: 1118: Implicit coercion of a value with static type Object to a possibly unrelated type flash.display:DisplayObject. for (var …

---

## [Adjustin FullScreenScrollBar](https://forum.kirupa.com/t/adjustin-fullscreenscrollbar/289868)

<div class="topic-metadata">

**Author:** [@youwh](https://forum.kirupa.com/u/youwh)\
**Replies:** 0\
**Last updated:** [June 5, 2009, 9:03pm UTC](https://forum.kirupa.com/t/adjustin-fullscreenscrollbar/289868 "2009-06-05T21:03:20Z")

</div>

I am trying to control the size of the scroll bar from another class and I tried every way i could think of but still fails. I think its because i am not calling the class the correct way. Could anyone kind enough to sho…

---

## [Ball Collision, inside of Ball](https://forum.kirupa.com/t/ball-collision-inside-of-ball/289867)

<div class="topic-metadata">

**Author:** [@gregmax](https://forum.kirupa.com/u/gregmax)\
**Replies:** 0\
**Last updated:** [June 5, 2009, 8:56pm UTC](https://forum.kirupa.com/t/ball-collision-inside-of-ball/289867 "2009-06-05T20:56:25Z")

</div>

I am trying to accomplish a rather difficult task - ball collision inside another ball using gravity. I have one large circle in the middle of the stage (its radius is 150 pixels). I have another circle inside of that …

---

## [In a dilemma](https://forum.kirupa.com/t/in-a-dilemma/289866)

<div class="topic-metadata">

**Author:** [@adamcelikay](https://forum.kirupa.com/u/adamcelikay)\
**Replies:** 0\
**Last updated:** [June 5, 2009, 8:31pm UTC](https://forum.kirupa.com/t/in-a-dilemma/289866 "2009-06-05T20:31:20Z")

</div>

I'm making a form that needs to add and subtract lines this is in (cs3, as2) I'm using visible or attachMovie actions to portray this. Anyway my problem is i need to only send the visible line into the form. I don't want…

---

## [MouseEvents on same Movie Clip Issues](https://forum.kirupa.com/t/mouseevents-on-same-movie-clip-issues/289860)

<div class="topic-metadata">

**Author:** [@sanaali](https://forum.kirupa.com/u/sanaali)\
**Replies:** 0\
**Last updated:** [June 5, 2009, 6:26pm UTC](https://forum.kirupa.com/t/mouseevents-on-same-movie-clip-issues/289860 "2009-06-05T18:26:57Z")

</div>

Hi, I'm just starting to dive into actionsripting and have come across an issue. I've assigned an event listener that basically drags and a double click eventlistener to the same movie clip. The problem I'm having …

---

## [MovieClip Vs Bitmap](https://forum.kirupa.com/t/movieclip-vs-bitmap/289859)

<div class="topic-metadata">

**Author:** [@aravindk](https://forum.kirupa.com/u/aravindk)\
**Replies:** 0\
**Last updated:** [June 5, 2009, 6:22pm UTC](https://forum.kirupa.com/t/movieclip-vs-bitmap/289859 "2009-06-05T18:22:13Z")

</div>

Hi, I am working on a project in which I am suppose to maintain an array of movieclips, and I can also convert the movieclips into bitmap data. so I would like to know which one is the best to use either maintaining mo…

---

## [Is it possible to remove a function](https://forum.kirupa.com/t/is-it-possible-to-remove-a-function/289858)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 0\
**Last updated:** [June 5, 2009, 6:17pm UTC](https://forum.kirupa.com/t/is-it-possible-to-remove-a-function/289858 "2009-06-05T18:17:23Z")

</div>

Hi All, I have another issue that I've been searching and searching for but can't seem to figure it out. If i have a function: my\_mc.addEventListener(e:MouseEvent.ROLL\_OVER, audioOver) function audioOver(e:MouseE…

---

## [Editing Text in textField](https://forum.kirupa.com/t/editing-text-in-textfield/289857)

<div class="topic-metadata">

**Author:** [@Snivvle](https://forum.kirupa.com/u/Snivvle)\
**Replies:** 0\
**Last updated:** [June 5, 2009, 5:53pm UTC](https://forum.kirupa.com/t/editing-text-in-textfield/289857 "2009-06-05T17:53:49Z")

</div>

Without getting too complicated, imagine just a simple Static textField you created in flash and you filled it in with a paragraph of text. simpleText.text = "here is my paragraph and this is fun and the dog ran far b…

---

## [Using an External Font](https://forum.kirupa.com/t/using-an-external-font/289856)

<div class="topic-metadata">

**Author:** [@BoppreH](https://forum.kirupa.com/u/BoppreH)\
**Replies:** 0\
**Last updated:** [June 5, 2009, 5:16pm UTC](https://forum.kirupa.com/t/using-an-external-font/289856 "2009-06-05T17:16:51Z")

</div>

I have this swf that loads a lot of things from others swfs and they all use a non-default font. After searching ways to embedded this font into only one file and currently that's what I have: a class that loads the f…

---

## [New project experiment, any help?](https://forum.kirupa.com/t/new-project-experiment-any-help/289851)

<div class="topic-metadata">

**Author:** [@Ruke](https://forum.kirupa.com/u/Ruke)\
**Replies:** 0\
**Last updated:** [June 5, 2009, 4:03pm UTC](https://forum.kirupa.com/t/new-project-experiment-any-help/289851 "2009-06-05T16:03:19Z")

</div>

Myself and a couple of others are working on a flash project that involves taking and using sound data (via audio input microphone, guitar etc) to create images/colours. I was wondering if anyone could help us out at all…

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=596)

[Next page](https://forum.kirupa.com/c/programming/flash/38.md?page=598)
