# programming

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

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

**Page:** 316

---

## [Handle Constructor Stage References of Loaded SWF](https://forum.kirupa.com/t/handle-constructor-stage-references-of-loaded-swf/320011)

<div class="topic-metadata">

**Author:** [@Nejuf](https://forum.kirupa.com/u/Nejuf)\
**Replies:** 0\
**Last updated:** [March 11, 2011, 6:22am UTC](https://forum.kirupa.com/t/handle-constructor-stage-references-of-loaded-swf/320011 "2011-03-11T06:22:24Z")

</div>

I've read a lot of different articles and discussions about the null object reference that occurs when a loaded swf tries to access the stage before it has been added to the display list. And I'm wondering, "Is there s…

---

## [Fading effect with grid](https://forum.kirupa.com/t/fading-effect-with-grid/320009)

<div class="topic-metadata">

**Author:** [@elamonii](https://forum.kirupa.com/u/elamonii)\
**Replies:** 0\
**Last updated:** [March 11, 2011, 3:17am UTC](https://forum.kirupa.com/t/fading-effect-with-grid/320009 "2011-03-11T03:17:59Z")

</div>

Hello everyone, here are some nice post on Fading effect with grid in flash. Those work nicely. But how to create a complete flash animation with fading grid effect, means how can i make a fading grid effect where images…

---

## [Flash air app for the iphone - Multitasking?](https://forum.kirupa.com/t/flash-air-app-for-the-iphone-multitasking/320007)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [March 11, 2011, 2:10am UTC](https://forum.kirupa.com/t/flash-air-app-for-the-iphone-multitasking/320007 "2011-03-11T02:10:58Z")

</div>

hi Since the release of iOS 4, iphone apps are now able to use multi-tasking. But does iphone apps created with Flash also have this feature enabled?

---

## [Loading external FLV-s in embedded video](https://forum.kirupa.com/t/loading-external-flv-s-in-embedded-video/320006)

<div class="topic-metadata">

**Author:** [@sax586](https://forum.kirupa.com/u/sax586)\
**Replies:** 0\
**Last updated:** [March 11, 2011, 12:01am UTC](https://forum.kirupa.com/t/loading-external-flv-s-in-embedded-video/320006 "2011-03-11T00:01:54Z")

</div>

:puzzle:In Flash MX 2004 Pro. I have embedded the video in which needs to load several external FLV files. These are the problems. How do I stop the video and it removed (with the shutdown sound) How do I upload anot…

---

## [Statement must appear within on handler: score](https://forum.kirupa.com/t/statement-must-appear-within-on-handler-score/320004)

<div class="topic-metadata">

**Author:** [@turbopower](https://forum.kirupa.com/u/turbopower)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 11:07pm UTC](https://forum.kirupa.com/t/statement-must-appear-within-on-handler-score/320004 "2011-03-10T23:07:05Z")

</div>

This script somehow isn't working: if(view==1){ on (rollOver) { key.stopDrag(); key.x = origx; key.y = origy; \_global.View = 0; } } can anyone fix this?

---

## [Will current Search Engine Rankings get disturbed?](https://forum.kirupa.com/t/will-current-search-engine-rankings-get-disturbed/320003)

<div class="topic-metadata">

**Author:** [@EFlash](https://forum.kirupa.com/u/EFlash)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 10:56pm UTC](https://forum.kirupa.com/t/will-current-search-engine-rankings-get-disturbed/320003 "2011-03-10T22:56:45Z")

</div>

If a site that is made in html and currently has a good or high search engine listing is replaced by a completely flash website, will this effect the current search engine ranking? And If so, what must be done to avoid d…

---

## [AC3 to PHP email → Please Help](https://forum.kirupa.com/t/ac3-to-php-email-please-help/320001)

<div class="topic-metadata">

**Author:** [@arove](https://forum.kirupa.com/u/arove)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 10:47pm UTC](https://forum.kirupa.com/t/ac3-to-php-email-please-help/320001 "2011-03-10T22:47:03Z")

</div>

HERE IS MY FLASH ACTION SCRIPT TO SEND EMAIL FOR FORM. PLEASE HELP ME TO FIND WHAT I AM DOING WRONG! :sigh: send\_btn.addEventListener(MouseEvent.CLICK, fl\_MouseClickHandler); function fl\_MouseClickHandler(event:Mous…

---

## [XML file reading problem - help please](https://forum.kirupa.com/t/xml-file-reading-problem-help-please/319999)

<div class="topic-metadata">

**Author:** [@jamsoft](https://forum.kirupa.com/u/jamsoft)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 8:53pm UTC](https://forum.kirupa.com/t/xml-file-reading-problem-help-please/319999 "2011-03-10T20:53:17Z")

</div>

Hi all, I’m quite new in AS3 programming and I’ve the following 2 problems: The script will output only the “No text” for the first mouse click into the “txtBox” textbox . Only after second mouse click It will output…

---

## [How can we Create a game by c++](https://forum.kirupa.com/t/how-can-we-create-a-game-by-c/319996)

<div class="topic-metadata">

**Author:** [@niru786](https://forum.kirupa.com/u/niru786)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 7:36pm UTC](https://forum.kirupa.com/t/how-can-we-create-a-game-by-c/319996 "2011-03-10T19:36:55Z")

</div>

As you know c and c++ can do anything but how can we create a cricket oriented game by use of these. Please help or send any tutorial related to it . http://www.relwax.com

---

## [Passing variables in embed code](https://forum.kirupa.com/t/passing-variables-in-embed-code/319995)

<div class="topic-metadata">

**Author:** [@basscadet](https://forum.kirupa.com/u/basscadet)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 7:09pm UTC](https://forum.kirupa.com/t/passing-variables-in-embed-code/319995 "2011-03-10T19:09:21Z")

</div>

Hi all, what I need to do is have a flash movie jump to a set label in timeline according to which named variable I have defined in the embed HTML code. So, let's say I have a movie with two labeled frames ("shape1" a…

---

## [Release to Drop NOT WORKING on drag and drop?](https://forum.kirupa.com/t/release-to-drop-not-working-on-drag-and-drop/319994)

<div class="topic-metadata">

**Author:** [@arove](https://forum.kirupa.com/u/arove)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 6:21pm UTC](https://forum.kirupa.com/t/release-to-drop-not-working-on-drag-and-drop/319994 "2011-03-10T18:21:02Z")

</div>

Release to Drop NOT WORKING on drag and drop? Or is it something else? Can be seen here: paintedthetown.com/draganddrop.php var origX:Number; var origY:Number; for(var i:uint=1; i\<6; i++){ this\["choice\_"+String(…

---

## [Focus to next tabIndex](https://forum.kirupa.com/t/focus-to-next-tabindex/319992)

<div class="topic-metadata">

**Author:** [@aerahn](https://forum.kirupa.com/u/aerahn)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 5:08pm UTC](https://forum.kirupa.com/t/focus-to-next-tabindex/319992 "2011-03-10T17:08:23Z")

</div>

Hi all, Does anyone know if there is a way to set focus to the next item in the tabIndex? So for example (in psuedo code): stage.focus = whatever the next item in the tabIndex is Maybe something like tabIndex.next?…

---

## [Start/Stop MC in a tooltip](https://forum.kirupa.com/t/start-stop-mc-in-a-tooltip/319991)

<div class="topic-metadata">

**Author:** [@Xeophex](https://forum.kirupa.com/u/Xeophex)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 4:28pm UTC](https://forum.kirupa.com/t/start-stop-mc-in-a-tooltip/319991 "2011-03-10T16:28:18Z")

</div>

Hello, Attached is my .fla Basically, I followed a tutorial http://library.creativecow.net/articles/brimelow\_lee/tooltips/video-tutorial and have a basic tooltip working (actions in layer1, frame1 of main timeline). …

---

## [Casting Issue](https://forum.kirupa.com/t/casting-issue/319989)

<div class="topic-metadata">

**Author:** [@aerahn](https://forum.kirupa.com/u/aerahn)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 3:34pm UTC](https://forum.kirupa.com/t/casting-issue/319989 "2011-03-10T15:34:22Z")

</div>

I have a series of dynamically created text fields that form a grid and I want people to be able to auto tab through each field in the grid. I want them to be able to enter in 1 character and then have the focus move to …

---

## [Drag and drop then SNAP BACK TO ORIGIN → URGENT HELP PLEASE](https://forum.kirupa.com/t/drag-and-drop-then-snap-back-to-origin-urgent-help-please/319986)

<div class="topic-metadata">

**Author:** [@arove](https://forum.kirupa.com/u/arove)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 2:56pm UTC](https://forum.kirupa.com/t/drag-and-drop-then-snap-back-to-origin-urgent-help-please/319986 "2011-03-10T14:56:55Z")

</div>

THANKS FOR ANY HELP! \[smile\] 5 text choices (choice\_1 → choice\_5) 5 text field targets (box\_1 → box\_5) FUNCTION: Drag the choices to the targets. When dropped they display in target fields. Then snap back. I tho…

---

## [Flash not working in new firefox](https://forum.kirupa.com/t/flash-not-working-in-new-firefox/319985)

<div class="topic-metadata">

**Author:** [@kaitlyndzn](https://forum.kirupa.com/u/kaitlyndzn)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 1:50pm UTC](https://forum.kirupa.com/t/flash-not-working-in-new-firefox/319985 "2011-03-10T13:50:58Z")

</div>

Hey everyone! Thanks in advance, but ive created my website and majority of it is flash. The problem is it that it works in every other browser except mozilla firefox and I usually get the message saying i need to inst…

---

## [AS3 contact form with amfphp help!](https://forum.kirupa.com/t/as3-contact-form-with-amfphp-help/319984)

<div class="topic-metadata">

**Author:** [@flashblondey](https://forum.kirupa.com/u/flashblondey)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 1:34pm UTC](https://forum.kirupa.com/t/as3-contact-form-with-amfphp-help/319984 "2011-03-10T13:34:04Z")

</div>

Hi all, I was wondering if you could direct me to a decent tutorial or have any info on setting up a contact form in flash cs5 using amfphp? I can create the contact form in flash cs5 and i have set up the amfphp gatew…

---

## [District (city) County government is actively prep](https://forum.kirupa.com/t/district-city-county-government-is-actively-prep/319982)

<div class="topic-metadata">

**Author:** [@bcy073o19](https://forum.kirupa.com/u/bcy073o19)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 10:13am UTC](https://forum.kirupa.com/t/district-city-county-government-is-actively-prep/319982 "2011-03-10T10:13:37Z")

</div>

dress may meet practical needs such as protection against climate and labour hazards, but it has also been a powerful tool in the maintenance of hierarchy through its reflection of status, and has served to distinguish o…

---

## [Zooming / scaling of mc slows down the movie](https://forum.kirupa.com/t/zooming-scaling-of-mc-slows-down-the-movie/319980)

<div class="topic-metadata">

**Author:** [@2\_C](https://forum.kirupa.com/u/2_C)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 8:20am UTC](https://forum.kirupa.com/t/zooming-scaling-of-mc-slows-down-the-movie/319980 "2011-03-10T08:20:05Z")

</div>

What is the best way to zoom a movie clip, so that at the end it would be something like 10 times bigger? If I do this on the timeline, it will slow down the show dramatically. I know the change is huge and I have seve…

---

## [Problem accessing dynamic text in a dynamically created movielcip](https://forum.kirupa.com/t/problem-accessing-dynamic-text-in-a-dynamically-created-movielcip/319979)

<div class="topic-metadata">

**Author:** [@tonicboy](https://forum.kirupa.com/u/tonicboy)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 8:06am UTC](https://forum.kirupa.com/t/problem-accessing-dynamic-text-in-a-dynamically-created-movielcip/319979 "2011-03-10T08:06:35Z")

</div>

Hey guys, So I created a movieclip and linked it to a class called CustomButton. Inside the movie clip is a text field with name btnText. I then created a few buttons with this code: var newBtn:CustomButton = new…

---

## [Tweening between frames not working?](https://forum.kirupa.com/t/tweening-between-frames-not-working/319978)

<div class="topic-metadata">

**Author:** [@siriso](https://forum.kirupa.com/u/siriso)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 7:50am UTC](https://forum.kirupa.com/t/tweening-between-frames-not-working/319978 "2011-03-10T07:50:17Z")

</div>

Hi, everyone! There's two frames and I created a button in frame1 that it will tween its tint from grey to red color(using tweenmax) whenever mouse over and out. It will go to frame2 when the button got clicked, and on…

---

## [SaveXML](https://forum.kirupa.com/t/savexml/319973)

<div class="topic-metadata">

**Author:** [@ColinDavies](https://forum.kirupa.com/u/ColinDavies)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 5:19am UTC](https://forum.kirupa.com/t/savexml/319973 "2011-03-10T05:19:13Z")

</div>

I need my local user to be able to save an XML document, The 3 Methods I have discovered: 1.) Using XML Sockets I can safely save to my local machine, The only problem is, that I have to set it up as a server, set pol…

---

## [Test for event type does not work](https://forum.kirupa.com/t/test-for-event-type-does-not-work/319967)

<div class="topic-metadata">

**Author:** [@tonicboy](https://forum.kirupa.com/u/tonicboy)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 2:10am UTC](https://forum.kirupa.com/t/test-for-event-type-does-not-work/319967 "2011-03-10T02:10:46Z")

</div>

Hi all, I have an event handler that handles multiple event types so inside it I am trying to do a test for the event type, which to my understanding is a case-sensitive String. I have a statement such as: trace("e…

---

## [Tweening cut up bitmaps](https://forum.kirupa.com/t/tweening-cut-up-bitmaps/319966)

<div class="topic-metadata">

**Author:** [@xFlashStudentx](https://forum.kirupa.com/u/xFlashStudentx)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 2:07am UTC](https://forum.kirupa.com/t/tweening-cut-up-bitmaps/319966 "2011-03-10T02:07:53Z")

</div>

Hello, I'm trying to cut up a bitmap image into pieces, and then tween each piece away sequentially. Cutting up the pieces and placing those pieces in an array is where I'm at. But to tween each piece on a timer is where…

---

## [Good class structure - Boulderdash](https://forum.kirupa.com/t/good-class-structure-boulderdash/319963)

<div class="topic-metadata">

**Author:** [@Dreddy](https://forum.kirupa.com/u/Dreddy)\
**Replies:** 0\
**Last updated:** [March 9, 2011, 11:53pm UTC](https://forum.kirupa.com/t/good-class-structure-boulderdash/319963 "2011-03-09T23:53:30Z")

</div>

Hi Im writing a game and wondering about some good class structure. It's a Boulderdash game, top view, 4 directions, moves one square each movement, scrolling. Currently I have a: Main - has all the gameloop, controls…

---

## [Online interaction with flash?](https://forum.kirupa.com/t/online-interaction-with-flash/319961)

<div class="topic-metadata">

**Author:** [@flancrust](https://forum.kirupa.com/u/flancrust)\
**Replies:** 0\
**Last updated:** [March 9, 2011, 10:55pm UTC](https://forum.kirupa.com/t/online-interaction-with-flash/319961 "2011-03-09T22:55:44Z")

</div>

Im not really sure how best to describe what im looking to acheive, maybe a late night mental block isn't helping. I have recently got into flash and am looking and getting something together that allows interaction betw…

---

## [How to break up a movie clip?](https://forum.kirupa.com/t/how-to-break-up-a-movie-clip/319959)

<div class="topic-metadata">

**Author:** [@Oboe\_Passion](https://forum.kirupa.com/u/Oboe_Passion)\
**Replies:** 0\
**Last updated:** [March 9, 2011, 9:44pm UTC](https://forum.kirupa.com/t/how-to-break-up-a-movie-clip/319959 "2011-03-09T21:44:23Z")

</div>

I know you can seperate a bitmap into seperate pieces, but what if I want to split up a whole animated movie clip? And have each piece still running its part of the animation? How would I go about this? Thanks.

---

## [Auto Tab Dynamic text Fields](https://forum.kirupa.com/t/auto-tab-dynamic-text-fields/319958)

<div class="topic-metadata">

**Author:** [@aerahn](https://forum.kirupa.com/u/aerahn)\
**Replies:** 0\
**Last updated:** [March 9, 2011, 9:39pm UTC](https://forum.kirupa.com/t/auto-tab-dynamic-text-fields/319958 "2011-03-09T21:39:46Z")

</div>

I have a series of dynamically created text fields that form a grid and I want people to be able to auto tab through each field in the grid. I want them to be able to enter in 1 character and then have the focus move to …

---

## [General Query on AS3 Component Behavior](https://forum.kirupa.com/t/general-query-on-as3-component-behavior/319957)

<div class="topic-metadata">

**Author:** [@kalasnjikov](https://forum.kirupa.com/u/kalasnjikov)\
**Replies:** 0\
**Last updated:** [March 9, 2011, 9:21pm UTC](https://forum.kirupa.com/t/general-query-on-as3-component-behavior/319957 "2011-03-09T21:21:42Z")

</div>

Hello, I have a general question about AS3. I recently purchased a piece of code - an image scroller - as a component. I like the component, and it works well - except for one issue. When I first addChild the compo…

---

## [AS3 TextField & embedFonts](https://forum.kirupa.com/t/as3-textfield-embedfonts/319956)

<div class="topic-metadata">

**Author:** [@RedGiant](https://forum.kirupa.com/u/RedGiant)\
**Replies:** 0\
**Last updated:** [March 9, 2011, 9:16pm UTC](https://forum.kirupa.com/t/as3-textfield-embedfonts/319956 "2011-03-09T21:16:47Z")

</div>

I have been toying around with being able to see embedded fonts over different machines, and came a question. Is there a way to use an embedded font for a TextField that is placed in a movieclip that is exported for Acti…

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

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