# programming

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

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

**Page:** 709

---

## [What is the name of this collision detection method?](https://forum.kirupa.com/t/what-is-the-name-of-this-collision-detection-method/295445)

<div class="topic-metadata">

**Author:** [@flyingmonkey456](https://forum.kirupa.com/u/flyingmonkey456)\
**Replies:** 0\
**Last updated:** [August 30, 2009, 2:22pm UTC](https://forum.kirupa.com/t/what-is-the-name-of-this-collision-detection-method/295445 "2009-08-30T14:22:24Z")

</div>

I came up with a way to do perfect collision detection for any shape, but i'm pretty sure it already exists. you put every corner of a shape into an array in either clockwise or counterclockwise order. then you give it a…

---

## [Movie Works in Flash Test But Not Html Test](https://forum.kirupa.com/t/movie-works-in-flash-test-but-not-html-test/295443)

<div class="topic-metadata">

**Author:** [@pi3rc3](https://forum.kirupa.com/u/pi3rc3)\
**Replies:** 0\
**Last updated:** [August 30, 2009, 12:46pm UTC](https://forum.kirupa.com/t/movie-works-in-flash-test-but-not-html-test/295443 "2009-08-30T12:46:57Z")

</div>

i have a movie that has worked fine in past during Html test but ive been doing some dubugging using the flash test latly and it runs fine here but when i go back and try to test in Html mode no errors come just the movi…

---

## [Can any one help to transelate to AS3 plz](https://forum.kirupa.com/t/can-any-one-help-to-transelate-to-as3-plz/295441)

<div class="topic-metadata">

**Author:** [@morkus\_2](https://forum.kirupa.com/u/morkus_2)\
**Replies:** 0\
**Last updated:** [August 30, 2009, 11:33am UTC](https://forum.kirupa.com/t/can-any-one-help-to-transelate-to-as3-plz/295441 "2009-08-30T11:33:46Z")

</div>

Hi i need to transelate this .fla to AS3 please i really need to add this to my source code in actionscript 3 for dragging part in my map.as and i dont know how to transelate this to actionscript 3.0 so please help me to…

---

## [IMG loader problem](https://forum.kirupa.com/t/img-loader-problem/295440)

<div class="topic-metadata">

**Author:** [@alon900](https://forum.kirupa.com/u/alon900)\
**Replies:** 0\
**Last updated:** [August 30, 2009, 11:29am UTC](https://forum.kirupa.com/t/img-loader-problem/295440 "2009-08-30T11:29:24Z")

</div>

Hi there, I've made an IMG loader which works fine on the first frame but once im going to another frame and back to the first frame with the IMG loader, im getting an error #1009. how i can be sure that all of the scr…

---

## [Scale images proportionally](https://forum.kirupa.com/t/scale-images-proportionally/295439)

<div class="topic-metadata">

**Author:** [@ttmt](https://forum.kirupa.com/u/ttmt)\
**Replies:** 0\
**Last updated:** [August 30, 2009, 10:33am UTC](https://forum.kirupa.com/t/scale-images-proportionally/295439 "2009-08-30T10:33:38Z")

</div>

Scale images proportionally Hi all I have a simple test site to test scaling images proportionally. http://www.ttmt.org.uk/imgScale/ stage.scaleMode=StageScaleMode.NO\_SCALE; stage.align=StageAlign.TOP\_LEFT; var…

---

## [Flash CS4 not working](https://forum.kirupa.com/t/flash-cs4-not-working/295436)

<div class="topic-metadata">

**Author:** [@kkamin](https://forum.kirupa.com/u/kkamin)\
**Replies:** 0\
**Last updated:** [August 30, 2009, 9:14am UTC](https://forum.kirupa.com/t/flash-cs4-not-working/295436 "2009-08-30T09:14:15Z")

</div>

It just started today. At first my masks wouldn't work right, they would show if I scrubbed the play head but if I 'tested a movie', they wouldn't show. Then my classic tweens wouldn't move right. Eventually the who…

---

## [Flash-XML gallery transition safari problems](https://forum.kirupa.com/t/flash-xml-gallery-transition-safari-problems/295435)

<div class="topic-metadata">

**Author:** [@Frg10](https://forum.kirupa.com/u/Frg10)\
**Replies:** 0\
**Last updated:** [August 30, 2009, 8:21am UTC](https://forum.kirupa.com/t/flash-xml-gallery-transition-safari-problems/295435 "2009-08-30T08:21:00Z")

</div>

Hi All, I created a Flash-XML photo gallery and the transitions are all working on all browsers except for Safari 4.0.3 with Player 9.0 (i tested with 3.1.2 with Player 9 and works ok). I used \_alpha functions to fad…

---

## [As2 to export a specific area of the stage](https://forum.kirupa.com/t/as2-to-export-a-specific-area-of-the-stage/295434)

<div class="topic-metadata">

**Author:** [@As2\_Kills](https://forum.kirupa.com/u/As2_Kills)\
**Replies:** 0\
**Last updated:** [August 30, 2009, 7:58am UTC](https://forum.kirupa.com/t/as2-to-export-a-specific-area-of-the-stage/295434 "2009-08-30T07:58:58Z")

</div>

Hi guys, I would like to export a specific area of the stage. So, for example. My stage is 400 x 400 and I would like to export only 100 x 100 of the stage at xy 0 pos. Any ideas?

---

## [Adding buttons in Datagrid](https://forum.kirupa.com/t/adding-buttons-in-datagrid/295433)

<div class="topic-metadata">

**Author:** [@Hellzzangel](https://forum.kirupa.com/u/Hellzzangel)\
**Replies:** 0\
**Last updated:** [August 30, 2009, 7:07am UTC](https://forum.kirupa.com/t/adding-buttons-in-datagrid/295433 "2009-08-30T07:07:08Z")

</div>

Am currently creating a data grid in which each rows needs to have a link to open a file.. Can somebody plz help me with CellRenderer class or post a sample code for the same...

---

## [Problem with AS3 package listeners](https://forum.kirupa.com/t/problem-with-as3-package-listeners/295431)

<div class="topic-metadata">

**Author:** [@KillinSprE](https://forum.kirupa.com/u/KillinSprE)\
**Replies:** 0\
**Last updated:** [August 30, 2009, 5:29am UTC](https://forum.kirupa.com/t/problem-with-as3-package-listeners/295431 "2009-08-30T05:29:33Z")

</div>

never mind

---

## [Need Help using class in AS3](https://forum.kirupa.com/t/need-help-using-class-in-as3/295429)

<div class="topic-metadata">

**Author:** [@Jorhfm](https://forum.kirupa.com/u/Jorhfm)\
**Replies:** 0\
**Last updated:** [August 30, 2009, 2:44am UTC](https://forum.kirupa.com/t/need-help-using-class-in-as3/295429 "2009-08-30T02:44:48Z")

</div>

Hi I'm realtive new to Flash, and I want to make a game where I can move my character using the arrows. I'm trying to do the function that receives the inputs inside a class, but I can't call the function without errors. …

---

## [Need Help with Tricky Mouse Over](https://forum.kirupa.com/t/need-help-with-tricky-mouse-over/295428)

<div class="topic-metadata">

**Author:** [@mrmorganjr](https://forum.kirupa.com/u/mrmorganjr)\
**Replies:** 0\
**Last updated:** [August 30, 2009, 12:50am UTC](https://forum.kirupa.com/t/need-help-with-tricky-mouse-over/295428 "2009-08-30T00:50:22Z")

</div>

Hey guys, I'm currently developing a website and I was given a png image to use for the navigation. I want to have an action occur when you rollover a certain part of the image then a word shows up on top(another png). I…

---

## [Creating Message Boards using Flash](https://forum.kirupa.com/t/creating-message-boards-using-flash/295427)

<div class="topic-metadata">

**Author:** [@skimpaler](https://forum.kirupa.com/u/skimpaler)\
**Replies:** 0\
**Last updated:** [August 30, 2009, 12:21am UTC](https://forum.kirupa.com/t/creating-message-boards-using-flash/295427 "2009-08-30T00:21:57Z")

</div>

I know there is a Flash Forum Engine on the market currently but the financial hit is way out of hand. (1000 Euro or about $2000 US) Seriously?! Anyway, does anyone know what I need to do to create a Flash based Messag…

---

## [Regular Expressions: Using a variable as a RegExp](https://forum.kirupa.com/t/regular-expressions-using-a-variable-as-a-regexp/295420)

<div class="topic-metadata">

**Author:** [@madhat](https://forum.kirupa.com/u/madhat)\
**Replies:** 0\
**Last updated:** [August 29, 2009, 9:10pm UTC](https://forum.kirupa.com/t/regular-expressions-using-a-variable-as-a-regexp/295420 "2009-08-29T21:10:22Z")

</div>

Hi All, I am using RegExp to search for character sequences within strings. I was wondering if/what is the proper way to use a string stored in a variable as a regular expression. For example: \[LEFT\]\[COLOR=#993300\]var…

---

## [Scrolling Large Bitmaps](https://forum.kirupa.com/t/scrolling-large-bitmaps/295419)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [August 29, 2009, 8:45pm UTC](https://forum.kirupa.com/t/scrolling-large-bitmaps/295419 "2009-08-29T20:45:45Z")

</div>

I am working on an image gallery that has to scroll very large images, on the scale of about 2500 X 2500 pixels. Now in this gallery I have to be able to show a scaled down view (to fit the stage), and a regularly scaled…

---

## [What happens if you override internal method in different package?](https://forum.kirupa.com/t/what-happens-if-you-override-internal-method-in-different-package/295416)

<div class="topic-metadata">

**Author:** [@wvxvw](https://forum.kirupa.com/u/wvxvw)\
**Replies:** 0\
**Last updated:** [August 29, 2009, 8:19pm UTC](https://forum.kirupa.com/t/what-happens-if-you-override-internal-method-in-different-package/295416 "2009-08-29T20:19:51Z")

</div>

Well, basically, you know the question already \[smile\] What bugs me is that I cannot get an answer to this because compiler doesn't like overriding internal functions in different packages, but, I would like to know what…

---

## [Keyboard Navigated Menu Challenge](https://forum.kirupa.com/t/keyboard-navigated-menu-challenge/295411)

<div class="topic-metadata">

**Author:** [@jumpsuit1](https://forum.kirupa.com/u/jumpsuit1)\
**Replies:** 0\
**Last updated:** [August 29, 2009, 6:20pm UTC](https://forum.kirupa.com/t/keyboard-navigated-menu-challenge/295411 "2009-08-29T18:20:42Z")

</div>

Hi there, I have a menu that will be navigated by mouse or keyboard. On the keyboard when the user presses the 'down' key it will go to the next button down and go to that mc button's 2nd frame and the next xml image …

---

## [Class TextFormat problem](https://forum.kirupa.com/t/class-textformat-problem/295408)

<div class="topic-metadata">

**Author:** [@mihaispr](https://forum.kirupa.com/u/mihaispr)\
**Replies:** 0\
**Last updated:** [August 29, 2009, 5:11pm UTC](https://forum.kirupa.com/t/class-textformat-problem/295408 "2009-08-29T17:11:57Z")

</div>

I'm trying to understand the properties of the TextFormat class. var sir:TextFormat = new TextFormat("Acesta e un exemplu"); trace(sir.align=TextFormatAlign.RIGHT); sir.font="Arial"; In the code above I defined my…

---

## [ColorMatrixFilter, Blending, Bitmaps](https://forum.kirupa.com/t/colormatrixfilter-blending-bitmaps/295406)

<div class="topic-metadata">

**Author:** [@Dan0](https://forum.kirupa.com/u/Dan0)\
**Replies:** 0\
**Last updated:** [August 29, 2009, 4:52pm UTC](https://forum.kirupa.com/t/colormatrixfilter-blending-bitmaps/295406 "2009-08-29T16:52:07Z")

</div>

Solved HERE: http://dan0.net/temp/particlewave/wave\_3d.html Hey, My experiment is here: http://wonderfl.net/code/05995b35bb6d1ae27f6a704d201443956b2f201c It's a mashup from two inspirations. Basically I'm using PV3D …

---

## [Rotation mouse follow](https://forum.kirupa.com/t/rotation-mouse-follow/295405)

<div class="topic-metadata">

**Author:** [@Ransom1337](https://forum.kirupa.com/u/Ransom1337)\
**Replies:** 0\
**Last updated:** [August 29, 2009, 4:50pm UTC](https://forum.kirupa.com/t/rotation-mouse-follow/295405 "2009-08-29T16:50:04Z")

</div>

Hello, I've put together some code to allow the user to rotate a clock hand around the clock by dragging it round. My code isn't working and I was wondering if anyone could take a look at it and see what I'm doing wrong.…

---

## [Using XML in Flash as3/cs4](https://forum.kirupa.com/t/using-xml-in-flash-as3-cs4/295399)

<div class="topic-metadata">

**Author:** [@possum87](https://forum.kirupa.com/u/possum87)\
**Replies:** 0\
**Last updated:** [August 29, 2009, 10:35am UTC](https://forum.kirupa.com/t/using-xml-in-flash-as3-cs4/295399 "2009-08-29T10:35:22Z")

</div>

So I've been following the tutorial on this site http://www.kirupa.com/developer/flashcs3/using\_xml\_as3\_pg3.htm I'm on page 3 where it starts to try and drill down to get specific nodes of data, but as soon as I add an…

---

## [Is focus() broken in Safari?](https://forum.kirupa.com/t/is-focus-broken-in-safari/295396)

<div class="topic-metadata">

**Author:** [@GenericUserName](https://forum.kirupa.com/u/GenericUserName)\
**Replies:** 0\
**Last updated:** [August 29, 2009, 6:38am UTC](https://forum.kirupa.com/t/is-focus-broken-in-safari/295396 "2009-08-29T06:38:23Z")

</div>

So I'm trying to get a web page to force browser focus onto a SWF once a page loads. The code works fine in Firefox (naturally) and in IE (very surprisingly). But focus() seems to not work at all in Safari. I've reinstal…

---

## [FLV Video Fade In (PLEASE HELP A LADY WITH AS3!)](https://forum.kirupa.com/t/flv-video-fade-in-please-help-a-lady-with-as3/295394)

<div class="topic-metadata">

**Author:** [@reid1](https://forum.kirupa.com/u/reid1)\
**Replies:** 0\
**Last updated:** [August 29, 2009, 3:40am UTC](https://forum.kirupa.com/t/flv-video-fade-in-please-help-a-lady-with-as3/295394 "2009-08-29T03:40:07Z")

</div>

Hi guys. I'm trying to make a fade in for my FLV video but I am not sure how I can go about doing that in actionscript 3. I was looking over a sample file that has this fade in effect for the video but it was created in …

---

## [Fine tuning with 3D roatation tool?](https://forum.kirupa.com/t/fine-tuning-with-3d-roatation-tool/295392)

<div class="topic-metadata">

**Author:** [@tomccabe](https://forum.kirupa.com/u/tomccabe)\
**Replies:** 0\
**Last updated:** [August 29, 2009, 3:23am UTC](https://forum.kirupa.com/t/fine-tuning-with-3d-roatation-tool/295392 "2009-08-29T03:23:43Z")

</div>

Hi, I'm wondering if there is (and I feel there HAS to be) a way to fine tune movements with the 3D rotation tool. Using the mouse works to an extent, but just like nudging movements with the arrow keys, it's sometimes…

---

## [Alpha Transparency Bitmaps](https://forum.kirupa.com/t/alpha-transparency-bitmaps/295390)

<div class="topic-metadata">

**Author:** [@AlexWD](https://forum.kirupa.com/u/AlexWD)\
**Replies:** 0\
**Last updated:** [August 29, 2009, 3:12am UTC](https://forum.kirupa.com/t/alpha-transparency-bitmaps/295390 "2009-08-29T03:12:07Z")

</div>

I haven't worked with AS3 for a few months, and even when I did I never took the time to learn it to extensively :|.. I'm creating an isometric map editor, the bitmap that I'm using to take the tiles from has a transpa…

---

## [Movie Symbols don't play after export](https://forum.kirupa.com/t/movie-symbols-dont-play-after-export/295388)

<div class="topic-metadata">

**Author:** [@splan](https://forum.kirupa.com/u/splan)\
**Replies:** 0\
**Last updated:** [August 29, 2009, 1:14am UTC](https://forum.kirupa.com/t/movie-symbols-dont-play-after-export/295388 "2009-08-29T01:14:36Z")

</div>

My SWF file plays properly, but if I open the file in After Effects the movie symbols don't play. Changing the movie symbols into graphic symbols works but then of course I lose my filters. I would export straight to …

---

## [Masking out off-stage content of loaded .swf?](https://forum.kirupa.com/t/masking-out-off-stage-content-of-loaded-swf/295387)

<div class="topic-metadata">

**Author:** [@Finne](https://forum.kirupa.com/u/Finne)\
**Replies:** 0\
**Last updated:** [August 29, 2009, 12:51am UTC](https://forum.kirupa.com/t/masking-out-off-stage-content-of-loaded-swf/295387 "2009-08-29T00:51:09Z")

</div>

I'm just starting out with AS3 and this is what I'm trying to do: I have an external .swf banner which is 900x250 pixels I want to load this .swf into my main project, using this code: var myLoader:Loader = new Load…

---

## [Movie works here but not there](https://forum.kirupa.com/t/movie-works-here-but-not-there/295385)

<div class="topic-metadata">

**Author:** [@East\_High](https://forum.kirupa.com/u/East_High)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 11:31pm UTC](https://forum.kirupa.com/t/movie-works-here-but-not-there/295385 "2009-08-28T23:31:01Z")

</div>

I'm new to CS3. I'm building a video player and it works just as it should in the folder structure I'm developing in. However, when I link to the main .swf from an html file in a different folder, the .swf loads, but it …

---

## [addEventListener handler with return value?](https://forum.kirupa.com/t/addeventlistener-handler-with-return-value/295382)

<div class="topic-metadata">

**Author:** [@artheus](https://forum.kirupa.com/u/artheus)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 8:57pm UTC](https://forum.kirupa.com/t/addeventlistener-handler-with-return-value/295382 "2009-08-28T20:57:32Z")

</div>

Hi. I'm just wondering.. Is there a way to make the handler in one of my addEventListeners give a return value? something like var myObject:MovieClip; myObject = this.addEventListener(Event.COMPLETE, handler); fun…

---

## [Color, RGB and Bit numbers](https://forum.kirupa.com/t/color-rgb-and-bit-numbers/295381)

<div class="topic-metadata">

**Author:** [@Dan0](https://forum.kirupa.com/u/Dan0)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 8:50pm UTC](https://forum.kirupa.com/t/color-rgb-and-bit-numbers/295381 "2009-08-28T20:50:07Z")

</div>

Hi, I have been playing around with this code at wonderfl. I can not find anywhere what this section of code means (I found it hard to search because of funny \>\> symbols). Please could anyone enlighten me on what the c…

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

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