# flash

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

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

**Page:** 22

---

## [Quick Question: How many timers is too much?](https://forum.kirupa.com/t/quick-question-how-many-timers-is-too-much/331941)

<div class="topic-metadata">

**Author:** [@GeekTweak\_0](https://forum.kirupa.com/u/GeekTweak_0)\
**Replies:** 0\
**Last updated:** [December 4, 2013, 8:43am UTC](https://forum.kirupa.com/t/quick-question-how-many-timers-is-too-much/331941 "2013-12-04T08:43:53Z")

</div>

I assume that the fewer the better, right? but much of the time timers are more than just necessary. How many timers would be considered an "inefficient amount"? and depending on the system using the .swf, would the answ…

---

## [AddChild or already place movie clip in timeline?](https://forum.kirupa.com/t/addchild-or-already-place-movie-clip-in-timeline/331934)

<div class="topic-metadata">

**Author:** [@PEProgrammer](https://forum.kirupa.com/u/PEProgrammer)\
**Replies:** 0\
**Last updated:** [December 2, 2013, 7:03pm UTC](https://forum.kirupa.com/t/addchild-or-already-place-movie-clip-in-timeline/331934 "2013-12-02T19:03:06Z")

</div>

I was wondering what is better... I have a widget inside an adobe AIR program that changes the settings of the adobe air program or adds info into a database. Like a settings tab. Is it better to use the timeline …

---

## [Passing XML data to flash](https://forum.kirupa.com/t/passing-xml-data-to-flash/331929)

<div class="topic-metadata">

**Author:** [@badmonur](https://forum.kirupa.com/u/badmonur)\
**Replies:** 0\
**Last updated:** [November 28, 2013, 10:04pm UTC](https://forum.kirupa.com/t/passing-xml-data-to-flash/331929 "2013-11-28T22:04:38Z")

</div>

I have some XML data and I would like to do a few things with it. I have a datagrid with a master list of materials and a combobox with the names the materials. I want to do a few things, load up variables depending on w…

---

## [Parallax scrolling - turning horizontal into vertical](https://forum.kirupa.com/t/parallax-scrolling-turning-horizontal-into-vertical/331924)

<div class="topic-metadata">

**Author:** [@GosiaP](https://forum.kirupa.com/u/GosiaP)\
**Replies:** 0\
**Last updated:** [November 28, 2013, 1:11am UTC](https://forum.kirupa.com/t/parallax-scrolling-turning-horizontal-into-vertical/331924 "2013-11-28T01:11:25Z")

</div>

Hi, I have this nicely working file with parallax effect horizontal scrolling. The code comes from this tutorial: http://webdesignerwall.com/tutorials/parallax-gallery Now I need to make another project with the same e…

---

## [How to calculate the apparent bounding box of a rotated object?](https://forum.kirupa.com/t/how-to-calculate-the-apparent-bounding-box-of-a-rotated-object/331922)

<div class="topic-metadata">

**Author:** [@sabird](https://forum.kirupa.com/u/sabird)\
**Replies:** 0\
**Last updated:** [November 27, 2013, 7:05pm UTC](https://forum.kirupa.com/t/how-to-calculate-the-apparent-bounding-box-of-a-rotated-object/331922 "2013-11-27T19:05:53Z")

</div>

Say I have a MovieClip of a non-rectangular shape. For an example I've attached a file called Symbol1.png. In this attached file, I've rotated the symbol instance. Of course, this causes the bounding box to rotate as …

---

## [Creating a mute button](https://forum.kirupa.com/t/creating-a-mute-button/331920)

<div class="topic-metadata">

**Author:** [@quest20](https://forum.kirupa.com/u/quest20)\
**Replies:** 0\
**Last updated:** [November 26, 2013, 2:11pm UTC](https://forum.kirupa.com/t/creating-a-mute-button/331920 "2013-11-26T14:11:44Z")

</div>

\[LEFT\]\[COLOR=#000000\]Hello Everyone, I am trying to build a toggle mute button. I have set up the Video and Camera class to capture video from a clients camera device. I would like to add a mute button to the video objec…

---

## [My application works correctly on a .swf but not .exe?](https://forum.kirupa.com/t/my-application-works-correctly-on-a-swf-but-not-exe/331918)

<div class="topic-metadata">

**Author:** [@razer56](https://forum.kirupa.com/u/razer56)\
**Replies:** 0\
**Last updated:** [November 26, 2013, 5:34am UTC](https://forum.kirupa.com/t/my-application-works-correctly-on-a-swf-but-not-exe/331918 "2013-11-26T05:34:45Z")

</div>

\[COLOR=#333333\]\[FONT=adobe-clean\]My application works perfects when I open it in its .swf format, but some buttons don't work correctly when I open it in its .exe format. It doesn't work correctly in HTML as well. This …

---

## [Swinging gift tag AS2](https://forum.kirupa.com/t/swinging-gift-tag-as2/331913)

<div class="topic-metadata">

**Author:** [@coastalstudio](https://forum.kirupa.com/u/coastalstudio)\
**Replies:** 0\
**Last updated:** [November 24, 2013, 5:34pm UTC](https://forum.kirupa.com/t/swinging-gift-tag-as2/331913 "2013-11-24T17:34:20Z")

</div>

Hello there, I'm creating a series of christmas banners and the main image I will be using across all of them is a gift tag. I would like to add a subtle animation to the gift tag so that it swings / sways (very gently…

---

## [Simple buttons not working](https://forum.kirupa.com/t/simple-buttons-not-working/331911)

<div class="topic-metadata">

**Author:** [@Jure\_Stama](https://forum.kirupa.com/u/Jure_Stama)\
**Replies:** 0\
**Last updated:** [November 23, 2013, 6:09pm UTC](https://forum.kirupa.com/t/simple-buttons-not-working/331911 "2013-11-23T18:09:29Z")

</div>

Hello, I am making a simple labyrinth game with rollover functions. I made a labyrinth (button), and end button (at the end of labyrinth). If you touch end button it goes on frame 4, and if you touch labyrinth wall (butt…

---

## [Actionscript to php and back (working, but...)](https://forum.kirupa.com/t/actionscript-to-php-and-back-working-but/331909)

<div class="topic-metadata">

**Author:** [@nightkarnation](https://forum.kirupa.com/u/nightkarnation)\
**Replies:** 0\
**Last updated:** [November 22, 2013, 8:51pm UTC](https://forum.kirupa.com/t/actionscript-to-php-and-back-working-but/331909 "2013-11-22T20:51:00Z")

</div>

Hey guys! I have a simple script that sends a variable to php (locally) and then php returns another variable to flash... Here's the simple script: var variables:URLVariables = new URLVariables(); var varSend:URLReq…

---

## [Random blinking / twinkling stars in AS2](https://forum.kirupa.com/t/random-blinking-twinkling-stars-in-as2/331907)

<div class="topic-metadata">

**Author:** [@coastalstudio](https://forum.kirupa.com/u/coastalstudio)\
**Replies:** 0\
**Last updated:** [November 22, 2013, 1:14pm UTC](https://forum.kirupa.com/t/random-blinking-twinkling-stars-in-as2/331907 "2013-11-22T13:14:30Z")

</div>

Hi there, I would like to insert some blinking / twinkling / flashing (whatever you want to call it!) stars into the background of my flash banner and I'm a little unsure as to how to do it using code (as2) - can anyon…

---

## [How to recreate image panning in AS2](https://forum.kirupa.com/t/how-to-recreate-image-panning-in-as2/331906)

<div class="topic-metadata">

**Author:** [@coastalstudio](https://forum.kirupa.com/u/coastalstudio)\
**Replies:** 0\
**Last updated:** [November 22, 2013, 8:50am UTC](https://forum.kirupa.com/t/how-to-recreate-image-panning-in-as2/331906 "2013-11-22T08:50:24Z")

</div>

Hi there, I need some urgent help from you lovely people... I've seen an ad (I've attached the zipped swf file) which contains an image in the background that pans slowly from top to bottom then fades at the end of t…

---

## [Help with automatic image panning in AS2 (Flash CS5)](https://forum.kirupa.com/t/help-with-automatic-image-panning-in-as2-flash-cs5/331904)

<div class="topic-metadata">

**Author:** [@coastalstudio](https://forum.kirupa.com/u/coastalstudio)\
**Replies:** 0\
**Last updated:** [November 21, 2013, 6:09pm UTC](https://forum.kirupa.com/t/help-with-automatic-image-panning-in-as2-flash-cs5/331904 "2013-11-21T18:09:02Z")

</div>

Hi there, I'm looking for some urgent help with a flash banner ad I'm working on... Basically, I would like an image to appear and then automatically pan horizontally from left to right, where it will then fade out.…

---

## [How to detect where the MC is coming from?](https://forum.kirupa.com/t/how-to-detect-where-the-mc-is-coming-from/331903)

<div class="topic-metadata">

**Author:** [@pistelli](https://forum.kirupa.com/u/pistelli)\
**Replies:** 0\
**Last updated:** [November 21, 2013, 5:12pm UTC](https://forum.kirupa.com/t/how-to-detect-where-the-mc-is-coming-from/331903 "2013-11-21T17:12:09Z")

</div>

Hi! I'll try to explain my problem in a simple way: I have a ball going from left to right or from right to left of stage. When this ball hits a MC positioned in the center of stage, I have 2 options: 1) If the ball is c…

---

## [Change Alignment of DataGrid Column](https://forum.kirupa.com/t/change-alignment-of-datagrid-column/331898)

<div class="topic-metadata">

**Author:** [@geHuC](https://forum.kirupa.com/u/geHuC)\
**Replies:** 0\
**Last updated:** [November 20, 2013, 9:55am UTC](https://forum.kirupa.com/t/change-alignment-of-datagrid-column/331898 "2013-11-20T09:55:51Z")

</div>

I've been splitting my hairs for the last few hours searching how to do it (the adobe reference documents are abysmal). When using mxml it just adding \<mx:DataGridColumn textAlign="right" /\> and you're done. In pu…

---

## [FancyHat: An in-dev Game by a 12yr old Programmer](https://forum.kirupa.com/t/fancyhat-an-in-dev-game-by-a-12yr-old-programmer/331895)

<div class="topic-metadata">

**Author:** [@mightybob](https://forum.kirupa.com/u/mightybob)\
**Replies:** 0\
**Last updated:** [November 18, 2013, 2:34pm UTC](https://forum.kirupa.com/t/fancyhat-an-in-dev-game-by-a-12yr-old-programmer/331895 "2013-11-18T14:34:41Z")

</div>

Hey, I'm 12yrs old and I like to program and animate games. My favorite flash game of all time is the Fancy Pants Adventures, so this game is sort of a tribute to it. I didn't go to any type of class, everything I kn…

---

## [How to make a movie clip invisible depending on a value in another layer?](https://forum.kirupa.com/t/how-to-make-a-movie-clip-invisible-depending-on-a-value-in-another-layer/331894)

<div class="topic-metadata">

**Author:** [@razer56](https://forum.kirupa.com/u/razer56)\
**Replies:** 0\
**Last updated:** [November 17, 2013, 11:06pm UTC](https://forum.kirupa.com/t/how-to-make-a-movie-clip-invisible-depending-on-a-value-in-another-layer/331894 "2013-11-17T23:06:05Z")

</div>

\[COLOR=#000000\]\[FONT=Arial\]I am trying to make an "achievements" page for my game, where if the user has a high score greater than 100, then the achievement can be unlocked. I tried using a code like this, but it didn't …

---

## [The simple ones are always the hardest](https://forum.kirupa.com/t/the-simple-ones-are-always-the-hardest/331893)

<div class="topic-metadata">

**Author:** [@scottiescotsman](https://forum.kirupa.com/u/scottiescotsman)\
**Replies:** 0\
**Last updated:** [November 17, 2013, 6:51pm UTC](https://forum.kirupa.com/t/the-simple-ones-are-always-the-hardest/331893 "2013-11-17T18:51:45Z")

</div>

import fl.transitions.Tween; import fl.transitions.easing.\*; import fl.transitions.TweenEvent; import flash.events.Event; var \_old:Event = e.currentTarget; ///////////////////////////////////////////////////////////////…

---

## [Why are my dynamic text fields not populating?](https://forum.kirupa.com/t/why-are-my-dynamic-text-fields-not-populating/331892)

<div class="topic-metadata">

**Author:** [@razer56](https://forum.kirupa.com/u/razer56)\
**Replies:** 0\
**Last updated:** [November 17, 2013, 1:59am UTC](https://forum.kirupa.com/t/why-are-my-dynamic-text-fields-not-populating/331892 "2013-11-17T01:59:58Z")

</div>

\[COLOR=#000000\]\[FONT=Arial\]For some reason my dynamic text fields aren't populating anymore. The only new thing I added before it stopped working correctly was a new button, but either way..if I take the button out or no…

---

## [How to play sounds depending on a value in a movie clip?](https://forum.kirupa.com/t/how-to-play-sounds-depending-on-a-value-in-a-movie-clip/331891)

<div class="topic-metadata">

**Author:** [@razer56](https://forum.kirupa.com/u/razer56)\
**Replies:** 0\
**Last updated:** [November 16, 2013, 4:41pm UTC](https://forum.kirupa.com/t/how-to-play-sounds-depending-on-a-value-in-a-movie-clip/331891 "2013-11-16T16:41:23Z")

</div>

\[COLOR=#000000\]\[FONT=Arial\]I have a movie clip layer (in main timeline) named "options\_mc" inside of it; it contains a dynamic text field (onoff\_txt) that changes to 0 or 100 when a button (sound\_btn) is clicked. If the …

---

## [How do I save a dynamic text?](https://forum.kirupa.com/t/how-do-i-save-a-dynamic-text/331885)

<div class="topic-metadata">

**Author:** [@razer56](https://forum.kirupa.com/u/razer56)\
**Replies:** 0\
**Last updated:** [November 16, 2013, 2:22am UTC](https://forum.kirupa.com/t/how-do-i-save-a-dynamic-text/331885 "2013-11-16T02:22:22Z")

</div>

\[COLOR=#000000\]\[FONT=Arial\]I have a dynamic text field that changes from 100 to 0 and vice versa when a button is clicked. I want this number to be saved when exiting the application, but it seems that it's not returning…

---

## [How to save a text locally when a button is clicked?](https://forum.kirupa.com/t/how-to-save-a-text-locally-when-a-button-is-clicked/331884)

<div class="topic-metadata">

**Author:** [@razer56](https://forum.kirupa.com/u/razer56)\
**Replies:** 0\
**Last updated:** [November 15, 2013, 9:25pm UTC](https://forum.kirupa.com/t/how-to-save-a-text-locally-when-a-button-is-clicked/331884 "2013-11-15T21:25:25Z")

</div>

\[COLOR=#000000\]\[FONT=Arial\]I want to make a button where once the button is clicked it changes a dynamic text field from 100 to 0, and if clicked again from 0 to 100. When I exit the game, I want it to save what the user…

---

## [Game Physics, Curved Ground](https://forum.kirupa.com/t/game-physics-curved-ground/331883)

<div class="topic-metadata">

**Author:** [@Jack\_Dudley](https://forum.kirupa.com/u/Jack_Dudley)\
**Replies:** 0\
**Last updated:** [November 15, 2013, 7:19pm UTC](https://forum.kirupa.com/t/game-physics-curved-ground/331883 "2013-11-15T19:19:23Z")

</div>

Hey Guys, I've been working on a flash game (sidescrolling platformer)for a few weeks now and was wondering how I can get my character (on a bike) to move up a curved bit of ground. At the moment he moves up it staying…

---

## [AS2 - move two objects with drag?](https://forum.kirupa.com/t/as2-move-two-objects-with-drag/331882)

<div class="topic-metadata">

**Author:** [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Replies:** 0\
**Last updated:** [November 15, 2013, 2:57pm UTC](https://forum.kirupa.com/t/as2-move-two-objects-with-drag/331882 "2013-11-15T14:57:17Z")

</div>

I've been looking all over and I see that there's no simple way to drag more than one object with startDrag. But there must be some way of coding it so that, say, movieClipA.x = movieClipB.x, so they move together. It mu…

---

## [Draw method stop at first frame](https://forum.kirupa.com/t/draw-method-stop-at-first-frame/331880)

<div class="topic-metadata">

**Author:** [@saschart](https://forum.kirupa.com/u/saschart)\
**Replies:** 0\
**Last updated:** [November 15, 2013, 7:58am UTC](https://forum.kirupa.com/t/draw-method-stop-at-first-frame/331880 "2013-11-15T07:58:40Z")

</div>

I need to make an animated flower movie using tile of one bitmap. I use the code below but write only the first frame then stop, how can I draw more frames? createEmptyMovieClip("triangle",2); triangle.beginFill(0x000…

---

## [Understanding the world and usage of flash banner ads](https://forum.kirupa.com/t/understanding-the-world-and-usage-of-flash-banner-ads/331877)

<div class="topic-metadata">

**Author:** [@g5creative007](https://forum.kirupa.com/u/g5creative007)\
**Replies:** 0\
**Last updated:** [November 14, 2013, 4:35pm UTC](https://forum.kirupa.com/t/understanding-the-world-and-usage-of-flash-banner-ads/331877 "2013-11-14T16:35:10Z")

</div>

If you want to promote any of your new ventures, it would be a wise idea to take the help of outsourcing forms that can provide quality commercial photography service at a reasonable rate. G5 Creative Group is one such o…

---

## [AS2 - Drag rotationally](https://forum.kirupa.com/t/as2-drag-rotationally/331876)

<div class="topic-metadata">

**Author:** [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Replies:** 0\
**Last updated:** [November 14, 2013, 2:27pm UTC](https://forum.kirupa.com/t/as2-drag-rotationally/331876 "2013-11-14T14:27:07Z")

</div>

I've got an interesting problem to solve, an interactive line graph. It's pretty simple graphically, but what I need to do is make one graph line both draggable up and down, and also, if possible, to rotate it interactiv…

---

## [How to embed html code inside my fla file?](https://forum.kirupa.com/t/how-to-embed-html-code-inside-my-fla-file/331875)

<div class="topic-metadata">

**Author:** [@ecptavares](https://forum.kirupa.com/u/ecptavares)\
**Replies:** 0\
**Last updated:** [November 14, 2013, 2:27pm UTC](https://forum.kirupa.com/t/how-to-embed-html-code-inside-my-fla-file/331875 "2013-11-14T14:27:03Z")

</div>

Hi! I have this code that is a video player from justin.tv broadcaster web site and I want to put this player inside my .fla file to compile it in to my swf file. How can I do it? \<object type="application/x-shockwa…

---

## [How to embed a html video player code inside my fla file?](https://forum.kirupa.com/t/how-to-embed-a-html-video-player-code-inside-my-fla-file/331874)

<div class="topic-metadata">

**Author:** [@ecptavares](https://forum.kirupa.com/u/ecptavares)\
**Replies:** 0\
**Last updated:** [November 14, 2013, 1:58am UTC](https://forum.kirupa.com/t/how-to-embed-a-html-video-player-code-inside-my-fla-file/331874 "2013-11-14T01:58:41Z")

</div>

Hi! I have this code that is a video player from justin.tv broadcaster web site and I want to put this player inside my .fla file to compile it in to my swf file. How can I do it? \<object type="application/x-shockwa…

---

## [Pan a scene to right together with your character move in AS3](https://forum.kirupa.com/t/pan-a-scene-to-right-together-with-your-character-move-in-as3/331873)

<div class="topic-metadata">

**Author:** [@annawing](https://forum.kirupa.com/u/annawing)\
**Replies:** 0\
**Last updated:** [November 13, 2013, 2:19pm UTC](https://forum.kirupa.com/t/pan-a-scene-to-right-together-with-your-character-move-in-as3/331873 "2013-11-13T14:19:07Z")

</div>

Hello guys, Need some help regarding to the pan your scene to the right while your character is walking to the right Hope there's anyone willing to help out there. Thanks \[grin\]

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

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