# flash

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

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

**Page:** 41

---

## [Compile error 1046](https://forum.kirupa.com/t/compile-error-1046/330564)

<div class="topic-metadata">

**Author:** [@rickyhay](https://forum.kirupa.com/u/rickyhay)\
**Replies:** 0\
**Last updated:** [February 9, 2013, 5:27pm UTC](https://forum.kirupa.com/t/compile-error-1046/330564 "2013-02-09T17:27:32Z")

</div>

Hello All, I have been going crazy for hours. I keep getting this compile error: 1046 Type was not found or was not a compile-time constant: ComponentEvent. I think Flash is telling me i have have not imported the proper…

---

## [Change the speed of a movieClip while it's moving between bountries](https://forum.kirupa.com/t/change-the-speed-of-a-movieclip-while-its-moving-between-bountries/330563)

<div class="topic-metadata">

**Author:** [@Plug\_Head](https://forum.kirupa.com/u/Plug_Head)\
**Replies:** 0\
**Last updated:** [February 9, 2013, 5:12pm UTC](https://forum.kirupa.com/t/change-the-speed-of-a-movieclip-while-its-moving-between-bountries/330563 "2013-02-09T17:12:39Z")

</div>

I want the user to enter the speed (input text) in which a movieClip is moving back and forth between boundaries and then change it again as the mc is moving. I've managed to make the movieClip start moving whith a cer…

---

## [as3 QR Code reader](https://forum.kirupa.com/t/as3-qr-code-reader/330560)

<div class="topic-metadata">

**Author:** [@bradholz](https://forum.kirupa.com/u/bradholz)\
**Replies:** 0\
**Last updated:** [February 8, 2013, 11:18pm UTC](https://forum.kirupa.com/t/as3-qr-code-reader/330560 "2013-02-08T23:18:30Z")

</div>

Not to sure how to work this QR Scanner I've installed it on my s2, The camera View is all Messed up can barley make out the image. I've skimmed through the code but I'm not to sure where the problem is. http://www.ka…

---

## [Moving through frames with mouse\_down and drag](https://forum.kirupa.com/t/moving-through-frames-with-mouse-down-and-drag/330559)

<div class="topic-metadata">

**Author:** [@lio89](https://forum.kirupa.com/u/lio89)\
**Replies:** 0\
**Last updated:** [February 8, 2013, 9:07pm UTC](https://forum.kirupa.com/t/moving-through-frames-with-mouse-down-and-drag/330559 "2013-02-08T21:07:20Z")

</div>

Hi. I have an image sequence that shows a product 360º. I have it imported into flash. What I'm trying to achieve, is to be able to move through frames depending on if I move to left or to right using mouse\_down, instead…

---

## [AS3 Code hinting not working](https://forum.kirupa.com/t/as3-code-hinting-not-working/330558)

<div class="topic-metadata">

**Author:** [@quest20](https://forum.kirupa.com/u/quest20)\
**Replies:** 0\
**Last updated:** [February 8, 2013, 3:58pm UTC](https://forum.kirupa.com/t/as3-code-hinting-not-working/330558 "2013-02-08T15:58:14Z")

</div>

I noticed recently in Flash CS6 my code hinting is only working sporadically. I am in the middle of editing an application and my code hinting appears to be working just fine. Then, for some unknown reason it suddenly st…

---

## [Help needed regarding textField.HtmlText](https://forum.kirupa.com/t/help-needed-regarding-textfield-htmltext/330557)

<div class="topic-metadata">

**Author:** [@chaituse](https://forum.kirupa.com/u/chaituse)\
**Replies:** 0\
**Last updated:** [February 8, 2013, 8:52am UTC](https://forum.kirupa.com/t/help-needed-regarding-textfield-htmltext/330557 "2013-02-08T08:52:16Z")

</div>

Hi All, I have a problem displaying the text with indexing in texField in Flash. I have html code as source. I used TextField.htmlText for doing this. I have html source code for the follwing text. \[COLOR=#008080\]1. Fir…

---

## [Need Help With Clicker Game](https://forum.kirupa.com/t/need-help-with-clicker-game/330554)

<div class="topic-metadata">

**Author:** [@gaddough](https://forum.kirupa.com/u/gaddough)\
**Replies:** 0\
**Last updated:** [February 8, 2013, 1:28am UTC](https://forum.kirupa.com/t/need-help-with-clicker-game/330554 "2013-02-08T01:28:50Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Alright, I have been struggling with this game all day. I get bits and pieces here but cannot seem to get the whole thing error proof and running. I would really appreciate it if someone coul…

---

## [Flash Video re-start buffer at new location when seek bar is clicked](https://forum.kirupa.com/t/flash-video-re-start-buffer-at-new-location-when-seek-bar-is-clicked/330553)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 0\
**Last updated:** [February 8, 2013, 12:56am UTC](https://forum.kirupa.com/t/flash-video-re-start-buffer-at-new-location-when-seek-bar-is-clicked/330553 "2013-02-08T00:56:40Z")

</div>

Hi All, I'm trying to do something similar to youtube when the seek/progress bar is clicked. Currently, when I click on the seek bar, beyond a buffered point of the video, the video pauses, and I have to wait for the…

---

## [as2 wheel hittest sound problem](https://forum.kirupa.com/t/as2-wheel-hittest-sound-problem/330552)

<div class="topic-metadata">

**Author:** [@Timothy\_Denehy](https://forum.kirupa.com/u/Timothy_Denehy)\
**Replies:** 0\
**Last updated:** [February 7, 2013, 8:39pm UTC](https://forum.kirupa.com/t/as2-wheel-hittest-sound-problem/330552 "2013-02-07T20:39:13Z")

</div>

I have had this problem for years now so if someone can help it would be great. Whats happening is I have pegs on a wheel and an arrow selecting the piece of the pie you are on and when the arrow hits the peg it plays a …

---

## [Air fileStream save file to remote server](https://forum.kirupa.com/t/air-filestream-save-file-to-remote-server/330550)

<div class="topic-metadata">

**Author:** [@cledus](https://forum.kirupa.com/u/cledus)\
**Replies:** 0\
**Last updated:** [February 7, 2013, 3:52pm UTC](https://forum.kirupa.com/t/air-filestream-save-file-to-remote-server/330550 "2013-02-07T15:52:18Z")

</div>

Hi all! Is it possible to save lets say an xml to a url like: http://www.something.com/delete.xml or do I have to use php? I have tried the fileStream and it works locally like this: var prefsFile:File = File.deskto…

---

## [As3 flickr photo search engine](https://forum.kirupa.com/t/as3-flickr-photo-search-engine/330548)

<div class="topic-metadata">

**Author:** [@learningas3](https://forum.kirupa.com/u/learningas3)\
**Replies:** 0\
**Last updated:** [February 7, 2013, 9:48am UTC](https://forum.kirupa.com/t/as3-flickr-photo-search-engine/330548 "2013-02-07T09:48:18Z")

</div>

Hi, everyone I'm trying to understand the API, so I went with Flickr since I was told it is pretty straight forward. Though for me, it is another story. Okay, so my problem is trying to figure how to get a photo to show …

---

## [Custom scrollbar is shifting to the side](https://forum.kirupa.com/t/custom-scrollbar-is-shifting-to-the-side/330545)

<div class="topic-metadata">

**Author:** [@Cuwen](https://forum.kirupa.com/u/Cuwen)\
**Replies:** 0\
**Last updated:** [February 6, 2013, 9:27pm UTC](https://forum.kirupa.com/t/custom-scrollbar-is-shifting-to-the-side/330545 "2013-02-06T21:27:28Z")

</div>

Hey everyone. I am using Flash CS5.5 and AS2. I created a custom scrollbar using the tutorial that's on this site (link is at the bottom of this message). It works, but the scrollpad on top of the scrollbar shifts to…

---

## [Error: Unable to load GestureWorksCML.swc](https://forum.kirupa.com/t/error-unable-to-load-gestureworkscml-swc/330539)

<div class="topic-metadata">

**Author:** [@lokraj](https://forum.kirupa.com/u/lokraj)\
**Replies:** 0\
**Last updated:** [February 6, 2013, 7:44am UTC](https://forum.kirupa.com/t/error-unable-to-load-gestureworkscml-swc/330539 "2013-02-06T07:44:02Z")

</div>

Hi, I'm using OpenExhibits library. I'm unable to use this GestureWorksCML.swc lib. I could not find the path "com.gestureworks.cml" in the GestureWorksCML.swc library. I got error message, Error: Unable to load Gesture…

---

## [AS2 - xml files help](https://forum.kirupa.com/t/as2-xml-files-help/330537)

<div class="topic-metadata">

**Author:** [@razzledee](https://forum.kirupa.com/u/razzledee)\
**Replies:** 0\
**Last updated:** [February 6, 2013, 12:21am UTC](https://forum.kirupa.com/t/as2-xml-files-help/330537 "2013-02-06T00:21:26Z")

</div>

I have a quiz that has categories. The questions for each category are in separate xml files. When the quiz movie clip ends after 10 questions it goes to the results page where there is a choice to replay the same catego…

---

## [gotoAndPlay in a class](https://forum.kirupa.com/t/gotoandplay-in-a-class/330533)

<div class="topic-metadata">

**Author:** [@Marc\_Guardiola](https://forum.kirupa.com/u/Marc_Guardiola)\
**Replies:** 0\
**Last updated:** [February 5, 2013, 8:12pm UTC](https://forum.kirupa.com/t/gotoandplay-in-a-class/330533 "2013-02-05T20:12:59Z")

</div>

Hello, I ll try to explain what im trying to do in a game. I spawn a monster on x=500 and he walks with an animation to x=100,(animation loop is from frame 1 to 6), i want to change that animation from frame 8 to 20 (att…

---

## [Some shapes don't fill - Why?](https://forum.kirupa.com/t/some-shapes-dont-fill-why/330532)

<div class="topic-metadata">

**Author:** [@catcat31](https://forum.kirupa.com/u/catcat31)\
**Replies:** 0\
**Last updated:** [February 5, 2013, 7:53pm UTC](https://forum.kirupa.com/t/some-shapes-dont-fill-why/330532 "2013-02-05T19:53:12Z")

</div>

Why for example, when the line tool is used to create an object shape (with object drawing off), is the shape unable to be filled? I've tried re-creating the shape from scratch and sometimes it will fill but then it won'…

---

## [Spark List constructor](https://forum.kirupa.com/t/spark-list-constructor/330525)

<div class="topic-metadata">

**Author:** [@destinier](https://forum.kirupa.com/u/destinier)\
**Replies:** 0\
**Last updated:** [February 4, 2013, 7:02am UTC](https://forum.kirupa.com/t/spark-list-constructor/330525 "2013-02-04T07:02:35Z")

</div>

I have observed that Spark List constructor is adding below event. But I see that the same is not removed anywhere. Moreover the handler is scoped to "private" which means that it cannot be accessed to its descendants. …

---

## [Help on shared object and MC](https://forum.kirupa.com/t/help-on-shared-object-and-mc/330524)

<div class="topic-metadata">

**Author:** [@eggblade](https://forum.kirupa.com/u/eggblade)\
**Replies:** 0\
**Last updated:** [February 4, 2013, 6:13am UTC](https://forum.kirupa.com/t/help-on-shared-object-and-mc/330524 "2013-02-04T06:13:52Z")

</div>

What I want to do is : I want my\_MC to be visible the first time user opened my swf. after that,the my\_MC is invisible, How can I store my\_MC into shared object and properly use it? is this possible? Thank you.

---

## [Animated card turn - How to?](https://forum.kirupa.com/t/animated-card-turn-how-to/330523)

<div class="topic-metadata">

**Author:** [@catcat31](https://forum.kirupa.com/u/catcat31)\
**Replies:** 0\
**Last updated:** [February 3, 2013, 8:58pm UTC](https://forum.kirupa.com/t/animated-card-turn-how-to/330523 "2013-02-03T20:58:21Z")

</div>

Hi, I want to animate two matched cards in a matching game so that when clicked they turn and either fly off and or once turned are removed. Could someone please demonstrate how this is done? I don't want the cards to si…

---

## [Problem with reading an element from array](https://forum.kirupa.com/t/problem-with-reading-an-element-from-array/330519)

<div class="topic-metadata">

**Author:** [@xxelxx](https://forum.kirupa.com/u/xxelxx)\
**Replies:** 0\
**Last updated:** [February 2, 2013, 7:24pm UTC](https://forum.kirupa.com/t/problem-with-reading-an-element-from-array/330519 "2013-02-02T19:24:05Z")

</div>

Hello guys! I am very new to Flash and AS3 so I am sorry if my question is too obvious but I cannot figure out what is going on. Basically what I want is to import random sprites from the library to the stage by cal…

---

## [Find Cube xyz in an array of cubes](https://forum.kirupa.com/t/find-cube-xyz-in-an-array-of-cubes/330518)

<div class="topic-metadata">

**Author:** [@FJW](https://forum.kirupa.com/u/FJW)\
**Replies:** 0\
**Last updated:** [February 2, 2013, 5:33pm UTC](https://forum.kirupa.com/t/find-cube-xyz-in-an-array-of-cubes/330518 "2013-02-02T17:33:26Z")

</div>

Hi once again I am trying to see if a cube exists in an array of cubes and although I believe there should be a match, it does not find one. Here is the code snippet, could anyone offer any help please? \<code\> private fu…

---

## [Using an Array to load MovieClips for inventory](https://forum.kirupa.com/t/using-an-array-to-load-movieclips-for-inventory/330515)

<div class="topic-metadata">

**Author:** [@Logimus](https://forum.kirupa.com/u/Logimus)\
**Replies:** 0\
**Last updated:** [February 2, 2013, 8:31am UTC](https://forum.kirupa.com/t/using-an-array-to-load-movieclips-for-inventory/330515 "2013-02-02T08:31:38Z")

</div>

Hi all, I have what seems to be a pretty simple request but I can't for the life of me figure out a solution. I have a feeling it's so simple and that I must be missing something. What I have is this: \[LIST\] \[\*\]An ar…

---

## [Increasing stats help](https://forum.kirupa.com/t/increasing-stats-help/330511)

<div class="topic-metadata">

**Author:** [@cluin14](https://forum.kirupa.com/u/cluin14)\
**Replies:** 0\
**Last updated:** [February 1, 2013, 2:55am UTC](https://forum.kirupa.com/t/increasing-stats-help/330511 "2013-02-01T02:55:44Z")

</div>

Hey there, so I'm working on a game where as you click a button, your stats increase. I'm having a problem though, I have a code that generates a random number between 1 and 100, but I need it to be a decimal so I can tu…

---

## [So simple I can't figure it out](https://forum.kirupa.com/t/so-simple-i-cant-figure-it-out/330510)

<div class="topic-metadata">

**Author:** [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Replies:** 0\
**Last updated:** [January 31, 2013, 3:04pm UTC](https://forum.kirupa.com/t/so-simple-i-cant-figure-it-out/330510 "2013-01-31T15:04:34Z")

</div>

I want to be able to drag one item in \_x and have it move another item in \_y. This has got to be simple, yes? I may be overthinking it but I'm stumped!

---

## [Pass a loaded Sprite into a Worker](https://forum.kirupa.com/t/pass-a-loaded-sprite-into-a-worker/330508)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [January 30, 2013, 10:40pm UTC](https://forum.kirupa.com/t/pass-a-loaded-sprite-into-a-worker/330508 "2013-01-30T22:40:09Z")

</div>

I've been trying to pass my Sprite (a loaded swf-image) into my Worker in some way. I've tried to just pass the sprite as the send-command to the MessageChannel, like this: Main.mainToWorker.send(e.currentTarget.conte…

---

## [AS3 Worker - External or internal SWF?](https://forum.kirupa.com/t/as3-worker-external-or-internal-swf/330506)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [January 30, 2013, 4:38pm UTC](https://forum.kirupa.com/t/as3-worker-external-or-internal-swf/330506 "2013-01-30T16:38:22Z")

</div>

I'm playing around with threads in AS3 using the Worker-class. I've searched for tutorials all over the net but haven't managed to find many enough to get some questions solved, so I'll ask it here! The thing with the …

---

## [ActionScript 3 code meanings](https://forum.kirupa.com/t/actionscript-3-code-meanings/330504)

<div class="topic-metadata">

**Author:** [@rickyhay](https://forum.kirupa.com/u/rickyhay)\
**Replies:** 0\
**Last updated:** [January 30, 2013, 2:49pm UTC](https://forum.kirupa.com/t/actionscript-3-code-meanings/330504 "2013-01-30T14:49:45Z")

</div>

I have just started learning ActionScirpt 3.0 and Server-Side ActionScript I have been reading lots of tutorials. And, i come across these pieces of code often: +"/n" i++ i=0; But i am clueless i don't understand what th…

---

## [Multiple Buttons in a MC in a Scrollpane](https://forum.kirupa.com/t/multiple-buttons-in-a-mc-in-a-scrollpane/330503)

<div class="topic-metadata">

**Author:** [@OldNewDude](https://forum.kirupa.com/u/OldNewDude)\
**Replies:** 0\
**Last updated:** [January 30, 2013, 2:41pm UTC](https://forum.kirupa.com/t/multiple-buttons-in-a-mc-in-a-scrollpane/330503 "2013-01-30T14:41:25Z")

</div>

\[LEFT\]This non-programmer artist needs some AS3 help. All my previous Flash work was just drawing and tweening, etc., no significant scripting. Then along came this project, with a tight deadline. I’ve blown too much tim…

---

## [CS4 /AS2 : Problem with Detecting Collisions between moving/ tweening objects](https://forum.kirupa.com/t/cs4-as2-problem-with-detecting-collisions-between-moving-tweening-objects/330502)

<div class="topic-metadata">

**Author:** [@Plug\_Head](https://forum.kirupa.com/u/Plug_Head)\
**Replies:** 0\
**Last updated:** [January 30, 2013, 2:38pm UTC](https://forum.kirupa.com/t/cs4-as2-problem-with-detecting-collisions-between-moving-tweening-objects/330502 "2013-01-30T14:38:31Z")

</div>

Here's the thing I am working on project where: \[LIST\] \[\*\]A rectangle is rotating. Think of a clock. Programmed with a tween. \[\*\]There is a generator. On click it produces a square, duplicate of a movieclip. This squar…

---

## [Programming for multiple devices- PPI](https://forum.kirupa.com/t/programming-for-multiple-devices-ppi/330497)

<div class="topic-metadata">

**Author:** [@wortic](https://forum.kirupa.com/u/wortic)\
**Replies:** 0\
**Last updated:** [January 30, 2013, 3:59am UTC](https://forum.kirupa.com/t/programming-for-multiple-devices-ppi/330497 "2013-01-30T03:59:00Z")

</div>

Hello, How can you write a program for multiple devices? I mean devices with different resolutions. I found out there is a thing called PPI but couln't really find a way to implement it. Lets say I have an object in flas…

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

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