# programming

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

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

**Page:** 157

---

## [XML loading problems with Safari (Mac)](https://forum.kirupa.com/t/xml-loading-problems-with-safari-mac/329125)

<div class="topic-metadata">

**Author:** [@zinch33](https://forum.kirupa.com/u/zinch33)\
**Replies:** 0\
**Last updated:** [July 23, 2012, 11:49pm UTC](https://forum.kirupa.com/t/xml-loading-problems-with-safari-mac/329125 "2012-07-23T23:49:33Z")

</div>

My flash site is working on all browsers except for Safari (mac). It is having a problem loading XML info properly. I have a price/avail list that is stored in an XML file and the main swf holder loads the price swf a…

---

## [Problem Creating a Tween](https://forum.kirupa.com/t/problem-creating-a-tween/329124)

<div class="topic-metadata">

**Author:** [@jkrd09](https://forum.kirupa.com/u/jkrd09)\
**Replies:** 0\
**Last updated:** [July 23, 2012, 6:36pm UTC](https://forum.kirupa.com/t/problem-creating-a-tween/329124 "2012-07-23T18:36:01Z")

</div>

Hi, sorry if I'm posting this in the wrong thread, I don't use forums regularly but I am creating an animation using an Action Script 3 file type so I figured I'd post it here... Anyhow, I am trying to create a classic t…

---

## [Best way to load level data](https://forum.kirupa.com/t/best-way-to-load-level-data/329123)

<div class="topic-metadata">

**Author:** [@John4213](https://forum.kirupa.com/u/John4213)\
**Replies:** 0\
**Last updated:** [July 23, 2012, 5:43pm UTC](https://forum.kirupa.com/t/best-way-to-load-level-data/329123 "2012-07-23T17:43:42Z")

</div>

Hi, I'm making a tile based game and so far I've been loading the level data (tiles, level size etc) from text files. I decided that loading levels from text files or XML files probably isn't the most efficient or the be…

---

## [Simple Movement in JavaScript](https://forum.kirupa.com/t/simple-movement-in-javascript/329116)

<div class="topic-metadata">

**Author:** [@GAFAAAAA](https://forum.kirupa.com/u/GAFAAAAA)\
**Replies:** 0\
**Last updated:** [July 22, 2012, 12:56pm UTC](https://forum.kirupa.com/t/simple-movement-in-javascript/329116 "2012-07-22T12:56:54Z")

</div>

Hi, I'm building a website, I have a fixed navigation menu at the top, this is great until you want to see all the page, so I have been trying to make it hide when something is clicked. The menu script looks quite simp…

---

## [One Line Email Subscribe/List for Website](https://forum.kirupa.com/t/one-line-email-subscribe-list-for-website/329114)

<div class="topic-metadata">

**Author:** [@bowlofnoodle](https://forum.kirupa.com/u/bowlofnoodle)\
**Replies:** 0\
**Last updated:** [July 22, 2012, 5:02am UTC](https://forum.kirupa.com/t/one-line-email-subscribe-list-for-website/329114 "2012-07-22T05:02:14Z")

</div>

Hi All, I have been looking all day for the past few days for a One Line Email Subscribe/List for Website. Something similar to this website: http://www.brooksfield.com.au/ Can some one point me in the right direct…

---

## [How can i adjust placement of \_mc on the stage, if that makes sense](https://forum.kirupa.com/t/how-can-i-adjust-placement-of--mc-on-the-stage-if-that-makes-sense/329113)

<div class="topic-metadata">

**Author:** [@systemoverload](https://forum.kirupa.com/u/systemoverload)\
**Replies:** 0\
**Last updated:** [July 21, 2012, 8:43pm UTC](https://forum.kirupa.com/t/how-can-i-adjust-placement-of--mc-on-the-stage-if-that-makes-sense/329113 "2012-07-21T20:43:56Z")

</div>

Hello, I'm pretty new at Flash and just reverse engineered this code to fulfill my needs but I have hit a stumbling block, I have a stage that is 780 x 560 px and I want to place a movieclip within a frame on the page.…

---

## [100% flash background stretch](https://forum.kirupa.com/t/100-flash-background-stretch/329110)

<div class="topic-metadata">

**Author:** [@umbbberto](https://forum.kirupa.com/u/umbbberto)\
**Replies:** 0\
**Last updated:** [July 21, 2012, 5:42pm UTC](https://forum.kirupa.com/t/100-flash-background-stretch/329110 "2012-07-21T17:42:20Z")

</div>

hi folks, thanks all in advance for the help (new to the forums!) I made a 100% flash background stretch, the file main.swf, as sitemap for my site..I used flash cs5 (as3.0)+AC\_RunActiveContent.js...so I have these fil…

---

## [MVC Tutorial and examples](https://forum.kirupa.com/t/mvc-tutorial-and-examples/329107)

<div class="topic-metadata">

**Author:** [@gkp\_gaurav1](https://forum.kirupa.com/u/gkp_gaurav1)\
**Replies:** 0\
**Last updated:** [July 21, 2012, 8:17am UTC](https://forum.kirupa.com/t/mvc-tutorial-and-examples/329107 "2012-07-21T08:17:46Z")

</div>

Hey, Can anyone please guide me to some simple tutorial or reference site to understand the MVC?

---

## [Stage3D - Semi transparent Textures](https://forum.kirupa.com/t/stage3d-semi-transparent-textures/329102)

<div class="topic-metadata">

**Author:** [@jumprock](https://forum.kirupa.com/u/jumprock)\
**Replies:** 0\
**Last updated:** [July 20, 2012, 1:21pm UTC](https://forum.kirupa.com/t/stage3d-semi-transparent-textures/329102 "2012-07-20T13:21:03Z")

</div>

OK, here's another Stage3D question. I've got layered textures in one scene with one object having a texture of a semi transparent white colour. When rendered in the scene, it does appear to be semi transparent but ins…

---

## [Best Tutorials ActionScript](https://forum.kirupa.com/t/best-tutorials-actionscript/329101)

<div class="topic-metadata">

**Author:** [@quest20](https://forum.kirupa.com/u/quest20)\
**Replies:** 0\
**Last updated:** [July 20, 2012, 1:21pm UTC](https://forum.kirupa.com/t/best-tutorials-actionscript/329101 "2012-07-20T13:21:02Z")

</div>

Hi, I am attempting to make a p2p video chat with Flash Builder 4.5 also i am using a hosting company. Now, obviously to achieve this you need to have some knowledge of ActionScript 3. code. Unfortunately, my knowledge o…

---

## [Preloader creates a #1011 error](https://forum.kirupa.com/t/preloader-creates-a-1011-error/329099)

<div class="topic-metadata">

**Author:** [@MFRS](https://forum.kirupa.com/u/MFRS)\
**Replies:** 0\
**Last updated:** [July 20, 2012, 11:34am UTC](https://forum.kirupa.com/t/preloader-creates-a-1011-error/329099 "2012-07-20T11:34:32Z")

</div>

So i'm trying to create a preloader for my game, and when it loads it it says theres an indefinite term that has no properties. The code of the preloader is: var l:Loader= new Loader(); l.load(new URLRequest("Fisic\_St…

---

## [Movie stops working](https://forum.kirupa.com/t/movie-stops-working/329098)

<div class="topic-metadata">

**Author:** [@sterna](https://forum.kirupa.com/u/sterna)\
**Replies:** 0\
**Last updated:** [July 20, 2012, 7:39am UTC](https://forum.kirupa.com/t/movie-stops-working/329098 "2012-07-20T07:39:44Z")

</div>

I'm making a slideshow and it works fine inside flash cs4 but when I run it in HTML page it stops after showing about 130 images and don't output any error message. I have 20 images in the images folder and they are rota…

---

## [Best way to save data for an iOS device](https://forum.kirupa.com/t/best-way-to-save-data-for-an-ios-device/329096)

<div class="topic-metadata">

**Author:** [@icekomo](https://forum.kirupa.com/u/icekomo)\
**Replies:** 0\
**Last updated:** [July 20, 2012, 3:53am UTC](https://forum.kirupa.com/t/best-way-to-save-data-for-an-ios-device/329096 "2012-07-20T03:53:44Z")

</div>

I have a question on what is the best way to accomplish what I am looking to do. I am creating an app that will allow the user to input a list of names, and each of those names can have a list of events. I am not sure if…

---

## [XML Data Extraction](https://forum.kirupa.com/t/xml-data-extraction/329094)

<div class="topic-metadata">

**Author:** [@hogie](https://forum.kirupa.com/u/hogie)\
**Replies:** 0\
**Last updated:** [July 19, 2012, 7:43pm UTC](https://forum.kirupa.com/t/xml-data-extraction/329094 "2012-07-19T19:43:24Z")

</div>

I have this XML file and I would like to know how to extrace the info highlighted RED I am using C# or any language will do Any help or hints of how to pull these values in order to store thin in DB will be appreciate…

---

## [Is it Possible to Preview Sound While Scrubbing the Timeline Using Hotkeys?](https://forum.kirupa.com/t/is-it-possible-to-preview-sound-while-scrubbing-the-timeline-using-hotkeys/329090)

<div class="topic-metadata">

**Author:** [@Yick](https://forum.kirupa.com/u/Yick)\
**Replies:** 0\
**Last updated:** [July 19, 2012, 4:05pm UTC](https://forum.kirupa.com/t/is-it-possible-to-preview-sound-while-scrubbing-the-timeline-using-hotkeys/329090 "2012-07-19T16:05:15Z")

</div>

If I have a sound in my timeline, I can scrub through the timeline by dragging the red box and it will preview the sound that plays on every frame. However, I use hotkeys set to scrub through my timeline (, & .), and whe…

---

## [AABB-AABB collision response](https://forum.kirupa.com/t/aabb-aabb-collision-response/329089)

<div class="topic-metadata">

**Author:** [@Rinalds\_Zukulis](https://forum.kirupa.com/u/Rinalds_Zukulis)\
**Replies:** 0\
**Last updated:** [July 19, 2012, 1:29pm UTC](https://forum.kirupa.com/t/aabb-aabb-collision-response/329089 "2012-07-19T13:29:36Z")

</div>

hey! so i have created AABB-AABB collision detection: var lenX:Number = Math.abs(obj.x - (x+vx)); var totalRadiusX:Number = obj.hx + hx; var lenY:Number = Math.abs(obj.y - (y+vy)); var totalRadiusY:Num…

---

## [NetStream.client && NetConnection.client](https://forum.kirupa.com/t/netstream-client-netconnection-client/329086)

<div class="topic-metadata">

**Author:** [@Freddythunder](https://forum.kirupa.com/u/Freddythunder)\
**Replies:** 0\
**Last updated:** [July 18, 2012, 9:04pm UTC](https://forum.kirupa.com/t/netstream-client-netconnection-client/329086 "2012-07-18T21:04:29Z")

</div>

Hello Kirupians. Question for curiosity as it is currently working as I want it to, but I don't understand how I need to assign the client object to both the netstream & the netconnection to get my desired results.. I…

---

## [Move a loaded image](https://forum.kirupa.com/t/move-a-loaded-image/329082)

<div class="topic-metadata">

**Author:** [@bragaga](https://forum.kirupa.com/u/bragaga)\
**Replies:** 0\
**Last updated:** [July 18, 2012, 6:53pm UTC](https://forum.kirupa.com/t/move-a-loaded-image/329082 "2012-07-18T18:53:15Z")

</div>

Hey there!:pirate3: I spent the day trying to find how to move a loaded image. I've tried to add it in a moving Movieclip ( someMovieClip.addChild(loadedImage); ) but then, the image is showing, the movieclip too, but th…

---

## [شركة تواصل لتطبيقات المحمول](https://forum.kirupa.com/t/topic/329081)

<div class="topic-metadata">

**Author:** [@elgayargroup](https://forum.kirupa.com/u/elgayargroup)\
**Replies:** 0\
**Last updated:** [July 18, 2012, 3:46pm UTC](https://forum.kirupa.com/t/topic/329081 "2012-07-18T15:46:29Z")

</div>

\[CENTER\]\[FONT=arial black\] \[/FONT\] \[FONT=arial black\] شركة تواصل لتطبيقات المحمول \[/FONT\] \[FONT=arial black\] \[image\] \[/FONT\] \[FONT=arial black\] \[/FONT\] \[FONT=arial black\] \[/FONT\] \[FONT=arial black\] …

---

## [AS2 Flash Video clip no longer auto starts up](https://forum.kirupa.com/t/as2-flash-video-clip-no-longer-auto-starts-up/329080)

<div class="topic-metadata">

**Author:** [@NHolmes](https://forum.kirupa.com/u/NHolmes)\
**Replies:** 0\
**Last updated:** [July 18, 2012, 12:46pm UTC](https://forum.kirupa.com/t/as2-flash-video-clip-no-longer-auto-starts-up/329080 "2012-07-18T12:46:48Z")

</div>

Hi, I have a video player that I'm creating in Flash -- my video clips are on different scenes and I wanted a "menu" bar to allow the viewer to pick which scene they wanted. I found tutorials for various scrolling thum…

---

## [stage3d/AGAL - how to use the kil opcode](https://forum.kirupa.com/t/stage3d-agal-how-to-use-the-kil-opcode/329078)

<div class="topic-metadata">

**Author:** [@jumprock](https://forum.kirupa.com/u/jumprock)\
**Replies:** 0\
**Last updated:** [July 18, 2012, 11:11am UTC](https://forum.kirupa.com/t/stage3d-agal-how-to-use-the-kil-opcode/329078 "2012-07-18T11:11:21Z")

</div>

HI, I've been trying to find some examples of how to use the kil opcode for hours but there is very little out there. I am making a 2D game using stage3D (not using starling) and I want to use kil to prevent transpare…

---

## [AS3 Error : #1009: Cannot access a property or method of a null object reference](https://forum.kirupa.com/t/as3-error-1009-cannot-access-a-property-or-method-of-a-null-object-reference/329077)

<div class="topic-metadata">

**Author:** [@LouisiX](https://forum.kirupa.com/u/LouisiX)\
**Replies:** 0\
**Last updated:** [July 18, 2012, 9:38am UTC](https://forum.kirupa.com/t/as3-error-1009-cannot-access-a-property-or-method-of-a-null-object-reference/329077 "2012-07-18T09:38:17Z")

</div>

Hi I've been working on this flash project and having trouble with adding a new button selector: public function selectColor(event:MouseEvent) : void { var loc2:\* = "f" + event.currentTarget.chassisColor; …

---

## [Stop replay on return](https://forum.kirupa.com/t/stop-replay-on-return/329074)

<div class="topic-metadata">

**Author:** [@sorinea](https://forum.kirupa.com/u/sorinea)\
**Replies:** 0\
**Last updated:** [July 18, 2012, 8:40am UTC](https://forum.kirupa.com/t/stop-replay-on-return/329074 "2012-07-18T08:40:45Z")

</div>

\[COLOR=#282828\]\[FONT=Ubuntu\]Is there any way to stop replay of the swf when the visitor returns to the page?\[/FONT\]\[/COLOR\] \[COLOR=#282828\]\[FONT=Ubuntu\]For example, visitor comes to page, swf plays. Visitor goes to anoth…

---

## [Static Variables](https://forum.kirupa.com/t/static-variables/329071)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [July 18, 2012, 3:25am UTC](https://forum.kirupa.com/t/static-variables/329071 "2012-07-18T03:25:26Z")

</div>

I have a class that instantiates a public static variable (referencing another object). There is only one instance of this class at a time, and upon its deletion it sets the variable to null to allow for garbage collect…

---

## [Tutorial: Removing Duplicate Items from an Array](https://forum.kirupa.com/t/tutorial-removing-duplicate-items-from-an-array/329069)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [July 18, 2012, 2:17am UTC](https://forum.kirupa.com/t/tutorial-removing-duplicate-items-from-an-array/329069 "2012-07-18T02:17:59Z")

</div>

\[FONT=Segoe UI\]\[COLOR=#333333\]\[FONT=Segoe UI\]Hi everyone,\[/FONT\]\[/COLOR\]\[/FONT\] \[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[COLOR=#333333\]\[FONT=Segoe UI\]This is the happening place to discuss all things related to the R…

---

## [Flash CS5 AS2 Movie stopped playing](https://forum.kirupa.com/t/flash-cs5-as2-movie-stopped-playing/329067)

<div class="topic-metadata">

**Author:** [@NHolmes](https://forum.kirupa.com/u/NHolmes)\
**Replies:** 0\
**Last updated:** [July 17, 2012, 8:00pm UTC](https://forum.kirupa.com/t/flash-cs5-as2-movie-stopped-playing/329067 "2012-07-17T20:00:26Z")

</div>

I managed to figure out a way to make a scrolling menu bar change scenes, however now the video clips stop playing when you go to the specific scene. I uploaded the first scene with the coding I have in place-- every s…

---

## [Completely remove a class instance? (EventListeners etc..)](https://forum.kirupa.com/t/completely-remove-a-class-instance-eventlisteners-etc/329064)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [July 17, 2012, 2:34pm UTC](https://forum.kirupa.com/t/completely-remove-a-class-instance-eventlisteners-etc/329064 "2012-07-17T14:34:09Z")

</div>

Hello there! I've struggled another problem, this time it's about a class instance that keeps working\*(EventListeners still going)\* even when I've used removeChild and null'd the instance. Here are my classes I use: …

---

## [Controller support in Flash](https://forum.kirupa.com/t/controller-support-in-flash/329063)

<div class="topic-metadata">

**Author:** [@Quiggz](https://forum.kirupa.com/u/Quiggz)\
**Replies:** 0\
**Last updated:** [July 17, 2012, 1:43pm UTC](https://forum.kirupa.com/t/controller-support-in-flash/329063 "2012-07-17T13:43:23Z")

</div>

Hi, I wanted to make a small game with AS3 which is played with a xbox controller. I've made a little test to see if Flash would get the controller at all. Written like this: stage.addEventListener(KeyboardEvent.KEY…

---

## [Getting image path from a loader object](https://forum.kirupa.com/t/getting-image-path-from-a-loader-object/329056)

<div class="topic-metadata">

**Author:** [@black\_pearl](https://forum.kirupa.com/u/black_pearl)\
**Replies:** 0\
**Last updated:** [July 17, 2012, 10:15am UTC](https://forum.kirupa.com/t/getting-image-path-from-a-loader-object/329056 "2012-07-17T10:15:20Z")

</div>

Hi I have a loader object in a movieclip where I am loading images using loop and fetching data from XML file. Finally, when all the images are loaded, I want to save the loaded images path in an array. I tried to get …

---

## [Play/Pause flash TimeLine from main movie clip](https://forum.kirupa.com/t/play-pause-flash-timeline-from-main-movie-clip/329055)

<div class="topic-metadata">

**Author:** [@saeed143](https://forum.kirupa.com/u/saeed143)\
**Replies:** 0\
**Last updated:** [July 17, 2012, 10:15am UTC](https://forum.kirupa.com/t/play-pause-flash-timeline-from-main-movie-clip/329055 "2012-07-17T10:15:01Z")

</div>

Hi, I have many swf called in main movie clip by adding keyframe at last frame of every movie with this code loadMovie("tour/1.swf", 1); loadMovie("tour/2.swf", 1); etc. every swf timeline is placed in Movie Clip (MC) i…

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

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