# flash

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

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

**Page:** 234

---

## [Object](https://forum.kirupa.com/t/object/317116)

<div class="topic-metadata">

**Author:** [@tbo](https://forum.kirupa.com/u/tbo)\
**Replies:** 0\
**Last updated:** [December 10, 2010, 9:42pm UTC](https://forum.kirupa.com/t/object/317116 "2010-12-10T21:42:19Z")

</div>

I need an object to simply hold properties. Should i use an Object? I only ask because I think i have read its slow to access.

---

## [Help with an AS3 Calendar Class](https://forum.kirupa.com/t/help-with-an-as3-calendar-class/317114)

<div class="topic-metadata">

**Author:** [@topaz666](https://forum.kirupa.com/u/topaz666)\
**Replies:** 0\
**Last updated:** [December 10, 2010, 9:28pm UTC](https://forum.kirupa.com/t/help-with-an-as3-calendar-class/317114 "2010-12-10T21:28:47Z")

</div>

Hey guys, I've attached a AS3 Calendar Class for anyone to d/l and mess around with. It was shared to me from another forum. I was wondering if the guru's here could help me out with one aspect of this custom class.…

---

## [LoadVars sendandload only works first time!](https://forum.kirupa.com/t/loadvars-sendandload-only-works-first-time/317109)

<div class="topic-metadata">

**Author:** [@kungfuafrican](https://forum.kirupa.com/u/kungfuafrican)\
**Replies:** 0\
**Last updated:** [December 10, 2010, 5:58pm UTC](https://forum.kirupa.com/t/loadvars-sendandload-only-works-first-time/317109 "2010-12-10T17:58:40Z")

</div>

I just need this flash file to continually poll a php script which will return the size of a file for a progress indicator. It returns the initial size of the file, but never refreshes. If I run the movie over and o…

---

## [AS3 Preloader problem](https://forum.kirupa.com/t/as3-preloader-problem/317107)

<div class="topic-metadata">

**Author:** [@Andy4729](https://forum.kirupa.com/u/Andy4729)\
**Replies:** 0\
**Last updated:** [December 10, 2010, 4:29pm UTC](https://forum.kirupa.com/t/as3-preloader-problem/317107 "2010-12-10T16:29:43Z")

</div>

Hi everyone. I am having a slight issue with a preloader I am making. The preloader file is called preloader.fla and it's document class is prelaoder.as. I want the preloader to load and show the progress of the load o…

---

## [Does anyone have any good tutorials for creating fireworks?](https://forum.kirupa.com/t/does-anyone-have-any-good-tutorials-for-creating-fireworks/317104)

<div class="topic-metadata">

**Author:** [@jpearson311](https://forum.kirupa.com/u/jpearson311)\
**Replies:** 0\
**Last updated:** [December 10, 2010, 3:49pm UTC](https://forum.kirupa.com/t/does-anyone-have-any-good-tutorials-for-creating-fireworks/317104 "2010-12-10T15:49:48Z")

</div>

I'm creating our New Year's mailer right now and am looking for a good tutorial for creating fireworks in flash. I've searched Google, but haven't been able to find anything that good. Just old AS 2.0 stuff. If you…

---

## [Browser back button reloads entire movie - shared object?](https://forum.kirupa.com/t/browser-back-button-reloads-entire-movie-shared-object/317101)

<div class="topic-metadata">

**Author:** [@mzmt](https://forum.kirupa.com/u/mzmt)\
**Replies:** 0\
**Last updated:** [December 10, 2010, 3:33pm UTC](https://forum.kirupa.com/t/browser-back-button-reloads-entire-movie-shared-object/317101 "2010-12-10T15:33:23Z")

</div>

Hi there, I have trailed through endless forums and tried adding all the various codes people have given to try but with no luck. I would be so forever grateful if some bright person out there could help? I have a mo…

---

## [Problems with eventDispatcher and inaccessible variables](https://forum.kirupa.com/t/problems-with-eventdispatcher-and-inaccessible-variables/317097)

<div class="topic-metadata">

**Author:** [@tomii01](https://forum.kirupa.com/u/tomii01)\
**Replies:** 0\
**Last updated:** [December 10, 2010, 1:12pm UTC](https://forum.kirupa.com/t/problems-with-eventdispatcher-and-inaccessible-variables/317097 "2010-12-10T13:12:00Z")

</div>

Hi all! I'll try to explain my problem as simple as possible \[smile\] So, I have class A (main class) and class B, and I need these to communicate with each other. In class B, I have: public var RNDMCOLOR:String = …

---

## [Bounding Box for Rotated Graphics](https://forum.kirupa.com/t/bounding-box-for-rotated-graphics/317096)

<div class="topic-metadata">

**Author:** [@omnivibe](https://forum.kirupa.com/u/omnivibe)\
**Replies:** 0\
**Last updated:** [December 10, 2010, 12:03pm UTC](https://forum.kirupa.com/t/bounding-box-for-rotated-graphics/317096 "2010-12-10T12:03:23Z")

</div>

Quick question which is giving me difficulty, but I'm probably missing something... How would I create a bounding box for any graphic, which can accommodate the graphic while bring rotated? Simply making a square wit…

---

## [Flash8/Actionscript2.0 Nested If State & setInterval Issues](https://forum.kirupa.com/t/flash8-actionscript2-0-nested-if-state-setinterval-issues/317095)

<div class="topic-metadata">

**Author:** [@Starrey](https://forum.kirupa.com/u/Starrey)\
**Replies:** 0\
**Last updated:** [December 10, 2010, 12:00pm UTC](https://forum.kirupa.com/t/flash8-actionscript2-0-nested-if-state-setinterval-issues/317095 "2010-12-10T12:00:00Z")

</div>

I am really new to actionscript,and if my scripts work at all they are not always "pretty"but everyone I get working feels like a gigantic victory beaming smile My first problem, I am trying to set up an if statement in…

---

## [Improving performance (using timer based animations)](https://forum.kirupa.com/t/improving-performance-using-timer-based-animations/317092)

<div class="topic-metadata">

**Author:** [@zoink](https://forum.kirupa.com/u/zoink)\
**Replies:** 0\
**Last updated:** [December 10, 2010, 9:28am UTC](https://forum.kirupa.com/t/improving-performance-using-timer-based-animations/317092 "2010-12-10T09:28:34Z")

</div>

Hi guys! I have a flash game project that i have been working on. Everything looks alright using my desktop PC. However, when i had to use my netbook one day to make some urgent changes, i found out that the overall pe…

---

## [Youtube Api Viewcount](https://forum.kirupa.com/t/youtube-api-viewcount/317091)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [December 10, 2010, 8:54am UTC](https://forum.kirupa.com/t/youtube-api-viewcount/317091 "2010-12-10T08:54:20Z")

</div>

I've made a stucture for playing youtube videos with the youtube api more easily. When viewing a youtubeclip is seems as if the view isn't added to the total amount of views. So if anyone can give me a hint, what call…

---

## [Setting global variables within movieclips](https://forum.kirupa.com/t/setting-global-variables-within-movieclips/317087)

<div class="topic-metadata">

**Author:** [@shellebelle1](https://forum.kirupa.com/u/shellebelle1)\
**Replies:** 0\
**Last updated:** [December 10, 2010, 2:08am UTC](https://forum.kirupa.com/t/setting-global-variables-within-movieclips/317087 "2010-12-10T02:08:55Z")

</div>

I'm working on a Flash game (AS3) and have come to a point where I need to change the value of a global boolean variable from within a movieclip. After searching all over I have yet to find a solution. Essentially, …

---

## [How not to program in AS3](https://forum.kirupa.com/t/how-not-to-program-in-as3/317086)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 0\
**Last updated:** [December 10, 2010, 1:28am UTC](https://forum.kirupa.com/t/how-not-to-program-in-as3/317086 "2010-12-10T01:28:29Z")

</div>

For those of you who are interested in performance oriented programming in AS3, there's a pretty good reference of how not to program in AS3. It's called jiglib flash. I've been perusing the source code, for general …

---

## [Touch Event Help](https://forum.kirupa.com/t/touch-event-help/317085)

<div class="topic-metadata">

**Author:** [@Artofacks1](https://forum.kirupa.com/u/Artofacks1)\
**Replies:** 0\
**Last updated:** [December 10, 2010, 1:14am UTC](https://forum.kirupa.com/t/touch-event-help/317085 "2010-12-10T01:14:21Z")

</div>

The code below is using quickbox2d and i am trying to add a touch feature so I can use this on my air android apps. I am trying to just make certain items draggable not all. But my touch methods dont seem to fire off. Al…

---

## [Talking between a MYSQL Database and FLASH with XML and PHP](https://forum.kirupa.com/t/talking-between-a-mysql-database-and-flash-with-xml-and-php/317084)

<div class="topic-metadata">

**Author:** [@yanivamar](https://forum.kirupa.com/u/yanivamar)\
**Replies:** 0\
**Last updated:** [December 10, 2010, 12:06am UTC](https://forum.kirupa.com/t/talking-between-a-mysql-database-and-flash-with-xml-and-php/317084 "2010-12-10T00:06:39Z")

</div>

I am a US Marine and I am trying to help my shop out by building a program that would allow me to maintain records of gear so we do not have to count millions of pieces of gear everyday. So i built a database: DB: USMC …

---

## [Adding fields to mailto: form](https://forum.kirupa.com/t/adding-fields-to-mailto-form/317082)

<div class="topic-metadata">

**Author:** [@designwolf](https://forum.kirupa.com/u/designwolf)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 8:21pm UTC](https://forum.kirupa.com/t/adding-fields-to-mailto-form/317082 "2010-12-09T20:21:48Z")

</div>

Hello all, I'm working to convert this code to 3.0, which I will figure out, but I can't seem to wrap my head around adding additional fields to a mailto: form. So far this is my code that is on the submit button: …

---

## [Sounds loop in nested movieclips](https://forum.kirupa.com/t/sounds-loop-in-nested-movieclips/317080)

<div class="topic-metadata">

**Author:** [@cmmFlash](https://forum.kirupa.com/u/cmmFlash)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 7:42pm UTC](https://forum.kirupa.com/t/sounds-loop-in-nested-movieclips/317080 "2010-12-09T19:42:53Z")

</div>

We have found that if you skip over frames that include nested movieclips with embedded timeline sounds, those sounds loop endlessly. For example, if you gotoAndStop(20) from frame 2, but frames 5-10 have a CLIP A that…

---

## [Accordion Menu Without XML or TWEENLITE](https://forum.kirupa.com/t/accordion-menu-without-xml-or-tweenlite/317079)

<div class="topic-metadata">

**Author:** [@cmathison](https://forum.kirupa.com/u/cmathison)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 7:18pm UTC](https://forum.kirupa.com/t/accordion-menu-without-xml-or-tweenlite/317079 "2010-12-09T19:18:19Z")

</div>

Hello All, I was wanting to use this code for a project: trouble is I can't have the file call any extraneous files. Since I am still learning I am not sure how to go about adusting this code. Essentially I need it to …

---

## [startDrag Problem](https://forum.kirupa.com/t/startdrag-problem/317076)

<div class="topic-metadata">

**Author:** [@dfchafin1](https://forum.kirupa.com/u/dfchafin1)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 5:29pm UTC](https://forum.kirupa.com/t/startdrag-problem/317076 "2010-12-09T17:29:39Z")

</div>

I have mc i want to drag around the stage but the button in those mc are getting thumped by the drag actions. this is what i have on each mc which lets them be dragged and the clicked on comes to the top level: on…

---

## [Define hit area for animated button](https://forum.kirupa.com/t/define-hit-area-for-animated-button/317073)

<div class="topic-metadata">

**Author:** [@ukspursbloke](https://forum.kirupa.com/u/ukspursbloke)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 4:56pm UTC](https://forum.kirupa.com/t/define-hit-area-for-animated-button/317073 "2010-12-09T16:56:36Z")

</div>

Hello, I've created an animated button where when you rollover it - a message box appears. My problem is that the button hit area is the whole size of the movie clip (including the message box), so the box will appear ev…

---

## [Paint /w cursor and curveTo](https://forum.kirupa.com/t/paint-w-cursor-and-curveto/317071)

<div class="topic-metadata">

**Author:** [@Esseti](https://forum.kirupa.com/u/Esseti)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 4:31pm UTC](https://forum.kirupa.com/t/paint-w-cursor-and-curveto/317071 "2010-12-09T16:31:02Z")

</div>

var sp:Sprite = new Sprite(); stage.addEventListener(MouseEvent.MOUSE\_MOVE, drawIt); var p:Array = new Array(); function drawIt(e:MouseEvent):void { p.push(new Object()); p\[p.length-1\].x = mouseX; p\[p.length-1\].y …

---

## [Data Oriented Programming and ActionScript](https://forum.kirupa.com/t/data-oriented-programming-and-actionscript/317069)

<div class="topic-metadata">

**Author:** [@Dralok](https://forum.kirupa.com/u/Dralok)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 3:29pm UTC](https://forum.kirupa.com/t/data-oriented-programming-and-actionscript/317069 "2010-12-09T15:29:57Z")

</div>

I recently read some forum thread and article talking about Data Oriented Programming. This think seem realy interesting. I tryed to find some exemple, but i did not find any one using ActionScript. I would like to kno…

---

## [\[AS2 on Flash7\] Need help to move mouse and click a button?](https://forum.kirupa.com/t/as2-on-flash7-need-help-to-move-mouse-and-click-a-button/317066)

<div class="topic-metadata">

**Author:** [@ksk](https://forum.kirupa.com/u/ksk)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 2:58pm UTC](https://forum.kirupa.com/t/as2-on-flash7-need-help-to-move-mouse-and-click-a-button/317066 "2010-12-09T14:58:29Z")

</div>

Hi All, I'm new to Flash and Actionscript. I'm trying to move the mouse to a random button and press it to have the onRollOver and onPress functionality. I've tried this for mouse-over: xmouse = randomSelected.x; ymo…

---

## [Multiple chekbox selection and disply in navigation](https://forum.kirupa.com/t/multiple-chekbox-selection-and-disply-in-navigation/317065)

<div class="topic-metadata">

**Author:** [@vishuvaid](https://forum.kirupa.com/u/vishuvaid)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 2:45pm UTC](https://forum.kirupa.com/t/multiple-chekbox-selection-and-disply-in-navigation/317065 "2010-12-09T14:45:04Z")

</div>

i made a home page with 10 section with chk box and these section have chapters in swf. i want if i select only 2 section and click confirm it will take me to navigation where these 2 section will display with their chap…

---

## [Convert code from \_dropTarget to hitTest](https://forum.kirupa.com/t/convert-code-from--droptarget-to-hittest/317064)

<div class="topic-metadata">

**Author:** [@AndrewELB](https://forum.kirupa.com/u/AndrewELB)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 2:22pm UTC](https://forum.kirupa.com/t/convert-code-from--droptarget-to-hittest/317064 "2010-12-09T14:22:48Z")

</div>

I'm trying to use a drag and drop activity in Adobe Presenter and discovered that \_dropTarget doesn't seem to be supported. The post said to use hitTest instead. The problem is that I can't figure out a way to easily twe…

---

## [Movie clips that play one after the other](https://forum.kirupa.com/t/movie-clips-that-play-one-after-the-other/317054)

<div class="topic-metadata">

**Author:** [@IMPtheIMP](https://forum.kirupa.com/u/IMPtheIMP)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 4:30am UTC](https://forum.kirupa.com/t/movie-clips-that-play-one-after-the-other/317054 "2010-12-09T04:30:14Z")

</div>

Sorry guys if this topic has already been covered. I'd usually look around for a solution on the forum but I'm straped for time. Basically, my main time line has a few layers and just a few frames. On each frame there …

---

## [Dynamically declaring/accessing objects](https://forum.kirupa.com/t/dynamically-declaring-accessing-objects/317053)

<div class="topic-metadata">

**Author:** [@fall0utm0dd](https://forum.kirupa.com/u/fall0utm0dd)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 3:23am UTC](https://forum.kirupa.com/t/dynamically-declaring-accessing-objects/317053 "2010-12-09T03:23:09Z")

</div>

So heres my code in my main game loop: if (! initialized) { for (var c = 1; c \< 1000; c++) { var particle:Particle = new Particle(); particle.name = "particle" + c; trace(particle.name); } initialized…

---

## [Inconsisten 1060 error using fscommand](https://forum.kirupa.com/t/inconsisten-1060-error-using-fscommand/317045)

<div class="topic-metadata">

**Author:** [@Kdnce](https://forum.kirupa.com/u/Kdnce)\
**Replies:** 0\
**Last updated:** [December 8, 2010, 10:22pm UTC](https://forum.kirupa.com/t/inconsisten-1060-error-using-fscommand/317045 "2010-12-08T22:22:43Z")

</div>

Hello, I have two projects that use this same piece of code ... myButton.addEventListener(MouseEvent.CLICK, myButtonClick); function mybuttonClick(event:MouseEvent):void{ fscommand("exec","myApp.exe") } When I …

---

## [Error #1034: Type Coercion failed](https://forum.kirupa.com/t/error-1034-type-coercion-failed/317043)

<div class="topic-metadata">

**Author:** [@flash\_back](https://forum.kirupa.com/u/flash_back)\
**Replies:** 0\
**Last updated:** [December 8, 2010, 8:53pm UTC](https://forum.kirupa.com/t/error-1034-type-coercion-failed/317043 "2010-12-08T20:53:45Z")

</div>

\[COLOR=black\]\[FONT=Verdana\]Hello all,\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Verdana\]I have an Issue I can use some help with.. I have a flex file I am trying to load into a game. the projected .swf file works perfect on its …

---

## [Re-using a MC while each retains their values (AS3)](https://forum.kirupa.com/t/re-using-a-mc-while-each-retains-their-values-as3/317041)

<div class="topic-metadata">

**Author:** [@MossyStump](https://forum.kirupa.com/u/MossyStump)\
**Replies:** 0\
**Last updated:** [December 8, 2010, 7:39pm UTC](https://forum.kirupa.com/t/re-using-a-mc-while-each-retains-their-values-as3/317041 "2010-12-08T19:39:32Z")

</div>

Alright, so I would greatly appreciate any help others can give me! I'm attempting to re-use a single movieclip multiple times while each retains their individual values from the same class! I hope I made that clear =/ A…

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

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