# programming

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

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

**Page:** 382

---

## [Tutorial: Using the Device Panel](https://forum.kirupa.com/t/tutorial-using-the-device-panel/316008)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [November 10, 2010, 4:05am UTC](https://forum.kirupa.com/t/tutorial-using-the-device-panel/316008 "2010-11-10T04:05:03Z")

</div>

This thread is designed to help collect discussion on the Using the Device Panel tutorial. Feel free to drop in :samus\_v2: Cheers, Kirupa :rambo:

---

## [FLARToolKit 2 or 3 markers?](https://forum.kirupa.com/t/flartoolkit-2-or-3-markers/316007)

<div class="topic-metadata">

**Author:** [@ventoline](https://forum.kirupa.com/u/ventoline)\
**Replies:** 0\
**Last updated:** [November 10, 2010, 3:08am UTC](https://forum.kirupa.com/t/flartoolkit-2-or-3-markers/316007 "2010-11-10T03:08:34Z")

</div>

Hi there, Been toying aroung with augmented reality, works fine, just this time i nee three different markers to do 3 different things, i am working with NYArToolkit, which recognizes 2 patterns properly, but when i …

---

## [SimpleButton strange behavior](https://forum.kirupa.com/t/simplebutton-strange-behavior/316006)

<div class="topic-metadata">

**Author:** [@sasxa](https://forum.kirupa.com/u/sasxa)\
**Replies:** 0\
**Last updated:** [November 10, 2010, 2:26am UTC](https://forum.kirupa.com/t/simplebutton-strange-behavior/316006 "2010-11-10T02:26:35Z")

</div>

I've made ToggleButton by extending SimpleButton class, but I've noticed strange behavior: when you remove SimpleButton from stage, and add it again it appears in Over State... anyone knows why? Here's simple test code…

---

## [Drawing in as3](https://forum.kirupa.com/t/drawing-in-as3/316004)

<div class="topic-metadata">

**Author:** [@Matheus](https://forum.kirupa.com/u/Matheus)\
**Replies:** 0\
**Last updated:** [November 10, 2010, 1:01am UTC](https://forum.kirupa.com/t/drawing-in-as3/316004 "2010-11-10T01:01:37Z")

</div>

Gnight, i've tried to simulate a pencil tool, for drawing above a imagem, but the drawing is below the picture. How fix it? ty lapis.addEventListener(MouseEvent.CLICK, selecionaFerramenta); var drawing:Bool…

---

## [Flash As3 Error Help and Refinement](https://forum.kirupa.com/t/flash-as3-error-help-and-refinement/316002)

<div class="topic-metadata">

**Author:** [@mike25620](https://forum.kirupa.com/u/mike25620)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 11:49pm UTC](https://forum.kirupa.com/t/flash-as3-error-help-and-refinement/316002 "2010-11-09T23:49:23Z")

</div>

So I know this is all really crappy codes and probably poorly done, but I need some help and clarification. DocumentClass: package { import flash.display.MovieClip; import flash.ui.Keyboard; import flash.events…

---

## [Modern Flash](https://forum.kirupa.com/t/modern-flash/316001)

<div class="topic-metadata">

**Author:** [@LetsGoOutside](https://forum.kirupa.com/u/LetsGoOutside)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 11:41pm UTC](https://forum.kirupa.com/t/modern-flash/316001 "2010-11-09T23:41:46Z")

</div>

http://www.bantherewind.com/modern-flash Sort of an essay/tutorial on best practices and new techniques in AS3. Complete with some nice code templates and source for sample project. Thought I'd share.

---

## [Loader Question](https://forum.kirupa.com/t/loader-question/315998)

<div class="topic-metadata">

**Author:** [@Crystal](https://forum.kirupa.com/u/Crystal)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 7:12pm UTC](https://forum.kirupa.com/t/loader-question/315998 "2010-11-09T19:12:23Z")

</div>

Hi- I'm newly migrating over to AS3, so this may be a silly question, but is there a way to use only one Loader to load in three external swfs into different MC containers on the stage? Or, do I have to specify a new …

---

## [How do I rewind a movieclip like www.tokidoki.it?](https://forum.kirupa.com/t/how-do-i-rewind-a-movieclip-like-www-tokidoki-it/315996)

<div class="topic-metadata">

**Author:** [@bL00df0x](https://forum.kirupa.com/u/bL00df0x)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 5:54pm UTC](https://forum.kirupa.com/t/how-do-i-rewind-a-movieclip-like-www-tokidoki-it/315996 "2010-11-09T17:54:38Z")

</div>

Hello all, I have just started to learn action script and I would like the scrolling feature in www.tokidoki.it I managed to code feature which skips to the next image but not the rewind feature. Any help is great…

---

## [Dynamic referncing in AS3](https://forum.kirupa.com/t/dynamic-referncing-in-as3/315992)

<div class="topic-metadata">

**Author:** [@clockwork\_killa](https://forum.kirupa.com/u/clockwork_killa)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 3:56pm UTC](https://forum.kirupa.com/t/dynamic-referncing-in-as3/315992 "2010-11-09T15:56:31Z")

</div>

I have 4 arrays named array1 to array4, is there any way to reference them dynamically? What I mean is if I have for example var currentValue:int = 3; and I want to be able to access a specific array depending on that …

---

## [Firefox transparency issue?](https://forum.kirupa.com/t/firefox-transparency-issue/315991)

<div class="topic-metadata">

**Author:** [@jpearson311](https://forum.kirupa.com/u/jpearson311)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 3:48pm UTC](https://forum.kirupa.com/t/firefox-transparency-issue/315991 "2010-11-09T15:48:40Z")

</div>

Hi all. I have a page that has a flash navigation that is 275px tall. Directly underneath it, I have a flash game that I'm building and both the navigation and game are sitting inside of their own divs. I have the …

---

## [Flash transparency in Firefox?](https://forum.kirupa.com/t/flash-transparency-in-firefox/315990)

<div class="topic-metadata">

**Author:** [@jpearson311](https://forum.kirupa.com/u/jpearson311)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 3:27pm UTC](https://forum.kirupa.com/t/flash-transparency-in-firefox/315990 "2010-11-09T15:27:24Z")

</div>

Hi all. I have a page that has a flash navigation that is 275px tall. Directly underneath it, I have a flash game that I'm building and both the navigation and game are sitting inside of their own divs. I have the z-…

---

## [XML namespace heeeeellllp :(](https://forum.kirupa.com/t/xml-namespace-heeeeellllp/315989)

<div class="topic-metadata">

**Author:** [@forrestuv](https://forum.kirupa.com/u/forrestuv)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 3:17pm UTC](https://forum.kirupa.com/t/xml-namespace-heeeeellllp/315989 "2010-11-09T15:17:26Z")

</div>

\<Motion duration="60" xmlns="fl.motion.\*" xmlns:geom="flash.geom.\*" xmlns:filters="flash.filters.\*"\> \<source\> \<Source frameRate="31" x="128.75" y="315.75" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" s…

---

## [Old Newbie -Shop Catalogue - PHP imported image swap problem!](https://forum.kirupa.com/t/old-newbie-shop-catalogue-php-imported-image-swap-problem/315988)

<div class="topic-metadata">

**Author:** [@phatmambo](https://forum.kirupa.com/u/phatmambo)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 1:11pm UTC](https://forum.kirupa.com/t/old-newbie-shop-catalogue-php-imported-image-swap-problem/315988 "2010-11-09T13:11:10Z")

</div>

Just a quick one for anyone here that knows. I'm a real newbie but am learning fast. I Promise! I am setting up a small catalog site that runs off a MySQL database. On each product page there is a main image and six su…

---

## [A bit over my head](https://forum.kirupa.com/t/a-bit-over-my-head/315986)

<div class="topic-metadata">

**Author:** [@Osoms](https://forum.kirupa.com/u/Osoms)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 11:22am UTC](https://forum.kirupa.com/t/a-bit-over-my-head/315986 "2010-11-09T11:22:37Z")

</div>

Hello, I'm trying to make an animation (kind of a simple game, really) and I reached a point where I could really use your help. Ok, I need a script that would play an animation consisting of 4 frames for, say 20 seconds…

---

## [Tips For CSS:](https://forum.kirupa.com/t/tips-for-css/315984)

<div class="topic-metadata">

**Author:** [@webmaster12345](https://forum.kirupa.com/u/webmaster12345)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 10:35am UTC](https://forum.kirupa.com/t/tips-for-css/315984 "2010-11-09T10:35:58Z")

</div>

Browser compatibility is a crucial concern in the field of website development. In order to make sure your website performs well on all browsers and carters equally to all the website visitors, you need to ensure that th…

---

## [Finding a point relative to a center point?](https://forum.kirupa.com/t/finding-a-point-relative-to-a-center-point/315981)

<div class="topic-metadata">

**Author:** [@Caffeen](https://forum.kirupa.com/u/Caffeen)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 8:15am UTC](https://forum.kirupa.com/t/finding-a-point-relative-to-a-center-point/315981 "2010-11-09T08:15:45Z")

</div>

I'm having a hard time phrasing this question properly, so I apologize in advance if I sound like a moron. I'm trying to figure out how to find a point relative to the center of an object, modified by its rotation. For…

---

## [How do I view the source code of a web page?](https://forum.kirupa.com/t/how-do-i-view-the-source-code-of-a-web-page/315978)

<div class="topic-metadata">

**Author:** [@sophielucky](https://forum.kirupa.com/u/sophielucky)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 7:19am UTC](https://forum.kirupa.com/t/how-do-i-view-the-source-code-of-a-web-page/315978 "2010-11-09T07:19:32Z")

</div>

\*\*How do I view the source code of a web page? Anyone helps? Thanks in advance. \*\*

---

## [Point in a right direction](https://forum.kirupa.com/t/point-in-a-right-direction/315973)

<div class="topic-metadata">

**Author:** [@AndrewStansbury](https://forum.kirupa.com/u/AndrewStansbury)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 4:00am UTC](https://forum.kirupa.com/t/point-in-a-right-direction/315973 "2010-11-09T04:00:32Z")

</div>

I am making a miniature Zelda Link to the Past like Hack and slash game. This is my first Flash project, and I hope I didn't bite off more then I could chew I have my little hero moving around, and depending on where h…

---

## [60 millisecond sound delay](https://forum.kirupa.com/t/60-millisecond-sound-delay/315972)

<div class="topic-metadata">

**Author:** [@tbo](https://forum.kirupa.com/u/tbo)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 3:23am UTC](https://forum.kirupa.com/t/60-millisecond-sound-delay/315972 "2010-11-09T03:23:02Z")

</div>

The first time around, the sound play's exactly on time, After that it has about a 30-60 millisecond delay to re play it again. if i wait about 20 seconds it will be able to play exactly on time again...? Im new to the s…

---

## [Garbage Collection](https://forum.kirupa.com/t/garbage-collection/315971)

<div class="topic-metadata">

**Author:** [@VeddyCent](https://forum.kirupa.com/u/VeddyCent)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 3:16am UTC](https://forum.kirupa.com/t/garbage-collection/315971 "2010-11-09T03:16:42Z")

</div>

Hi everyone, I know that there have been questions asked about garbage collection and memory management and after hours of searching through the internet I frustratingly haven't been able to find a solution to my probl…

---

## [Resizing External Movie Clip - Not fullscreen toggle](https://forum.kirupa.com/t/resizing-external-movie-clip-not-fullscreen-toggle/315970)

<div class="topic-metadata">

**Author:** [@colorrot](https://forum.kirupa.com/u/colorrot)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 2:51am UTC](https://forum.kirupa.com/t/resizing-external-movie-clip-not-fullscreen-toggle/315970 "2010-11-09T02:51:01Z")

</div>

I created a splash page where you click on one of two buttons. I then whatever button you press, an external swf movie plays. What I want is for these external swfs to resize as large as it can be in proportion within …

---

## [Changing Y position results in random position](https://forum.kirupa.com/t/changing-y-position-results-in-random-position/315969)

<div class="topic-metadata">

**Author:** [@wMattD](https://forum.kirupa.com/u/wMattD)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 2:01am UTC](https://forum.kirupa.com/t/changing-y-position-results-in-random-position/315969 "2010-11-09T02:01:15Z")

</div>

I've run into a new problem, this time with positioning. I've narrowed down the line that's causing it--"block.y = block.y + block.height;" in SetOfBlocks.shiftDown. When I take it out, no problem. But with it in, ins…

---

## [Share your Page Flip resources](https://forum.kirupa.com/t/share-your-page-flip-resources/315968)

<div class="topic-metadata">

**Author:** [@JaniceHeck](https://forum.kirupa.com/u/JaniceHeck)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 2:00am UTC](https://forum.kirupa.com/t/share-your-page-flip-resources/315968 "2010-11-09T02:00:11Z")

</div>

It has been a long time since someone,me included,ever asked for Page-Flip resources in this forum.On one hand, professional develpoers prefer Java and Flash project; On the other hand, normal users would like a free and…

---

## [Noob humbled by removeChild](https://forum.kirupa.com/t/noob-humbled-by-removechild/315966)

<div class="topic-metadata">

**Author:** [@JamminBill](https://forum.kirupa.com/u/JamminBill)\
**Replies:** 0\
**Last updated:** [November 9, 2010, 12:21am UTC](https://forum.kirupa.com/t/noob-humbled-by-removechild/315966 "2010-11-09T00:21:39Z")

</div>

I have a simple animation that shows bicycle riders going from left to right across a landscape at various speeds. No problem there. I'm pulling the bicycle rider in from the library with addChild. I've got a timer set u…

---

## [Resize flash dynamically with javascript and actionscript](https://forum.kirupa.com/t/resize-flash-dynamically-with-javascript-and-actionscript/315965)

<div class="topic-metadata">

**Author:** [@malihu](https://forum.kirupa.com/u/malihu)\
**Replies:** 0\
**Last updated:** [November 8, 2010, 10:48pm UTC](https://forum.kirupa.com/t/resize-flash-dynamically-with-javascript-and-actionscript/315965 "2010-11-08T22:48:37Z")

</div>

A simple and efficient way of dynamically resizing flash embedded objects with javascript and actionscript. Read the post here: http://manos.malihu.gr/resize-flash-dynamically-with-javascript-and-actionscript

---

## [AS 3 newbie question](https://forum.kirupa.com/t/as-3-newbie-question/315963)

<div class="topic-metadata">

**Author:** [@emilian](https://forum.kirupa.com/u/emilian)\
**Replies:** 0\
**Last updated:** [November 8, 2010, 10:26pm UTC](https://forum.kirupa.com/t/as-3-newbie-question/315963 "2010-11-08T22:26:22Z")

</div>

Hello, I am trying to acomplish a very simple task with AS 3 with no results. I have a simple time line with a stop button. All I want to do is to stop the play head wherever the viewer clicks the button, and then to…

---

## [FORM FIELDS sent to an EMAIL](https://forum.kirupa.com/t/form-fields-sent-to-an-email/315960)

<div class="topic-metadata">

**Author:** [@shaunkess](https://forum.kirupa.com/u/shaunkess)\
**Replies:** 0\
**Last updated:** [November 8, 2010, 10:00pm UTC](https://forum.kirupa.com/t/form-fields-sent-to-an-email/315960 "2010-11-08T22:00:31Z")

</div>

hi! i'm creating a flash-based website with form fields that send the variables to an email address (via a php). however, the email has been containing the font codes (ie, color "000000", font "gotham", etc) in additio…

---

## [onMetaData gets triggered multiple times?](https://forum.kirupa.com/t/onmetadata-gets-triggered-multiple-times/315959)

<div class="topic-metadata">

**Author:** [@Stickeroo](https://forum.kirupa.com/u/Stickeroo)\
**Replies:** 0\
**Last updated:** [November 8, 2010, 9:29pm UTC](https://forum.kirupa.com/t/onmetadata-gets-triggered-multiple-times/315959 "2010-11-08T21:29:20Z")

</div>

Hi! First, I'll admit I'm new to working with NetConnections and NetStreams, so please, bear with me. I have a class set up that should just spit back the duration of a loaded video file. It works, but my onMetaData ha…

---

## [Sticky footer, problem clearing content in IE](https://forum.kirupa.com/t/sticky-footer-problem-clearing-content-in-ie/315958)

<div class="topic-metadata">

**Author:** [@Iso\_Rob](https://forum.kirupa.com/u/Iso_Rob)\
**Replies:** 0\
**Last updated:** [November 8, 2010, 9:18pm UTC](https://forum.kirupa.com/t/sticky-footer-problem-clearing-content-in-ie/315958 "2010-11-08T21:18:25Z")

</div>

Hi all, I'm working on the site http://www.carbonstudio.co.uk and I'm having a problem with the sticky footer clearing the content in IE7 (I think it works in IE6 & 8???). If someone could take a look that would be g…

---

## [Unhandled AsyncErrorEvent:](https://forum.kirupa.com/t/unhandled-asyncerrorevent/315956)

<div class="topic-metadata">

**Author:** [@energy](https://forum.kirupa.com/u/energy)\
**Replies:** 0\
**Last updated:** [November 8, 2010, 8:52pm UTC](https://forum.kirupa.com/t/unhandled-asyncerrorevent/315956 "2010-11-08T20:52:47Z")

</div>

I am trying to play live feed (using FLVPlayback) and getting this error: \[COLOR="Red"\]\[COLOR="Navy"\]Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095: flash.net.NetConnection was unable to invoke callback onFC…

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

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