# programming

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

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

**Page:** 170

---

## [Variables help needed urgently](https://forum.kirupa.com/t/variables-help-needed-urgently/328439)

<div class="topic-metadata">

**Author:** [@I\_am\_she](https://forum.kirupa.com/u/I_am_she)\
**Replies:** 0\
**Last updated:** [May 17, 2012, 9:31am UTC](https://forum.kirupa.com/t/variables-help-needed-urgently/328439 "2012-05-17T09:31:16Z")

</div>

Hi guys. I am a total noob at AS2 and I really need help with my Flash website. I have three buttons: Button 1, Button 2 and Button 3. I have three movie clips: About\_mc, Page1\_mc and Contact\_mc. When "Button 1" is p…

---

## [Catch Clippers vs Spurs NBA Tonight](https://forum.kirupa.com/t/catch-clippers-vs-spurs-nba-tonight/328438)

<div class="topic-metadata">

**Author:** [@lala456](https://forum.kirupa.com/u/lala456)\
**Replies:** 0\
**Last updated:** [May 17, 2012, 7:16am UTC](https://forum.kirupa.com/t/catch-clippers-vs-spurs-nba-tonight/328438 "2012-05-17T07:16:22Z")

</div>

Watch the Most Awaited Match Of NBA . So Don't miss to catch the two amazing matches Live Tonight. Watch Clippers vs Spurs Online Clippers vs Spurs Live Stream

---

## [Collision on a organic shape](https://forum.kirupa.com/t/collision-on-a-organic-shape/328436)

<div class="topic-metadata">

**Author:** [@Nikolai\_Crumb](https://forum.kirupa.com/u/Nikolai_Crumb)\
**Replies:** 0\
**Last updated:** [May 17, 2012, 2:11am UTC](https://forum.kirupa.com/t/collision-on-a-organic-shape/328436 "2012-05-17T02:11:00Z")

</div>

Been pulling my hair out trying to get working collision detection on a maze game i'm working on and so far i have been unable to do it (file attached) I've looked at tones of tutorials and forums but I still can't find …

---

## [After Deleting a Library Symbol I get Error 1034](https://forum.kirupa.com/t/after-deleting-a-library-symbol-i-get-error-1034/328434)

<div class="topic-metadata">

**Author:** [@ColinDavies](https://forum.kirupa.com/u/ColinDavies)\
**Replies:** 0\
**Last updated:** [May 17, 2012, 12:34am UTC](https://forum.kirupa.com/t/after-deleting-a-library-symbol-i-get-error-1034/328434 "2012-05-17T00:34:46Z")

</div>

Hi After Deleting a Library Symbol I get Error 1034 when debugging the FLA. \*"TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::MovieClip@660f5f1 to fl.controls.CheckBox. at flash.display::Spri…

---

## [Association then Break Association](https://forum.kirupa.com/t/association-then-break-association/328433)

<div class="topic-metadata">

**Author:** [@selacius](https://forum.kirupa.com/u/selacius)\
**Replies:** 0\
**Last updated:** [May 16, 2012, 10:16pm UTC](https://forum.kirupa.com/t/association-then-break-association/328433 "2012-05-16T22:16:32Z")

</div>

So I have an object, that has data and values to you. Rather specific values to it. I would like to make a copy of this object and assign it to another variable and then break the association such that I can manipulate d…

---

## [AS3 Timeline + zoom & pan effect](https://forum.kirupa.com/t/as3-timeline-zoom-pan-effect/328430)

<div class="topic-metadata">

**Author:** [@Flash\_beg](https://forum.kirupa.com/u/Flash_beg)\
**Replies:** 0\
**Last updated:** [May 16, 2012, 7:25pm UTC](https://forum.kirupa.com/t/as3-timeline-zoom-pan-effect/328430 "2012-05-16T19:25:18Z")

</div>

Hi, I wanted to know how to creata a timeline and a zoom effect on it... How would I accomplish this? Would I just make a timeline movieclip with some buttons in it? I don't know where to begin. OK NVM

---

## [Problem with nav in IE 7](https://forum.kirupa.com/t/problem-with-nav-in-ie-7/328429)

<div class="topic-metadata">

**Author:** [@nnnniiiicccc](https://forum.kirupa.com/u/nnnniiiicccc)\
**Replies:** 0\
**Last updated:** [May 16, 2012, 3:58pm UTC](https://forum.kirupa.com/t/problem-with-nav-in-ie-7/328429 "2012-05-16T15:58:11Z")

</div>

Hi, I have a menu on a website that is not working very well in Internet Explorer 7. See below information. Any suggestions would be much appreciated. Thanks Website: www.nicjonesdesign-wip.com/aquaclear/index.p…

---

## [SharedObject, close() and the storage settings dialog](https://forum.kirupa.com/t/sharedobject-close-and-the-storage-settings-dialog/328428)

<div class="topic-metadata">

**Author:** [@e\_v](https://forum.kirupa.com/u/e_v)\
**Replies:** 0\
**Last updated:** [May 16, 2012, 2:05pm UTC](https://forum.kirupa.com/t/sharedobject-close-and-the-storage-settings-dialog/328428 "2012-05-16T14:05:46Z")

</div>

I'm confused about the proper way to save a Local Shared Object. There are those who say the data is automatically saved. There are those who say you should not count on that but use the SharedObject.flush() method. A…

---

## [Problem clearing phones memory for Flashlite](https://forum.kirupa.com/t/problem-clearing-phones-memory-for-flashlite/328426)

<div class="topic-metadata">

**Author:** [@nova929](https://forum.kirupa.com/u/nova929)\
**Replies:** 0\
**Last updated:** [May 16, 2012, 11:51am UTC](https://forum.kirupa.com/t/problem-clearing-phones-memory-for-flashlite/328426 "2012-05-16T11:51:56Z")

</div>

Hi everyone, I've been trying to make a program that randomly plays interactive SWFs for my mobile phone (Flashlite). You can click on one of the random SWFs and it plays then goes back to another SWF that loads a se…

---

## [AS3 Color Tweening](https://forum.kirupa.com/t/as3-color-tweening/328424)

<div class="topic-metadata">

**Author:** [@Mikheil](https://forum.kirupa.com/u/Mikheil)\
**Replies:** 0\
**Last updated:** [May 16, 2012, 9:55am UTC](https://forum.kirupa.com/t/as3-color-tweening/328424 "2012-05-16T09:55:06Z")

</div>

Hello, \[LEFT\]\[COLOR=#333333\]\[FONT=AdobeCleanRegular\]Have Adobe simple Color Tweening code, like this caurina code : Tweener.addTween(myClip, {\_color: 0x000000, time:1, transition:"easeOut"}); ? \[/FONT\]\[/COLOR\]\[/LEFT\]

---

## [Help with Variable, from my scene to a movieClip](https://forum.kirupa.com/t/help-with-variable-from-my-scene-to-a-movieclip/328422)

<div class="topic-metadata">

**Author:** [@Bimzy](https://forum.kirupa.com/u/Bimzy)\
**Replies:** 0\
**Last updated:** [May 16, 2012, 9:16am UTC](https://forum.kirupa.com/t/help-with-variable-from-my-scene-to-a-movieclip/328422 "2012-05-16T09:16:20Z")

</div>

okay, so im new too programming and have just started out with AS3, im working on a school project to make a educational game. However im strugling with variables. i declared a int variable in my scene(frame 11) and then…

---

## [Drawing API Stroke width remains fixed even on scalling](https://forum.kirupa.com/t/drawing-api-stroke-width-remains-fixed-even-on-scalling/328420)

<div class="topic-metadata">

**Author:** [@black\_pearl](https://forum.kirupa.com/u/black_pearl)\
**Replies:** 0\
**Last updated:** [May 16, 2012, 5:38am UTC](https://forum.kirupa.com/t/drawing-api-stroke-width-remains-fixed-even-on-scalling/328420 "2012-05-16T05:38:49Z")

</div>

Hi, I am working on a printing app where I am using Drawing API to draw a rectangle. I have provided a functionality to control stroke width of the rectangle graphics.lineStyle(10,0x000000); For printing purpose I …

---

## [Fastest way to crash the standalone Flash Player?](https://forum.kirupa.com/t/fastest-way-to-crash-the-standalone-flash-player/328418)

<div class="topic-metadata">

**Author:** [@creatify](https://forum.kirupa.com/u/creatify)\
**Replies:** 0\
**Last updated:** [May 15, 2012, 8:49pm UTC](https://forum.kirupa.com/t/fastest-way-to-crash-the-standalone-flash-player/328418 "2012-05-15T20:49:57Z")

</div>

Or, rather, fastest way to consume all available memory for the Flash Player? Loading X large images will definitely do the trick, but it takes too long to kill it.

---

## [Uploading an .swf with mp3s - How do I make this work?](https://forum.kirupa.com/t/uploading-an-swf-with-mp3s-how-do-i-make-this-work/328417)

<div class="topic-metadata">

**Author:** [@Profitemole](https://forum.kirupa.com/u/Profitemole)\
**Replies:** 0\
**Last updated:** [May 15, 2012, 7:11pm UTC](https://forum.kirupa.com/t/uploading-an-swf-with-mp3s-how-do-i-make-this-work/328417 "2012-05-15T19:11:36Z")

</div>

I've got a finished project that requires .mp3s to be played using the code: InstanceName.addEventListener(MouseEvent.CLICK, playSound1); function playSound1(event:MouseEvent):void{ SoundMixer.stopAll(); var s1…

---

## [Creating a tableless image grid with CSS](https://forum.kirupa.com/t/creating-a-tableless-image-grid-with-css/328415)

<div class="topic-metadata">

**Author:** [@jpf566](https://forum.kirupa.com/u/jpf566)\
**Replies:** 0\
**Last updated:** [May 15, 2012, 6:56pm UTC](https://forum.kirupa.com/t/creating-a-tableless-image-grid-with-css/328415 "2012-05-15T18:56:21Z")

</div>

Hey guys, as always I’m trying to do something seemingly simple and am having some bizarre issues. I’m just trying to make a simple image grid without using tables. sheffieldfurniture.com/imagegrid/furniture.html Firs…

---

## [Calling Global Function from embedded movie clip](https://forum.kirupa.com/t/calling-global-function-from-embedded-movie-clip/328414)

<div class="topic-metadata">

**Author:** [@lletdownl](https://forum.kirupa.com/u/lletdownl)\
**Replies:** 0\
**Last updated:** [May 15, 2012, 6:25pm UTC](https://forum.kirupa.com/t/calling-global-function-from-embedded-movie-clip/328414 "2012-05-15T18:25:06Z")

</div>

Hi Guys, I have what i hope is a pretty simple question. I have a standard "ButtonClass" global function which is use for all buttons. Its a rollover function that fades in an out on rollover and rollout. However, whe…

---

## [Definition class?](https://forum.kirupa.com/t/definition-class/328413)

<div class="topic-metadata">

**Author:** [@obai](https://forum.kirupa.com/u/obai)\
**Replies:** 0\
**Last updated:** [May 15, 2012, 5:32pm UTC](https://forum.kirupa.com/t/definition-class/328413 "2012-05-15T17:32:52Z")

</div>

Basically I want an extra class that I can reference in my Main.as file to get arrays. I need many constant arrays, and I was hoping to be able to refer to them as Levels.Level1 etc and store them all in a seperate .as f…

---

## [TaskManager for Games](https://forum.kirupa.com/t/taskmanager-for-games/328411)

<div class="topic-metadata">

**Author:** [@abhi\_shekv](https://forum.kirupa.com/u/abhi_shekv)\
**Replies:** 0\
**Last updated:** [May 15, 2012, 5:14pm UTC](https://forum.kirupa.com/t/taskmanager-for-games/328411 "2012-05-15T17:14:36Z")

</div>

Hello All, Just wanted to know what is the most common methodology of implementing a Task Manager in Games... something like asking the player to do a task and then another in a sequential order. Any pointers to any tu…

---

## [Drawing (Graphics) Confusion](https://forum.kirupa.com/t/drawing-graphics-confusion/328409)

<div class="topic-metadata">

**Author:** [@Black\_Drazon](https://forum.kirupa.com/u/Black_Drazon)\
**Replies:** 0\
**Last updated:** [May 15, 2012, 12:45pm UTC](https://forum.kirupa.com/t/drawing-graphics-confusion/328409 "2012-05-15T12:45:39Z")

</div>

In brief: I had a MovieClip, drew on it (its only content) and it refused to show up. I then instanciated a blank MovieClip in the library tied to this class, and it still refused to show up. I then scribbled on it and…

---

## [Self invoking anonymous functions](https://forum.kirupa.com/t/self-invoking-anonymous-functions/328407)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [May 15, 2012, 8:52am UTC](https://forum.kirupa.com/t/self-invoking-anonymous-functions/328407 "2012-05-15T08:52:44Z")

</div>

Hello. 'just watched a lee brimlow screencast about OOP in javascript. Great for AS3 peeps moving to javascript btw. Now in it he declares a SIAF like so: (function() { // code }()); I have been using this method…

---

## [Extending Main class](https://forum.kirupa.com/t/extending-main-class/328406)

<div class="topic-metadata">

**Author:** [@GiGaGiG](https://forum.kirupa.com/u/GiGaGiG)\
**Replies:** 0\
**Last updated:** [May 15, 2012, 7:29am UTC](https://forum.kirupa.com/t/extending-main-class/328406 "2012-05-15T07:29:42Z")

</div>

\[CENTER\]\[LEFT\]Hi, I am blocked by a very nasty problem: I developed a videogame, and the project was a Flash IDE one (I use FlashDevelop), that means I had a FLA with class "Main": inside class Main I used the instance n…

---

## [Embedded Font with Style](https://forum.kirupa.com/t/embedded-font-with-style/328403)

<div class="topic-metadata">

**Author:** [@CodeKid23](https://forum.kirupa.com/u/CodeKid23)\
**Replies:** 0\
**Last updated:** [May 15, 2012, 2:12am UTC](https://forum.kirupa.com/t/embedded-font-with-style/328403 "2012-05-15T02:12:50Z")

</div>

Hi, I was just trying to make a simple flash that can load fonts dynamically using this tutorial http://bryanlangdon.com/blog/2007/03/22/loading-fonts-dynamically-in-actionscript-2-and-3/ and it works for me. But, i…

---

## [\[Box2D\] Reference sensors inside a body](https://forum.kirupa.com/t/box2d-reference-sensors-inside-a-body/328402)

<div class="topic-metadata">

**Author:** [@noisavni](https://forum.kirupa.com/u/noisavni)\
**Replies:** 0\
**Last updated:** [May 15, 2012, 12:23am UTC](https://forum.kirupa.com/t/box2d-reference-sensors-inside-a-body/328402 "2012-05-15T00:23:10Z")

</div>

I've made a slug character which is a rectangle with a sensor on each side. I'm trying to get it to switch directions once it bumps into a wall or something. But how do I reference a sensor inside a body? normally I …

---

## [Problem stopping a music](https://forum.kirupa.com/t/problem-stopping-a-music/328401)

<div class="topic-metadata">

**Author:** [@MFRS](https://forum.kirupa.com/u/MFRS)\
**Replies:** 0\
**Last updated:** [May 14, 2012, 10:30pm UTC](https://forum.kirupa.com/t/problem-stopping-a-music/328401 "2012-05-14T22:30:31Z")

</div>

I am trying to stop my music before my cutscene shows up in my game, and i tried soundmixer.stopall(), music.pause(), music.stop(), but nothing works. Any other options?

---

## [Should I use Papervision 3D, or something better?](https://forum.kirupa.com/t/should-i-use-papervision-3d-or-something-better/328400)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [May 14, 2012, 8:15pm UTC](https://forum.kirupa.com/t/should-i-use-papervision-3d-or-something-better/328400 "2012-05-14T20:15:33Z")

</div>

I'm already familiar with Papervision, but is it time to move on to something that supports stage3d? What 3d library is currently in the lead?

---

## [mouseEnable after rotate!?](https://forum.kirupa.com/t/mouseenable-after-rotate/328399)

<div class="topic-metadata">

**Author:** [@cagkan](https://forum.kirupa.com/u/cagkan)\
**Replies:** 0\
**Last updated:** [May 14, 2012, 6:48pm UTC](https://forum.kirupa.com/t/mouseenable-after-rotate/328399 "2012-05-14T18:48:05Z")

</div>

I have a movieclip and I want that after I rotate it, it's mouseEnabled should be false. but mouseEnabled=false is not working! Why could it be? sepet.rotation=60; sepet.mouseEnabled=false; that does not give any…

---

## [Remove a movieclip with a button that's inside it](https://forum.kirupa.com/t/remove-a-movieclip-with-a-button-thats-inside-it/328398)

<div class="topic-metadata">

**Author:** [@MFRS](https://forum.kirupa.com/u/MFRS)\
**Replies:** 0\
**Last updated:** [May 14, 2012, 6:14pm UTC](https://forum.kirupa.com/t/remove-a-movieclip-with-a-button-thats-inside-it/328398 "2012-05-14T18:14:01Z")

</div>

Is it even possible? I am trying to remove a child with a button that's inside of the child. Any ideas?

---

## [1 to index called by for loop?](https://forum.kirupa.com/t/1-to-index-called-by-for-loop/328397)

<div class="topic-metadata">

**Author:** [@bonassus](https://forum.kirupa.com/u/bonassus)\
**Replies:** 0\
**Last updated:** [May 14, 2012, 4:49pm UTC](https://forum.kirupa.com/t/1-to-index-called-by-for-loop/328397 "2012-05-14T16:49:03Z")

</div>

I am updating the position of movieClips stored in an array with an enter frame event loop. function onEnterFrame(e:Event){ areaArray\[1\].x = areaArray\[0\].x + areaArray\[0\].spacing.width; areaArray\[2\].x =…

---

## [FLVPlayback component contentPath relativity](https://forum.kirupa.com/t/flvplayback-component-contentpath-relativity/328396)

<div class="topic-metadata">

**Author:** [@leeto](https://forum.kirupa.com/u/leeto)\
**Replies:** 0\
**Last updated:** [May 14, 2012, 2:29pm UTC](https://forum.kirupa.com/t/flvplayback-component-contentpath-relativity/328396 "2012-05-14T14:29:40Z")

</div>

\[LEFT\]\[COLOR=#000000\]\[FONT=Arial\]I have a site that loads in a XML file which tells where to find the assets to load into the main SWF. Images, and external SWFs load in correctly, but for some reason FLVs don't load at …

---

## [Problem getting random SWF files to be fully interactive](https://forum.kirupa.com/t/problem-getting-random-swf-files-to-be-fully-interactive/328394)

<div class="topic-metadata">

**Author:** [@nova929](https://forum.kirupa.com/u/nova929)\
**Replies:** 0\
**Last updated:** [May 14, 2012, 9:50am UTC](https://forum.kirupa.com/t/problem-getting-random-swf-files-to-be-fully-interactive/328394 "2012-05-14T09:50:11Z")

</div>

\[FONT=Arial\] Hey guys, \[/FONT\] \[FONT=Arial\] I'm very new to Actionscript 3. \[/FONT\] \[FONT=Arial\] I'm trying to make a Flash program that randomly plays small interactive SWF files. \[/FONT\] \[FONT=Aria…

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

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