# flash

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

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

**Page:** 96

---

## [How to convert flash lite 1.1 to AS2?](https://forum.kirupa.com/t/how-to-convert-flash-lite-1-1-to-as2/326655)

<div class="topic-metadata">

**Author:** [@deniset](https://forum.kirupa.com/u/deniset)\
**Replies:** 0\
**Last updated:** [January 3, 2012, 7:26am UTC](https://forum.kirupa.com/t/how-to-convert-flash-lite-1-1-to-as2/326655 "2012-01-03T07:26:59Z")

</div>

I have the following code in flash lite 1.1 and would like to convert it into AS2 longN = length(point); for (i=1; i\<8; i++) { if (i\>longN) { tellTarget ("s" add i) { gotoAndStop(11); }…

---

## [Get screens list on mac with thunderbolt](https://forum.kirupa.com/t/get-screens-list-on-mac-with-thunderbolt/326650)

<div class="topic-metadata">

**Author:** [@Pier25](https://forum.kirupa.com/u/Pier25)\
**Replies:** 0\
**Last updated:** [January 2, 2012, 5:32pm UTC](https://forum.kirupa.com/t/get-screens-list-on-mac-with-thunderbolt/326650 "2012-01-02T17:32:34Z")

</div>

I'm trying to get a list of available screens with Screen.screens on my macbook pro 10.7.2 with an external monitor connected via thunderbolt. The problem is that only the laptop's monitor show up... not the external m…

---

## [TLF Text in Button Symbols for IE](https://forum.kirupa.com/t/tlf-text-in-button-symbols-for-ie/326648)

<div class="topic-metadata">

**Author:** [@mohiniraj](https://forum.kirupa.com/u/mohiniraj)\
**Replies:** 0\
**Last updated:** [January 2, 2012, 10:50am UTC](https://forum.kirupa.com/t/tlf-text-in-button-symbols-for-ie/326648 "2012-01-02T10:50:23Z")

</div>

Hi, I have few button symbols designed in my flash movie. My flash movie is displayed in 9 regional languages and hence I have used TLF text for Flash Movie which easily displays Unicode text. SWF displays text prope…

---

## [Achieving a cool rollover effect?](https://forum.kirupa.com/t/achieving-a-cool-rollover-effect/326647)

<div class="topic-metadata">

**Author:** [@inspire](https://forum.kirupa.com/u/inspire)\
**Replies:** 0\
**Last updated:** [January 2, 2012, 9:19am UTC](https://forum.kirupa.com/t/achieving-a-cool-rollover-effect/326647 "2012-01-02T09:19:22Z")

</div>

What do you call these kind of effects? refer to the buttons "about","services","solutions" etc. as well as the big yellow, green and blue buttons..

---

## [Help with if else condition](https://forum.kirupa.com/t/help-with-if-else-condition/326641)

<div class="topic-metadata">

**Author:** [@Obi\_Wan](https://forum.kirupa.com/u/Obi_Wan)\
**Replies:** 0\
**Last updated:** [January 2, 2012, 12:18am UTC](https://forum.kirupa.com/t/help-with-if-else-condition/326641 "2012-01-02T00:18:53Z")

</div>

I have a bunch of items that I loop through, when the user selects the item, it does a few things. Plays a sound Animates the selected item (scales and adds glow) Scales any other other item not equal to selected item…

---

## [Passing parameters through dynamic function refrencing](https://forum.kirupa.com/t/passing-parameters-through-dynamic-function-refrencing/326636)

<div class="topic-metadata">

**Author:** [@arunforce](https://forum.kirupa.com/u/arunforce)\
**Replies:** 0\
**Last updated:** [January 1, 2012, 9:04pm UTC](https://forum.kirupa.com/t/passing-parameters-through-dynamic-function-refrencing/326636 "2012-01-01T21:04:50Z")

</div>

I'm making a function, and I want to pass it's handling less restrictively, kinda like jQuery I guess. function cfunc(min, max) { return (Math.floor(Math.random()\*(max-min))+min); } var cf = "cfunc"; trace(this\[c…

---

## [\[Box2D\] making complex polygons](https://forum.kirupa.com/t/box2d-making-complex-polygons/326634)

<div class="topic-metadata">

**Author:** [@AfterEight](https://forum.kirupa.com/u/AfterEight)\
**Replies:** 0\
**Last updated:** [January 1, 2012, 3:23pm UTC](https://forum.kirupa.com/t/box2d-making-complex-polygons/326634 "2012-01-01T15:23:01Z")

</div>

Hopefully box2d questions are ok here. I posted long ago in the official box2d forums but it's completely dead. Maybe some box2d guys here? Well here goes: So I'm trying to create a custom shape that I define with point…

---

## [Help communicating between classes](https://forum.kirupa.com/t/help-communicating-between-classes/326632)

<div class="topic-metadata">

**Author:** [@Obi\_Wan](https://forum.kirupa.com/u/Obi_Wan)\
**Replies:** 0\
**Last updated:** [January 1, 2012, 2:29pm UTC](https://forum.kirupa.com/t/help-communicating-between-classes/326632 "2012-01-01T14:29:26Z")

</div>

Hey folks I have a sound manager class that I use in my game to load all my sounds, which works fine for the most part. But I created a volume settings which allows the user to adjust the volume on specific sounds in the…

---

## [Reading from a client side text file](https://forum.kirupa.com/t/reading-from-a-client-side-text-file/326631)

<div class="topic-metadata">

**Author:** [@fury\_s12](https://forum.kirupa.com/u/fury_s12)\
**Replies:** 0\
**Last updated:** [January 1, 2012, 12:09am UTC](https://forum.kirupa.com/t/reading-from-a-client-side-text-file/326631 "2012-01-01T00:09:55Z")

</div>

Hi everyone, i know some forums dont like those that sign up simply to ask a question, but ive been a long time lurker and part time flash developer and have got stuck on an problem that i clearly dont fully understand t…

---

## [How to make arrow hit target every time?](https://forum.kirupa.com/t/how-to-make-arrow-hit-target-every-time/326630)

<div class="topic-metadata">

**Author:** [@IgiveUp](https://forum.kirupa.com/u/IgiveUp)\
**Replies:** 0\
**Last updated:** [December 31, 2011, 9:29pm UTC](https://forum.kirupa.com/t/how-to-make-arrow-hit-target-every-time/326630 "2011-12-31T21:29:39Z")

</div>

I know I'm not even close. I'm no mathematician. I just can't figure out how to adjust the power and arc of the arrow to hit the target every time. Any help would be much appreciated. I'm still new to programming so don'…

---

## [String Searching](https://forum.kirupa.com/t/string-searching/326629)

<div class="topic-metadata">

**Author:** [@revo999](https://forum.kirupa.com/u/revo999)\
**Replies:** 0\
**Last updated:** [December 31, 2011, 9:58am UTC](https://forum.kirupa.com/t/string-searching/326629 "2011-12-31T09:58:22Z")

</div>

Hi all I am converting a number to string var myResult : Number = 12.6789345 var myString : String ; myString = String (myResult); i am trying to search . (decimal point) if ( myString.search(".") { } bu…

---

## [Proscenium](https://forum.kirupa.com/t/proscenium/326628)

<div class="topic-metadata">

**Author:** [@ColinDavies](https://forum.kirupa.com/u/ColinDavies)\
**Replies:** 0\
**Last updated:** [December 31, 2011, 7:37am UTC](https://forum.kirupa.com/t/proscenium/326628 "2011-12-31T07:37:36Z")

</div>

Maybe this is a silly question, but then I'd be sillier if I didn't ask it. i'm trying to learn about molehill,Stage3D, AGAL, etc. Should I be also looking at Adobe Proscenium ? The reason I ask is that it obviously can…

---

## [Getting notes from a Midi file](https://forum.kirupa.com/t/getting-notes-from-a-midi-file/326627)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [December 31, 2011, 6:31am UTC](https://forum.kirupa.com/t/getting-notes-from-a-midi-file/326627 "2011-12-31T06:31:02Z")

</div>

Hi, I want to load a midi file into Flash and have it read the sequence so I can get each musical note from the file. But I'm not sure where to start on this. Does anyone know how I would go about accomplishing this? …

---

## [Constraining startDrag() to trapezoid shape](https://forum.kirupa.com/t/constraining-startdrag-to-trapezoid-shape/326625)

<div class="topic-metadata">

**Author:** [@joptionpane](https://forum.kirupa.com/u/joptionpane)\
**Replies:** 0\
**Last updated:** [December 30, 2011, 6:34pm UTC](https://forum.kirupa.com/t/constraining-startdrag-to-trapezoid-shape/326625 "2011-12-30T18:34:42Z")

</div>

hei guys.. how can i constrain the dragging of my movieClip inside the shape of a trapezoid? here's the code.. pamato.onPress = function() { startDrag(this, false, 1000, 270, 130, 605); }; pamato.onRelease =…

---

## [Using AS3 Vectors in Flash CS3](https://forum.kirupa.com/t/using-as3-vectors-in-flash-cs3/326624)

<div class="topic-metadata">

**Author:** [@temp6532](https://forum.kirupa.com/u/temp6532)\
**Replies:** 0\
**Last updated:** [December 30, 2011, 3:50pm UTC](https://forum.kirupa.com/t/using-as3-vectors-in-flash-cs3/326624 "2011-12-30T15:50:50Z")

</div>

Hello, I was wondering if it was possible in ANY way to use the Vector class in Flash CS3? I have Flash CS5.5 but I prefer the GUI in CS3 over a hundred times more and I'm working on a project right now in which some of …

---

## [Overlapping sound vs. Andio not in sync](https://forum.kirupa.com/t/overlapping-sound-vs-andio-not-in-sync/326622)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [December 30, 2011, 12:57pm UTC](https://forum.kirupa.com/t/overlapping-sound-vs-andio-not-in-sync/326622 "2011-12-30T12:57:10Z")

</div>

Hi, I am aving a problem managing the sound in my application. Here is the situation: I have ten frames in the main timeline and on each frame is a movieclip, inside of which i need to put sound (Each movieclip plays a…

---

## [iPhone full screen landscape only, how to do auto orientation?](https://forum.kirupa.com/t/iphone-full-screen-landscape-only-how-to-do-auto-orientation/326621)

<div class="topic-metadata">

**Author:** [@rei\_flash](https://forum.kirupa.com/u/rei_flash)\
**Replies:** 0\
**Last updated:** [December 30, 2011, 11:53am UTC](https://forum.kirupa.com/t/iphone-full-screen-landscape-only-how-to-do-auto-orientation/326621 "2011-12-30T11:53:33Z")

</div>

Hello, just a simple question but I haven't yet find an good answer. As titled, my app is landscape and I want it full screen only; and I don't know how to make it auto-rotate... in iOS Export option I can just chec…

---

## [Site will not load. Using AS2 and ZigoEngine](https://forum.kirupa.com/t/site-will-not-load-using-as2-and-zigoengine/326613)

<div class="topic-metadata">

**Author:** [@Graph\_DesignerG](https://forum.kirupa.com/u/Graph_DesignerG)\
**Replies:** 0\
**Last updated:** [December 30, 2011, 1:04am UTC](https://forum.kirupa.com/t/site-will-not-load-using-as2-and-zigoengine/326613 "2011-12-30T01:04:42Z")

</div>

Ok, I'm a designer, not a skilled coder, think logos. I, with the help of a award winning designer, went about building a portfolio website. He left for Vermont and me hanging. When loaded, in browser, it will not start …

---

## [Dumb noob question - FlashCS4](https://forum.kirupa.com/t/dumb-noob-question-flashcs4/326611)

<div class="topic-metadata">

**Author:** [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Replies:** 0\
**Last updated:** [December 29, 2011, 9:10pm UTC](https://forum.kirupa.com/t/dumb-noob-question-flashcs4/326611 "2011-12-29T21:10:22Z")

</div>

When I draw a stroke and then go to adjust the thickness or style (dotted, dashed etc.) all the stroke options are grayed out. Why is that, and how do I change these things? I'm pretty sure I used to be able to. I'm stum…

---

## [How to insert ads while swf is still loading :(](https://forum.kirupa.com/t/how-to-insert-ads-while-swf-is-still-loading/326605)

<div class="topic-metadata">

**Author:** [@aleksandar28](https://forum.kirupa.com/u/aleksandar28)\
**Replies:** 0\
**Last updated:** [December 28, 2011, 2:42pm UTC](https://forum.kirupa.com/t/how-to-insert-ads-while-swf-is-still-loading/326605 "2011-12-28T14:42:18Z")

</div>

Hello, i would like to insert my adsense while swf(game) is loading, and when swf(game) is just finished loading, then show swf(game). I'm desperate, please help me!! Something like this: http://www.startgames.ws/game…

---

## [I need to use super() in a handler function but AS3 won't let me!](https://forum.kirupa.com/t/i-need-to-use-super-in-a-handler-function-but-as3-wont-let-me/326603)

<div class="topic-metadata">

**Author:** [@caccola](https://forum.kirupa.com/u/caccola)\
**Replies:** 0\
**Last updated:** [December 28, 2011, 12:25pm UTC](https://forum.kirupa.com/t/i-need-to-use-super-in-a-handler-function-but-as3-wont-let-me/326603 "2011-12-28T12:25:23Z")

</div>

Hi all, sorry for my english (i'm from Italy) I'm trying to make a CustomLoader class that extends another class. In the contructor of my CustomLoader, i need to call super(myLoader:Loader) where myLoader is a Loader o…

---

## [TypeError: Error #1006: value is not a function. Please help](https://forum.kirupa.com/t/typeerror-error-1006-value-is-not-a-function-please-help/326602)

<div class="topic-metadata">

**Author:** [@Availor](https://forum.kirupa.com/u/Availor)\
**Replies:** 0\
**Last updated:** [December 28, 2011, 12:11pm UTC](https://forum.kirupa.com/t/typeerror-error-1006-value-is-not-a-function-please-help/326602 "2011-12-28T12:11:32Z")

</div>

Hello, I've tried to figure out why this didn't work. Please maybe someone can help me out. This is my code: I have 4 buttons that are named btn1, btn2, btn3, btn4. if I do only trace(my\_btn) it returns btn1, btn2, …

---

## [Flash CS3 AS2 - Symbol zone Hittest](https://forum.kirupa.com/t/flash-cs3-as2-symbol-zone-hittest/326601)

<div class="topic-metadata">

**Author:** [@deadkman](https://forum.kirupa.com/u/deadkman)\
**Replies:** 0\
**Last updated:** [December 28, 2011, 10:46am UTC](https://forum.kirupa.com/t/flash-cs3-as2-symbol-zone-hittest/326601 "2011-12-28T10:46:39Z")

</div>

Hi. I've been trying to work around this for a long time and no matter where i ask no one can give me any kind of solution to this... even when the problem itself doesn't look that hard but its hard to explain.... I wa…

---

## [Pressing more than one button in as3](https://forum.kirupa.com/t/pressing-more-than-one-button-in-as3/326597)

<div class="topic-metadata">

**Author:** [@Obi\_Wan](https://forum.kirupa.com/u/Obi_Wan)\
**Replies:** 0\
**Last updated:** [December 28, 2011, 12:20am UTC](https://forum.kirupa.com/t/pressing-more-than-one-button-in-as3/326597 "2011-12-28T00:20:57Z")

</div>

Hey folks, I was wondering if someone could help me figure something out. I have two buttons when the user selects both buttons I want to display a movie clip. Basically I created a mouse down event to set a variable nam…

---

## [StyleSheet + setTextFormat doesn´t work](https://forum.kirupa.com/t/stylesheet-settextformat-doesn-t-work/326591)

<div class="topic-metadata">

**Author:** [@magic74](https://forum.kirupa.com/u/magic74)\
**Replies:** 0\
**Last updated:** [December 27, 2011, 3:27pm UTC](https://forum.kirupa.com/t/stylesheet-settextformat-doesn-t-work/326591 "2011-12-27T15:27:45Z")

</div>

Hi to all, i can´t figure out why i can´t combine stylesheet and settextformat together: package marek{ import flash.display.DisplayObject; import flash.display.Sprite; import flash.text.\*; public cl…

---

## [Link a class from another class](https://forum.kirupa.com/t/link-a-class-from-another-class/326577)

<div class="topic-metadata">

**Author:** [@MFRS](https://forum.kirupa.com/u/MFRS)\
**Replies:** 0\
**Last updated:** [December 26, 2011, 4:55pm UTC](https://forum.kirupa.com/t/link-a-class-from-another-class/326577 "2011-12-26T16:55:41Z")

</div>

i have a monster hitting my character, and when i didn't had a class in my char i had if (this.hitTestObject(\_root.getChildByName("personagem"))) but now it doesn't work, because i created a class of my character, s…

---

## [Cutting Tiles from a MovieClip](https://forum.kirupa.com/t/cutting-tiles-from-a-movieclip/326573)

<div class="topic-metadata">

**Author:** [@IgiveUp](https://forum.kirupa.com/u/IgiveUp)\
**Replies:** 0\
**Last updated:** [December 26, 2011, 4:24am UTC](https://forum.kirupa.com/t/cutting-tiles-from-a-movieclip/326573 "2011-12-26T04:24:32Z")

</div>

My class works if I load the image using a url but does not work if I pass in a MovieClip. Any idea why? package { import flash.events.\*; import flash.display.\*; import flash.geom.\*; import flash.net.…

---

## [More on getting filters to work on iPhone (cacheAsBitmap?)](https://forum.kirupa.com/t/more-on-getting-filters-to-work-on-iphone-cacheasbitmap/326571)

<div class="topic-metadata">

**Author:** [@rei\_flash](https://forum.kirupa.com/u/rei_flash)\
**Replies:** 0\
**Last updated:** [December 25, 2011, 11:03pm UTC](https://forum.kirupa.com/t/more-on-getting-filters-to-work-on-iphone-cacheasbitmap/326571 "2011-12-25T23:03:59Z")

</div>

The cacheAsBitmap property is somewhat similar to what I had to do to get the filters to show up on iPhone GPU mode: \[URL="http://www.kirupa.com/forum/showthread.php?370075-AIR3-on-iPhone-filters-doesn-t-work!-!-BIG-HEAD…

---

## [Flash professional CS 5.5 actionscript 2.0 platform game help, can't jump over rock](https://forum.kirupa.com/t/flash-professional-cs-5-5-actionscript-2-0-platform-game-help-cant-jump-over-rock/326568)

<div class="topic-metadata">

**Author:** [@arch01](https://forum.kirupa.com/u/arch01)\
**Replies:** 0\
**Last updated:** [December 25, 2011, 7:44am UTC](https://forum.kirupa.com/t/flash-professional-cs-5-5-actionscript-2-0-platform-game-help-cant-jump-over-rock/326568 "2011-12-25T07:44:19Z")

</div>

Sorry, need some help again! I have took a video of the problem \[URL="http://www.youtube.com/watch?v=Hye39hn4KgE"\]http://www.youtube.com/watch?v=Hye39hn4KgE \[COLOR=#000000\] \[/COLOR\]I want to make my character jump ov…

---

## [Can I use jpg as mask?](https://forum.kirupa.com/t/can-i-use-jpg-as-mask/326563)

<div class="topic-metadata">

**Author:** [@zeeto](https://forum.kirupa.com/u/zeeto)\
**Replies:** 0\
**Last updated:** [December 24, 2011, 2:10pm UTC](https://forum.kirupa.com/t/can-i-use-jpg-as-mask/326563 "2011-12-24T14:10:44Z")

</div>

Hi, I wanted to put on the stage a png file with some transparent areas, unfortunately it weight too much. So instead I thought I'll create a shape object and use jpeg image as it's mask... This is my code: packag…

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

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