# flash

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

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

**Page:** 254

---

## [Using threshold() to change colours in a bitmap](https://forum.kirupa.com/t/using-threshold-to-change-colours-in-a-bitmap/315667)

<div class="topic-metadata">

**Author:** [@aniac](https://forum.kirupa.com/u/aniac)\
**Replies:** 0\
**Last updated:** [November 1, 2010, 12:33pm UTC](https://forum.kirupa.com/t/using-threshold-to-change-colours-in-a-bitmap/315667 "2010-11-01T12:33:15Z")

</div>

Hi guys, I'm trying to use threshold to change the colours in a bitmap image according to a lookup table. I've tried the following line of code to convert each colour to another, but without any luck: bmd.threshol…

---

## [Strange IE problem with flash video player](https://forum.kirupa.com/t/strange-ie-problem-with-flash-video-player/315664)

<div class="topic-metadata">

**Author:** [@rai\_kane3](https://forum.kirupa.com/u/rai_kane3)\
**Replies:** 0\
**Last updated:** [November 1, 2010, 12:19pm UTC](https://forum.kirupa.com/t/strange-ie-problem-with-flash-video-player/315664 "2010-11-01T12:19:11Z")

</div>

I have built a flash video player everything very very straight forward however in IE if you refresh the page or navigate away and return the video player is smaller with no controls and like its just streaming the flv. …

---

## [Multiple SWF's in AS3](https://forum.kirupa.com/t/multiple-swfs-in-as3/315661)

<div class="topic-metadata">

**Author:** [@Sander\_666](https://forum.kirupa.com/u/Sander_666)\
**Replies:** 0\
**Last updated:** [November 1, 2010, 8:05am UTC](https://forum.kirupa.com/t/multiple-swfs-in-as3/315661 "2010-11-01T08:05:01Z")

</div>

Hey everyone, this is my first post here so please be gentle :d: Thing is... I've got four swf containing AS3, I want them to display in a row on full-screen mode. I can do this in AS2 bij loading them (other swf's wit…

---

## [Button Conditional?](https://forum.kirupa.com/t/button-conditional/315656)

<div class="topic-metadata">

**Author:** [@RHayabusa](https://forum.kirupa.com/u/RHayabusa)\
**Replies:** 0\
**Last updated:** [November 1, 2010, 4:44am UTC](https://forum.kirupa.com/t/button-conditional/315656 "2010-11-01T04:44:45Z")

</div>

Hey guys/gals I was wondering if you could please help me with an AS3 problem? I have a button that currently when pressed will show an instance object on screen, however what I would like for it to do WHEN PRESSED AGAIN…

---

## [Image Grid Gallery XML](https://forum.kirupa.com/t/image-grid-gallery-xml/315652)

<div class="topic-metadata">

**Author:** [@treeleaf20](https://forum.kirupa.com/u/treeleaf20)\
**Replies:** 0\
**Last updated:** [November 1, 2010, 1:44am UTC](https://forum.kirupa.com/t/image-grid-gallery-xml/315652 "2010-11-01T01:44:43Z")

</div>

All, Does anyone know of any good free AS2 XML image grid galleries? I did look at this site and found this one: http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm This one would work great but I'd lik…

---

## [Flash 3D API (Molehill)](https://forum.kirupa.com/t/flash-3d-api-molehill/315650)

<div class="topic-metadata">

**Author:** [@rosyTown](https://forum.kirupa.com/u/rosyTown)\
**Replies:** 0\
**Last updated:** [October 31, 2010, 11:32pm UTC](https://forum.kirupa.com/t/flash-3d-api-molehill/315650 "2010-10-31T23:32:04Z")

</div>

Not sure if anyone has seen this yet. http://tv.adobe.com/watch/adc-presents/molehill-3d-apis/ 1920x1080 @ 60fps == Really exciting stuff! More sweet demos here: http://www.youtube.com/user/alternativaplatform#p/…

---

## [Annoying handling of function pointers in AS3](https://forum.kirupa.com/t/annoying-handling-of-function-pointers-in-as3/315649)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 0\
**Last updated:** [October 31, 2010, 11:17pm UTC](https://forum.kirupa.com/t/annoying-handling-of-function-pointers-in-as3/315649 "2010-10-31T23:17:50Z")

</div>

I'm not sure if you've noticed this, probably not, but function pointers in AS3 run much, much slower than calling the function directly. It's a recent finding, and an annoying one. I use function pointers a lot. An …

---

## [AS2 - Drag and rotate problem!](https://forum.kirupa.com/t/as2-drag-and-rotate-problem/315648)

<div class="topic-metadata">

**Author:** [@eriklindahl](https://forum.kirupa.com/u/eriklindahl)\
**Replies:** 0\
**Last updated:** [October 31, 2010, 10:57pm UTC](https://forum.kirupa.com/t/as2-drag-and-rotate-problem/315648 "2010-10-31T22:57:42Z")

</div>

Hi, I have a code snippet that I got from the net, for dragging and rotating a circle. I changed it so that you can click anywhere on the border of the circle, and drag to rotate it. It works great except one thing; - i…

---

## [XML Feed From Another Server Calendar](https://forum.kirupa.com/t/xml-feed-from-another-server-calendar/315646)

<div class="topic-metadata">

**Author:** [@svimp](https://forum.kirupa.com/u/svimp)\
**Replies:** 0\
**Last updated:** [October 31, 2010, 7:42pm UTC](https://forum.kirupa.com/t/xml-feed-from-another-server-calendar/315646 "2010-10-31T19:42:51Z")

</div>

Hello all Can you tell me what are the basic steps to make a xml calendar like this from second screen on the right? all I know is the xml is on a diferent server. Thanks.

---

## [Convert chlid nodes to var](https://forum.kirupa.com/t/convert-chlid-nodes-to-var/315645)

<div class="topic-metadata">

**Author:** [@sebswed](https://forum.kirupa.com/u/sebswed)\
**Replies:** 0\
**Last updated:** [October 31, 2010, 7:29pm UTC](https://forum.kirupa.com/t/convert-chlid-nodes-to-var/315645 "2010-10-31T19:29:42Z")

</div>

Hi, I tried the last 3 hours to convert child nodes to variables. I followed the tutorial on http://www.kirupa.com/developer/flashcs3/using\_xml\_as3\_pg1.htm I use the following (working) code: var xmlLoader:URLLo…

---

## [Variabel value doesn't get stored](https://forum.kirupa.com/t/variabel-value-doesnt-get-stored/315644)

<div class="topic-metadata">

**Author:** [@tomii01](https://forum.kirupa.com/u/tomii01)\
**Replies:** 0\
**Last updated:** [October 31, 2010, 7:16pm UTC](https://forum.kirupa.com/t/variabel-value-doesnt-get-stored/315644 "2010-10-31T19:16:42Z")

</div>

Hi! I'm making a small animation with clickable elements for a friend and I'm having some problems. The "inv" variable is set to 0 from the beginning, and when it changes to 1, a movieclip named "key" is supposed to …

---

## [Google Map AS3 error. 1046](https://forum.kirupa.com/t/google-map-as3-error-1046/315641)

<div class="topic-metadata">

**Author:** [@Bark\_Off](https://forum.kirupa.com/u/Bark_Off)\
**Replies:** 0\
**Last updated:** [October 31, 2010, 4:32pm UTC](https://forum.kirupa.com/t/google-map-as3-error-1046/315641 "2010-10-31T16:32:20Z")

</div>

http://www.kirupa.com/developer/as3/flash\_as3\_google\_maps\_api\_pg2.htm 1046: Type was not found or was not a compile-time constant: DirectionsEvent. I highlighted the line with error in RED. The code is as follows: import…

---

## [Some Question About Maze hitTest](https://forum.kirupa.com/t/some-question-about-maze-hittest/315640)

<div class="topic-metadata">

**Author:** [@knight1989](https://forum.kirupa.com/u/knight1989)\
**Replies:** 0\
**Last updated:** [October 31, 2010, 11:03am UTC](https://forum.kirupa.com/t/some-question-about-maze-hittest/315640 "2010-10-31T11:03:17Z")

</div>

Solved

---

## [ReferenceError: Error #1070: Method addchild not found on flash.display.MovieClip](https://forum.kirupa.com/t/referenceerror-error-1070-method-addchild-not-found-on-flash-display-movieclip/315637)

<div class="topic-metadata">

**Author:** [@ayumilove](https://forum.kirupa.com/u/ayumilove)\
**Replies:** 0\
**Last updated:** [October 31, 2010, 4:19am UTC](https://forum.kirupa.com/t/referenceerror-error-1070-method-addchild-not-found-on-flash-display-movieclip/315637 "2010-10-31T04:19:17Z")

</div>

I typed this into my adobe flash ide var bitmapData:BitmapData = new BitmapData(100,100); var bitmap:Bitmap = new Bitmap(bitmapData); super.addchild(bitmap); and compile it, the error pop up like the above (in the …

---

## [Importing FLA/SWF into another FLA](https://forum.kirupa.com/t/importing-fla-swf-into-another-fla/315636)

<div class="topic-metadata">

**Author:** [@FreeTheWii](https://forum.kirupa.com/u/FreeTheWii)\
**Replies:** 0\
**Last updated:** [October 31, 2010, 2:50am UTC](https://forum.kirupa.com/t/importing-fla-swf-into-another-fla/315636 "2010-10-31T02:50:27Z")

</div>

OK, I’m just starting to get my feet wet with this flash stuff. Before I drink the kool-ade, I would like to pose a problem I’m having to see if I’m exceeding my pay grade. I spent the day making a really neat (my opinio…

---

## [How to use "startDrag" (Text Masking: Follow Mouse)](https://forum.kirupa.com/t/how-to-use-startdrag-text-masking-follow-mouse/315632)

<div class="topic-metadata">

**Author:** [@finland](https://forum.kirupa.com/u/finland)\
**Replies:** 0\
**Last updated:** [October 30, 2010, 9:26pm UTC](https://forum.kirupa.com/t/how-to-use-startdrag-text-masking-follow-mouse/315632 "2010-10-30T21:26:03Z")

</div>

I am learning to flash ,and found thing I could not understand it very well. I made a Text masking:following mouse, just two layers totally,in the first layer, I input some words , and then created the second layer …

---

## [Best Practices Question: Should a child know its parent?](https://forum.kirupa.com/t/best-practices-question-should-a-child-know-its-parent/315631)

<div class="topic-metadata">

**Author:** [@El\_Phantom](https://forum.kirupa.com/u/El_Phantom)\
**Replies:** 0\
**Last updated:** [October 30, 2010, 8:38pm UTC](https://forum.kirupa.com/t/best-practices-question-should-a-child-know-its-parent/315631 "2010-10-30T20:38:30Z")

</div>

Hey all, best practices question for you all. I am working on a component framework for myself right now, and was wondering if a child component should contain a reference to its parent. Obviously flash itself does this …

---

## [AS3 CS4 addEventListener not listening](https://forum.kirupa.com/t/as3-cs4-addeventlistener-not-listening/315628)

<div class="topic-metadata">

**Author:** [@SemiAuto40](https://forum.kirupa.com/u/SemiAuto40)\
**Replies:** 0\
**Last updated:** [October 30, 2010, 5:54pm UTC](https://forum.kirupa.com/t/as3-cs4-addeventlistener-not-listening/315628 "2010-10-30T17:54:39Z")

</div>

Being a Newbie, all I want to do now is to have total of 3 head graphics showing at one time - then when mouseover or rollover of one of the head images have the other head images disappear,, plus add a information graph…

---

## [Analog World Clock AS2 Problem](https://forum.kirupa.com/t/analog-world-clock-as2-problem/315627)

<div class="topic-metadata">

**Author:** [@madina](https://forum.kirupa.com/u/madina)\
**Replies:** 0\
**Last updated:** [October 30, 2010, 5:30pm UTC](https://forum.kirupa.com/t/analog-world-clock-as2-problem/315627 "2010-10-30T17:30:46Z")

</div>

Hi I need help with my analog world clock. Found some code which works independently but not when imported in to already constructed movie. The working clock is currently imported into an empty movie clip, but when d…

---

## [NetStream time problem](https://forum.kirupa.com/t/netstream-time-problem/315624)

<div class="topic-metadata">

**Author:** [@Wu4D](https://forum.kirupa.com/u/Wu4D)\
**Replies:** 0\
**Last updated:** [October 30, 2010, 2:25pm UTC](https://forum.kirupa.com/t/netstream-time-problem/315624 "2010-10-30T14:25:15Z")

</div>

Hello. Right now i'm stuck with this and i can't seem to pull it off. so i have somthing like this : newTime = Math.round(this.stream\_ns.time()); this.class.tweenSeekPlay(newTime); and ther's the tweenSeekPlay …

---

## [Tutorial gallery (+ thumbnail) not working](https://forum.kirupa.com/t/tutorial-gallery-thumbnail-not-working/315623)

<div class="topic-metadata">

**Author:** [@xelaxam](https://forum.kirupa.com/u/xelaxam)\
**Replies:** 0\
**Last updated:** [October 30, 2010, 2:24pm UTC](https://forum.kirupa.com/t/tutorial-gallery-thumbnail-not-working/315623 "2010-10-30T14:24:16Z")

</div>

I tried this morning the tutorial gallery with thumbnail. Is anyone have tried it in as3? I mean just make it in as2 as suposed but load it in a as3 file. if so tell me how because on my side it doesn't work (and I to…

---

## [Where to add new script in ActionScript file](https://forum.kirupa.com/t/where-to-add-new-script-in-actionscript-file/315621)

<div class="topic-metadata">

**Author:** [@saratogacoach2](https://forum.kirupa.com/u/saratogacoach2)\
**Replies:** 0\
**Last updated:** [October 30, 2010, 2:16pm UTC](https://forum.kirupa.com/t/where-to-add-new-script-in-actionscript-file/315621 "2010-10-30T14:16:12Z")

</div>

Hi, My first posting. I am a newbie using Flash Pro CS5 and have beginner skills in AS3. I am working on an eLearning lesson and had a question, but have now solved the issue. So no help needed at this point. If I …

---

## [Color wont show on Website](https://forum.kirupa.com/t/color-wont-show-on-website/315620)

<div class="topic-metadata">

**Author:** [@izzo101](https://forum.kirupa.com/u/izzo101)\
**Replies:** 0\
**Last updated:** [October 30, 2010, 1:49pm UTC](https://forum.kirupa.com/t/color-wont-show-on-website/315620 "2010-10-30T13:49:08Z")

</div>

Ok so I'm working on a site for a friend. I upload it to the JustHost server for testing and it shows up in only black, white, and neutral colors except for the one picture. This is not the color scheme I have in my f…

---

## [Image Disappears as3](https://forum.kirupa.com/t/image-disappears-as3/315619)

<div class="topic-metadata">

**Author:** [@colk](https://forum.kirupa.com/u/colk)\
**Replies:** 0\
**Last updated:** [October 30, 2010, 1:05pm UTC](https://forum.kirupa.com/t/image-disappears-as3/315619 "2010-10-30T13:05:49Z")

</div>

\[FONT=Arial\] Hi I have a strange problem on a project i am working on and i have nearly come to the end and need this bug solving and i am hoping someone will have the answer!! I create a movieclip and then allow the …

---

## [addChild mouseClick](https://forum.kirupa.com/t/addchild-mouseclick/315617)

<div class="topic-metadata">

**Author:** [@jagguy](https://forum.kirupa.com/u/jagguy)\
**Replies:** 0\
**Last updated:** [October 30, 2010, 1:02pm UTC](https://forum.kirupa.com/t/addchild-mouseclick/315617 "2010-10-30T13:02:26Z")

</div>

\[LEFT\]If I want to have a mouseEvent and add an image to a sprite I need to add the image in the class and not after ? See where I have used addChild? //main.as myintro=new ClassIntro(IntroCanvas,0,0);\[/LEFT\] myin…

---

## [Controlling MCs with actionscript](https://forum.kirupa.com/t/controlling-mcs-with-actionscript/315614)

<div class="topic-metadata">

**Author:** [@loneranger](https://forum.kirupa.com/u/loneranger)\
**Replies:** 0\
**Last updated:** [October 30, 2010, 11:47am UTC](https://forum.kirupa.com/t/controlling-mcs-with-actionscript/315614 "2010-10-30T11:47:53Z")

</div>

Hi, i've just registered to this forum in the hope of more qualified advice, i'm fairly new to actionscript and really struggling with some code. I'm having some trouble with the attached file, i've tried lots of thing…

---

## [Form with checkbox AS2](https://forum.kirupa.com/t/form-with-checkbox-as2/315612)

<div class="topic-metadata">

**Author:** [@AIP](https://forum.kirupa.com/u/AIP)\
**Replies:** 0\
**Last updated:** [October 30, 2010, 10:09am UTC](https://forum.kirupa.com/t/form-with-checkbox-as2/315612 "2010-10-30T10:09:25Z")

</div>

I have attached the modified version of FLA, the form component from this website for your review. The problem is the checkbox selection appears in reverse order when I trace the output on Submitting the form, is there …

---

## [Follow Mouse within an area](https://forum.kirupa.com/t/follow-mouse-within-an-area/315611)

<div class="topic-metadata">

**Author:** [@kitty100](https://forum.kirupa.com/u/kitty100)\
**Replies:** 0\
**Last updated:** [October 30, 2010, 8:57am UTC](https://forum.kirupa.com/t/follow-mouse-within-an-area/315611 "2010-10-30T08:57:42Z")

</div>

Hi, I made a code which gives function to an object follow the mouse within an specific area. I am very poor in English. So I can't explain it more. Just check the code and try to improve it. this.onEnterFrame = funct…

---

## [2 classes in 1 file?](https://forum.kirupa.com/t/2-classes-in-1-file/315608)

<div class="topic-metadata">

**Author:** [@jagguy](https://forum.kirupa.com/u/jagguy)\
**Replies:** 0\
**Last updated:** [October 30, 2010, 5:58am UTC](https://forum.kirupa.com/t/2-classes-in-1-file/315608 "2010-10-30T05:58:56Z")

</div>

Can I declare 2 classes in the one AS3 file? I tried this without success package { public class ClassTest { private var a:classTest2; public function ClassTest() { a=new C…

---

## [Image processing in flash (flex)](https://forum.kirupa.com/t/image-processing-in-flash-flex/315607)

<div class="topic-metadata">

**Author:** [@kadaj](https://forum.kirupa.com/u/kadaj)\
**Replies:** 0\
**Last updated:** [October 30, 2010, 5:49am UTC](https://forum.kirupa.com/t/image-processing-in-flash-flex/315607 "2010-10-30T05:49:00Z")

</div>

Is there a way to process a picture \> 4096 x 4096 px in pixel bender? Or any other technique?

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

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