# programming

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

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

**Page:** 1123

---

## [Adding animation frames](https://forum.kirupa.com/t/adding-animation-frames/267912)

<div class="topic-metadata">

**Author:** [@Follias\_Wiz](https://forum.kirupa.com/u/Follias_Wiz)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 6:45am UTC](https://forum.kirupa.com/t/adding-animation-frames/267912 "2008-08-07T06:45:36Z")

</div>

I have been developing a game with the help of this tutorial: http://www.kirupa.com/developer/mx2004/platform\_game.htm After a few problems with actionscript, I've finally solved a fatal problem that didn't allow me to…

---

## [Communicating with SWF from AIR application](https://forum.kirupa.com/t/communicating-with-swf-from-air-application/267909)

<div class="topic-metadata">

**Author:** [@Athang](https://forum.kirupa.com/u/Athang)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 5:34am UTC](https://forum.kirupa.com/t/communicating-with-swf-from-air-application/267909 "2008-08-07T05:34:56Z")

</div>

Hello, I am creating a simple application where I am loading a SWF file inside the application and I need a communication with AIR and loaded SWF and vise versa. Can any one help me to solve this problem. (The loaded S…

---

## [Problem while executing a flash file](https://forum.kirupa.com/t/problem-while-executing-a-flash-file/267908)

<div class="topic-metadata">

**Author:** [@prabakaranz](https://forum.kirupa.com/u/prabakaranz)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 4:55am UTC](https://forum.kirupa.com/t/problem-while-executing-a-flash-file/267908 "2008-08-07T04:55:16Z")

</div>

Hi All, Iam trying to execute a SWF file which has its actionscript written in AS3. When i execute this, I am getting an error message which is as follows Verify Error 1030# Stack Depth unbalanced 1 != 0. Can anyone…

---

## [Reaching a MovieClip from a String Path](https://forum.kirupa.com/t/reaching-a-movieclip-from-a-string-path/267907)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 4:16am UTC](https://forum.kirupa.com/t/reaching-a-movieclip-from-a-string-path/267907 "2008-08-07T04:16:41Z")

</div>

Hello everyone I have the path to a movieclip, in a string format. For example: var pathString:String = "container.boxMC.ball" I want to be able to reach that movieclip type (ball). I tried using something like get…

---

## [Different questions concerning my first AS3-project](https://forum.kirupa.com/t/different-questions-concerning-my-first-as3-project/267905)

<div class="topic-metadata">

**Author:** [@hasch2o](https://forum.kirupa.com/u/hasch2o)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 3:02am UTC](https://forum.kirupa.com/t/different-questions-concerning-my-first-as3-project/267905 "2008-08-07T03:02:54Z")

</div>

Hey Everybody I am trying to create a "Showroom" with AS3. The start looked actually really promising. As You can see in the SWF in the zip, it's not tuned at all, but the functions that I wanted to implement so far wo…

---

## [SWFObject Load Random FLV](https://forum.kirupa.com/t/swfobject-load-random-flv/267900)

<div class="topic-metadata">

**Author:** [@mattjp18](https://forum.kirupa.com/u/mattjp18)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 1:26am UTC](https://forum.kirupa.com/t/swfobject-load-random-flv/267900 "2008-08-07T01:26:34Z")

</div>

Hi everyone, I have a project I'm working on and I need to be able to load a random flv from a list and play it in the site every page reload. Here is the code I am using right now: \<div id="player" style="z-index:0; …

---

## [Resizing SWF (scaleX and scaleY) Maths problem](https://forum.kirupa.com/t/resizing-swf-scalex-and-scaley-maths-problem/267899)

<div class="topic-metadata">

**Author:** [@adnan794](https://forum.kirupa.com/u/adnan794)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 1:12am UTC](https://forum.kirupa.com/t/resizing-swf-scalex-and-scaley-maths-problem/267899 "2008-08-07T01:12:48Z")

</div>

Hello I need help of any mathematician out there cuz I am not good in it. I have a swf file that I want to scale down to display inside a parent movie clip. The parent movie clip dimensions are 425 \* 300. Now …

---

## [Loading one AS3 swf into another - how to access properties?](https://forum.kirupa.com/t/loading-one-as3-swf-into-another-how-to-access-properties/267897)

<div class="topic-metadata">

**Author:** [@tibberous](https://forum.kirupa.com/u/tibberous)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 11:37pm UTC](https://forum.kirupa.com/t/loading-one-as3-swf-into-another-how-to-access-properties/267897 "2008-08-06T23:37:44Z")

</div>

I have an swf with a main document class and some public properties. public class loaded extends MovieClip{ public var x:String = 'readme'; } Now, I load that in. If I do... function onInitHandler(loadEvent:Even…

---

## [Resizing SWF](https://forum.kirupa.com/t/resizing-swf/267896)

<div class="topic-metadata">

**Author:** [@adnan794](https://forum.kirupa.com/u/adnan794)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 11:20pm UTC](https://forum.kirupa.com/t/resizing-swf/267896 "2008-08-06T23:20:08Z")

</div>

Hello I have a sprite whose dimensions are 425\*300 I am using this to load images and swf files everything is working fine the only problem is if the swf file has dimensions bigger than sprite like 600\* 500 then it does …

---

## [Embed HTML in Flash](https://forum.kirupa.com/t/embed-html-in-flash/267894)

<div class="topic-metadata">

**Author:** [@ThaJock](https://forum.kirupa.com/u/ThaJock)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 10:56pm UTC](https://forum.kirupa.com/t/embed-html-in-flash/267894 "2008-08-06T22:56:04Z")

</div>

Is there any way to embed html into flash. Any way at all?

---

## [Loading HTML/CSS into Flash](https://forum.kirupa.com/t/loading-html-css-into-flash/267893)

<div class="topic-metadata">

**Author:** [@kenmarold](https://forum.kirupa.com/u/kenmarold)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 10:40pm UTC](https://forum.kirupa.com/t/loading-html-css-into-flash/267893 "2008-08-06T22:40:39Z")

</div>

I've been struggling with importing CSS and HTML into a Flash file and it seems I've become stuck. The code I have so far is such, but it is not working properly, could someone please shed a little light on this situatio…

---

## [Another Question About Kirupa's Slideshow](https://forum.kirupa.com/t/another-question-about-kirupas-slideshow/267889)

<div class="topic-metadata">

**Author:** [@djruslan](https://forum.kirupa.com/u/djruslan)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 8:32pm UTC](https://forum.kirupa.com/t/another-question-about-kirupas-slideshow/267889 "2008-08-06T20:32:26Z")

</div>

Hello, First of thank you all for all your help. But yet again I have another question. How would I go about pausing the slideshow onRollOver or mouseOver? So let's say the pictures are changing in the slideshow a…

---

## [Pre-loader problems](https://forum.kirupa.com/t/pre-loader-problems/267887)

<div class="topic-metadata">

**Author:** [@Draqonic](https://forum.kirupa.com/u/Draqonic)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 7:38pm UTC](https://forum.kirupa.com/t/pre-loader-problems/267887 "2008-08-06T19:38:31Z")

</div>

upon opening my web page the preloader begins and acts as normal. During the preloader I have a rotating hockey puck. At 100% I would like this to move and fly towards the screen shattering the camera revealing the movie…

---

## [How to link 2 Flash .swf files together \*](https://forum.kirupa.com/t/how-to-link-2-flash-swf-files-together/267886)

<div class="topic-metadata">

**Author:** [@FlashForward](https://forum.kirupa.com/u/FlashForward)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 7:36pm UTC](https://forum.kirupa.com/t/how-to-link-2-flash-swf-files-together/267886 "2008-08-06T19:36:13Z")

</div>

Hi I am making a Flash portfolio. So far so good except for 1 issue that I've run up against. I have linked my separate .swf files together using the following script: \[COLOR=RoyalBlue\] on (release) { loadMovieN…

---

## [Additional Scrolling Issue](https://forum.kirupa.com/t/additional-scrolling-issue/267885)

<div class="topic-metadata">

**Author:** [@bear](https://forum.kirupa.com/u/bear)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 7:21pm UTC](https://forum.kirupa.com/t/additional-scrolling-issue/267885 "2008-08-06T19:21:50Z")

</div>

Hey guys, I have a bit of an issue with the scrolling for this page and my other pages. It's in xml right now because of the forum policies. I don't know why it is adding all that additional space. Please assist me.

---

## [Question about a custom search for my site...Not word search though](https://forum.kirupa.com/t/question-about-a-custom-search-for-my-site-not-word-search-though/267878)

<div class="topic-metadata">

**Author:** [@jpf566](https://forum.kirupa.com/u/jpf566)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 6:40pm UTC](https://forum.kirupa.com/t/question-about-a-custom-search-for-my-site-not-word-search-though/267878 "2008-08-06T18:40:05Z")

</div>

OK well this may be in the wrong section of the forums but Im actually not sure what type of coding…or whatever is involved in what I would like to do. I Know a small amount of HTML/CSS using Dreamweaver..Just so u know …

---

## [Flash wont stop resizing my imported PNG's...WTF](https://forum.kirupa.com/t/flash-wont-stop-resizing-my-imported-pngs-wtf/267877)

<div class="topic-metadata">

**Author:** [@Solidus](https://forum.kirupa.com/u/Solidus)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 6:22pm UTC](https://forum.kirupa.com/t/flash-wont-stop-resizing-my-imported-pngs-wtf/267877 "2008-08-06T18:22:53Z")

</div>

Everytime I import a PNG or a PNG sequence created from PHOTOSHOP CS3 flash doubles or sometimes triples the dimensions. If I double click on the properties of the PNG within the library it shows the correct size yet fla…

---

## [Playing with Swift 3D...any suggestions?](https://forum.kirupa.com/t/playing-with-swift-3d-any-suggestions/267875)

<div class="topic-metadata">

**Author:** [@jibble](https://forum.kirupa.com/u/jibble)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 5:55pm UTC](https://forum.kirupa.com/t/playing-with-swift-3d-any-suggestions/267875 "2008-08-06T17:55:04Z")

</div>

So I just got me a copy of Swift 3D and am toying around with animating with it...First off, i have to say that the potential is HUGE with swift... The problem i'm running into is texture mapping, well, more so alignin…

---

## [Easy rotate question](https://forum.kirupa.com/t/easy-rotate-question/267873)

<div class="topic-metadata">

**Author:** [@Kejsaren](https://forum.kirupa.com/u/Kejsaren)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 5:04pm UTC](https://forum.kirupa.com/t/easy-rotate-question/267873 "2008-08-06T17:04:41Z")

</div>

I have a movieclip with the instance name "Ball". I want the ball to rotate infinite, what code do i need for this?

---

## [How does XML work?](https://forum.kirupa.com/t/how-does-xml-work/267872)

<div class="topic-metadata">

**Author:** [@jcafaro10](https://forum.kirupa.com/u/jcafaro10)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 4:45pm UTC](https://forum.kirupa.com/t/how-does-xml-work/267872 "2008-08-06T16:45:13Z")

</div>

I'm making an XML photo gallery ie. the pictures get loaded from an XML file. The flash file works as expected. However, when I try and embed the flash file on a webpage, none of the pictures load. I have the swf file…

---

## [Help with Loading External Images with AS3](https://forum.kirupa.com/t/help-with-loading-external-images-with-as3/267870)

<div class="topic-metadata">

**Author:** [@Ibanez271](https://forum.kirupa.com/u/Ibanez271)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 4:33pm UTC](https://forum.kirupa.com/t/help-with-loading-external-images-with-as3/267870 "2008-08-06T16:33:50Z")

</div>

I just want to be able to load an image to the stage through actionscript. Here is the code I have that I thought would work var loader:Loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, …

---

## [addChild to a loader progress target](https://forum.kirupa.com/t/addchild-to-a-loader-progress-target/267868)

<div class="topic-metadata">

**Author:** [@Mediashock](https://forum.kirupa.com/u/Mediashock)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 3:57pm UTC](https://forum.kirupa.com/t/addchild-to-a-loader-progress-target/267868 "2008-08-06T15:57:38Z")

</div>

I want to display a loader when the progress is happening so i have var la:LA = new LA(); mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, fademein); mLoader.contentLoaderInfo.addEventListener(ProgressEven…

---

## [\_parent.\_parent didn't worked with me](https://forum.kirupa.com/t/-parent--parent-didnt-worked-with-me/267865)

<div class="topic-metadata">

**Author:** [@charmander](https://forum.kirupa.com/u/charmander)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 3:48pm UTC](https://forum.kirupa.com/t/-parent--parent-didnt-worked-with-me/267865 "2008-08-06T15:48:04Z")

</div>

Hi there, I faced a problem when I used (\_parent.\_parent) to control the main time line from button within a movie clip within another movie clip, the full action line looks like: \_parent.\_parent.gotoAndStop(2); Wha…

---

## [Embedding Shockwave for Director - Problems with older versions \< V11](https://forum.kirupa.com/t/embedding-shockwave-for-director-problems-with-older-versions-v11/267861)

<div class="topic-metadata">

**Author:** [@adfox](https://forum.kirupa.com/u/adfox)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 3:00pm UTC](https://forum.kirupa.com/t/embedding-shockwave-for-director-problems-with-older-versions-v11/267861 "2008-08-06T15:00:10Z")

</div>

Hi Guys, I'm having a real problem embedding a shockwave file for director. First off I have established that a new version of Shockwave player came out earlier this year 2008 which seems to be the problem as it was …

---

## [How to use Button.selected?](https://forum.kirupa.com/t/how-to-use-button-selected/267857)

<div class="topic-metadata">

**Author:** [@ad\_sign](https://forum.kirupa.com/u/ad_sign)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 2:36pm UTC](https://forum.kirupa.com/t/how-to-use-button-selected/267857 "2008-08-06T14:36:17Z")

</div>

I'm trying import fl.controls.Button; var b1:Button = new Button(); this.addChild(b1); b1.selected = true; And it doesn't work. Should the Button be supposed to 'select'.. ? Where is the error? Tanks in advanc…

---

## [Getting feedback from an fopen,fwrite,fclose sequence](https://forum.kirupa.com/t/getting-feedback-from-an-fopen-fwrite-fclose-sequence/267855)

<div class="topic-metadata">

**Author:** [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 2:29pm UTC](https://forum.kirupa.com/t/getting-feedback-from-an-fopen-fwrite-fclose-sequence/267855 "2008-08-06T14:29:21Z")

</div>

I'm writing to a file and I want to know how I can get feedback from php to determine if the writing executed properly so I can display a message on the front end.

---

## [\[AS2\] Communication between 2 SWF Files](https://forum.kirupa.com/t/as2-communication-between-2-swf-files/267850)

<div class="topic-metadata">

**Author:** [@erikcute](https://forum.kirupa.com/u/erikcute)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 1:56pm UTC](https://forum.kirupa.com/t/as2-communication-between-2-swf-files/267850 "2008-08-06T13:56:41Z")

</div>

Hi! I'm trying to control the animation between 2 SWF files contained on a same webpage. SWF-1 should pause its animation upon reaching a certain frame and play SWF-2. Then SWF-2 should also pause its animation upon r…

---

## [Gotoandplay when tween finished problem](https://forum.kirupa.com/t/gotoandplay-when-tween-finished-problem/267848)

<div class="topic-metadata">

**Author:** [@Pale\_September](https://forum.kirupa.com/u/Pale_September)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 1:24pm UTC](https://forum.kirupa.com/t/gotoandplay-when-tween-finished-problem/267848 "2008-08-06T13:24:31Z")

</div>

I am trying to duplicate an effect used on a template gallery that I have for my photo website. (I want to have bigger images so am re-writing myself). I am able to achieve the effect I want using the tween class. My pr…

---

## [XML Random Images Slideshow](https://forum.kirupa.com/t/xml-random-images-slideshow/267847)

<div class="topic-metadata">

**Author:** [@pyleofkung](https://forum.kirupa.com/u/pyleofkung)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 1:24pm UTC](https://forum.kirupa.com/t/xml-random-images-slideshow/267847 "2008-08-06T13:24:30Z")

</div>

I've created a flash slideshow with a fade-in fade-out effect that pulls a random image from a file containing a bunch of images from an XML file. This tutorial helped me out a lot. http://www.webzo.org/tutorials/flash…

---

## [Texture on Plane with Papervision 3d](https://forum.kirupa.com/t/texture-on-plane-with-papervision-3d/267846)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 1:12pm UTC](https://forum.kirupa.com/t/texture-on-plane-with-papervision-3d/267846 "2008-08-06T13:12:43Z")

</div>

Hi I´m studying Papervision3D, and working with a Plane with texture. I´d like to make the tile to repeat, but it´s expading to fill the entired Plane. Here is the files i´m working with. If someone can help, would …

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

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