# programming

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

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

**Page:** 306

---

## [How To Import Swf Into Another Swf?](https://forum.kirupa.com/t/how-to-import-swf-into-another-swf/320583)

<div class="topic-metadata">

**Author:** [@mikeooh](https://forum.kirupa.com/u/mikeooh)\
**Replies:** 0\
**Last updated:** [March 27, 2011, 10:44pm UTC](https://forum.kirupa.com/t/how-to-import-swf-into-another-swf/320583 "2011-03-27T22:44:28Z")

</div>

I want to import a small swf into my main swf. I tried this code: onClipEvent (load){ \_root.loadMovie("small.swf"); } it show only my small.swf but outside the mainpage, this is not I want. I also tried this: v…

---

## [Build center zoom images](https://forum.kirupa.com/t/build-center-zoom-images/320582)

<div class="topic-metadata">

**Author:** [@walerka](https://forum.kirupa.com/u/walerka)\
**Replies:** 0\
**Last updated:** [March 27, 2011, 10:41pm UTC](https://forum.kirupa.com/t/build-center-zoom-images/320582 "2011-03-27T22:41:11Z")

</div>

Hello! i need created zoom for image in flex, can help me? Thanks

---

## [Using AS3 to parse XML created with php](https://forum.kirupa.com/t/using-as3-to-parse-xml-created-with-php/320581)

<div class="topic-metadata">

**Author:** [@baronness](https://forum.kirupa.com/u/baronness)\
**Replies:** 0\
**Last updated:** [March 27, 2011, 9:12pm UTC](https://forum.kirupa.com/t/using-as3-to-parse-xml-created-with-php/320581 "2011-03-27T21:12:34Z")

</div>

I need to parse XML that is being dynamically created using php with AS3 so that I can feed the nodes into dynamic text fields on my stage. I feel like this should be pretty straightforward, but am running into proble…

---

## [AS2: Movieclip problems](https://forum.kirupa.com/t/as2-movieclip-problems/320578)

<div class="topic-metadata">

**Author:** [@UMihnea](https://forum.kirupa.com/u/UMihnea)\
**Replies:** 0\
**Last updated:** [March 27, 2011, 5:18pm UTC](https://forum.kirupa.com/t/as2-movieclip-problems/320578 "2011-03-27T17:18:32Z")

</div>

Hello everybody! I am working to a tile-based game in Flash CS3 (with ActionScript 2) but I have one big problem. My tiles are appearing on top of all other objects, and the maximum depth of a tile is 100. I had movi…

---

## [HTML Frames Help](https://forum.kirupa.com/t/html-frames-help/320577)

<div class="topic-metadata">

**Author:** [@FelixT](https://forum.kirupa.com/u/FelixT)\
**Replies:** 0\
**Last updated:** [March 27, 2011, 5:16pm UTC](https://forum.kirupa.com/t/html-frames-help/320577 "2011-03-27T17:16:38Z")

</div>

I have a page with two frames. One of the frames is a menu to navigate through the site and the other is the content. \<iframe src="\[menu.html\](http://www.kirupa.com/forum/view-source:http://128chan.co.cc/menu.html)" …

---

## [Problem loading SWF into project](https://forum.kirupa.com/t/problem-loading-swf-into-project/320575)

<div class="topic-metadata">

**Author:** [@choichang](https://forum.kirupa.com/u/choichang)\
**Replies:** 0\
**Last updated:** [March 27, 2011, 2:08pm UTC](https://forum.kirupa.com/t/problem-loading-swf-into-project/320575 "2011-03-27T14:08:12Z")

</div>

Hello all, i'm creating a button to load my 360 panorama swf onto my stage, it works but it appear at different size and it appear on my button, i decide to solve it by using an empty movie clip called \[COLOR="Black"\]"…

---

## [SWF much slower on the web](https://forum.kirupa.com/t/swf-much-slower-on-the-web/320574)

<div class="topic-metadata">

**Author:** [@Nim](https://forum.kirupa.com/u/Nim)\
**Replies:** 0\
**Last updated:** [March 27, 2011, 1:23pm UTC](https://forum.kirupa.com/t/swf-much-slower-on-the-web/320574 "2011-03-27T13:23:13Z")

</div>

Hello guys, I'm creating a flash animation in Flash. When I'm publishing it and reviewing it on my pc runs all right. But, when I'm uploading on the web it runs much slower. It's like the animation has less frames per …

---

## [Please help - Problem with loading swf's (running very slowly)](https://forum.kirupa.com/t/please-help-problem-with-loading-swfs-running-very-slowly/320573)

<div class="topic-metadata">

**Author:** [@handemmet](https://forum.kirupa.com/u/handemmet)\
**Replies:** 0\
**Last updated:** [March 27, 2011, 12:18pm UTC](https://forum.kirupa.com/t/please-help-problem-with-loading-swfs-running-very-slowly/320573 "2011-03-27T12:18:55Z")

</div>

Hi I have posted this problem up in the last few days so I built a quick demo of my problem. Can somebody please download it and take a look at it and see what I'm doing wrong? You can download it here at: http://www…

---

## [Fun with \*\*\*\*, Jane and Terry's](https://forum.kirupa.com/t/fun-with-jane-and-terrys/320572)

<div class="topic-metadata">

**Author:** [@odbo](https://forum.kirupa.com/u/odbo)\
**Replies:** 0\
**Last updated:** [March 27, 2011, 11:41am UTC](https://forum.kirupa.com/t/fun-with-jane-and-terrys/320572 "2011-03-27T11:41:13Z")

</div>

This is a cheeky method I used to retrieve relevent information about a Timer Event from an Array by using a Dictionary object to reference itself. var timerHolder = new Dictionary(); timerFunction():void { for(var i i…

---

## [Focus on](https://forum.kirupa.com/t/focus-on/320560)

<div class="topic-metadata">

**Author:** [@Katumi](https://forum.kirupa.com/u/Katumi)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 11:55pm UTC](https://forum.kirupa.com/t/focus-on/320560 "2011-03-26T23:55:00Z")

</div>

I'm making an application where i want the user to enter some text into a textfield. The textfield is inside a movieclip which is added dynamically to the stage when a button is clicked. As soon as the movieclip is added…

---

## [Help building a game](https://forum.kirupa.com/t/help-building-a-game/320559)

<div class="topic-metadata">

**Author:** [@vigordesign](https://forum.kirupa.com/u/vigordesign)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 11:12pm UTC](https://forum.kirupa.com/t/help-building-a-game/320559 "2011-03-26T23:12:10Z")

</div>

Hi all! I'm building a simple game and I have a few problems that I can't figure out. I've attached the file if anyone would be so amazing as to check it out. When you lose the game, it starts throwing errors non-stop…

---

## [Stop NetStream buffering](https://forum.kirupa.com/t/stop-netstream-buffering/320555)

<div class="topic-metadata">

**Author:** [@bumb0x](https://forum.kirupa.com/u/bumb0x)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 8:20pm UTC](https://forum.kirupa.com/t/stop-netstream-buffering/320555 "2011-03-26T20:20:41Z")

</div>

Hi everybody. I'm playing streaming video via NetStream.Sometimes I want to stop NetStream buffering, but buffer content must be played completely. How can I do that?

---

## [Tweening in Flash Builder](https://forum.kirupa.com/t/tweening-in-flash-builder/320553)

<div class="topic-metadata">

**Author:** [@studentbtn](https://forum.kirupa.com/u/studentbtn)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 7:17pm UTC](https://forum.kirupa.com/t/tweening-in-flash-builder/320553 "2011-03-26T19:17:00Z")

</div>

Heya, Im a complete noob at all this actionscript malark and am having trouble getting simple tweening done. Im using Flash builder to develop in and all I want to do is move a movie clip along the x axis or y axis. …

---

## [onEventHandler question](https://forum.kirupa.com/t/oneventhandler-question/320552)

<div class="topic-metadata">

**Author:** [@liner986](https://forum.kirupa.com/u/liner986)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 7:05pm UTC](https://forum.kirupa.com/t/oneventhandler-question/320552 "2011-03-26T19:05:12Z")

</div>

Hi, i have produced a code for an online gallery which loads an image into a movie clip called frame\_mc. on mouse click the loader big\_pic loads a requested photo and then displays it on frame\_mc (remove/add child etc). …

---

## [Flashvars and Javascript](https://forum.kirupa.com/t/flashvars-and-javascript/320551)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 6:16pm UTC](https://forum.kirupa.com/t/flashvars-and-javascript/320551 "2011-03-26T18:16:30Z")

</div>

So I am trying to pass anything from javascript to an object, and use flashvars to retrieve its definition. Is it even possible? Here is the code- Javascript var user = window.external.GetUsername; page\_request.o…

---

## [I have an issue with my package :-)](https://forum.kirupa.com/t/i-have-an-issue-with-my-package/320547)

<div class="topic-metadata">

**Author:** [@radbourn3](https://forum.kirupa.com/u/radbourn3)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 5:05pm UTC](https://forum.kirupa.com/t/i-have-an-issue-with-my-package/320547 "2011-03-26T17:05:40Z")

</div>

I'm trying to get initKeys to trigger. 'kiosk' is my base class. I'm getting error 1017: The definition of base class kiosk was not found. project\_folder/me/radbourne/kiosk.as package me.radbourne { import org.acti…

---

## [Putting many stage boundaries in one SWF](https://forum.kirupa.com/t/putting-many-stage-boundaries-in-one-swf/320545)

<div class="topic-metadata">

**Author:** [@keitho30](https://forum.kirupa.com/u/keitho30)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 4:13pm UTC](https://forum.kirupa.com/t/putting-many-stage-boundaries-in-one-swf/320545 "2011-03-26T16:13:04Z")

</div>

Anyone know how to put lots of different stage boundaries in one swf. My stage size is 2000x800 and I need to make it look like the sf has different sections to it. Thanks in Advance!(-:

---

## [Div Element Selection Range](https://forum.kirupa.com/t/div-element-selection-range/320544)

<div class="topic-metadata">

**Author:** [@CliveCarrington](https://forum.kirupa.com/u/CliveCarrington)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 3:42pm UTC](https://forum.kirupa.com/t/div-element-selection-range/320544 "2011-03-26T15:42:30Z")

</div>

It goes like this: I need to get the position of the selected text in an element. The element is not a textarea. I know how to get the selected text, but not the position. The farthest I got was this: I can get the s…

---

## [Help...1009](https://forum.kirupa.com/t/help-1009/320541)

<div class="topic-metadata">

**Author:** [@ProfeaX](https://forum.kirupa.com/u/ProfeaX)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 11:24am UTC](https://forum.kirupa.com/t/help-1009/320541 "2011-03-26T11:24:09Z")

</div>

Heya guys \[smile\] so,i have this problem,sorry if there was a thread like this,i was googling,and haven't found a solution that would work in my case,so... this is what i want to do,when ball (mcCursor) touches walls (mc…

---

## [Flash beginner](https://forum.kirupa.com/t/flash-beginner/320539)

<div class="topic-metadata">

**Author:** [@Xsag](https://forum.kirupa.com/u/Xsag)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 10:44am UTC](https://forum.kirupa.com/t/flash-beginner/320539 "2011-03-26T10:44:06Z")

</div>

Hi everyone, ive been learning flash for a week or so and have been doing tutorials on http://www.foundation-flash.com/ and from the adobe help guide, and then putting them into use on my site http://www.bee-sting.net, b…

---

## [Scroll MovieClip through Mouse Scroll](https://forum.kirupa.com/t/scroll-movieclip-through-mouse-scroll/320538)

<div class="topic-metadata">

**Author:** [@Sivaraj](https://forum.kirupa.com/u/Sivaraj)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 10:39am UTC](https://forum.kirupa.com/t/scroll-movieclip-through-mouse-scroll/320538 "2011-03-26T10:39:03Z")

</div>

Hi Friend, I have just wrote a code for vertical scroll of image through mouse scrolling.. It works... but It works only after click on the image or inner space of the window.. How i overcome this problem.... My code is …

---

## [Web Graphic Design](https://forum.kirupa.com/t/web-graphic-design/320536)

<div class="topic-metadata">

**Author:** [@olderlogo](https://forum.kirupa.com/u/olderlogo)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 10:23am UTC](https://forum.kirupa.com/t/web-graphic-design/320536 "2011-03-26T10:23:19Z")

</div>

How is web page design different from web graphic design? \[Logo Web Designer | \[URL="http://www.hire-logo-web-designer.com/"\]Custom Logo Designs | \[URL="http://www.hire-logo-web-designer.com/"\]Company Logo Designer…

---

## [Change hue with as3](https://forum.kirupa.com/t/change-hue-with-as3/320532)

<div class="topic-metadata">

**Author:** [@papamck](https://forum.kirupa.com/u/papamck)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 5:58am UTC](https://forum.kirupa.com/t/change-hue-with-as3/320532 "2011-03-26T05:58:41Z")

</div>

hi all, I wonder how can i change the mc hue with as3 just a simple example is fine just like pressed bottom A the mc will change Hue +=10 Ive searched for many tutorial but the examples are too complicated to understa…

---

## [Translating Bitmaps result in frame rate drop](https://forum.kirupa.com/t/translating-bitmaps-result-in-frame-rate-drop/320530)

<div class="topic-metadata">

**Author:** [@doogog](https://forum.kirupa.com/u/doogog)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 3:40am UTC](https://forum.kirupa.com/t/translating-bitmaps-result-in-frame-rate-drop/320530 "2011-03-26T03:40:14Z")

</div>

I'm having this problem where my frame rate would drop tremendously when I translate(change x and y values) about 600 bitmaps every frame. The weird thing that is the performance drop only occurs with bitmaps above a c…

---

## [Flash template](https://forum.kirupa.com/t/flash-template/320527)

<div class="topic-metadata">

**Author:** [@worthless](https://forum.kirupa.com/u/worthless)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 2:40am UTC](https://forum.kirupa.com/t/flash-template/320527 "2011-03-26T02:40:00Z")

</div>

Any idea where to find this template http://www.apsisinc.com/ Thanks. \[image\] \[\[IMG\]http://www.actionscript.org/forums/images/buttons/report.gif\[/IMG\] …

---

## [Capturing mouse click, sprite](https://forum.kirupa.com/t/capturing-mouse-click-sprite/320526)

<div class="topic-metadata">

**Author:** [@seanad](https://forum.kirupa.com/u/seanad)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 2:38am UTC](https://forum.kirupa.com/t/capturing-mouse-click-sprite/320526 "2011-03-26T02:38:45Z")

</div>

I create a board class in board.as as so, public class board extends Sprite { public function board(p1:Number = 0, p2:Number = 0, p3:Boolean = true) { this.mouseEnabled = true; addEventListener(MouseEvent.CLICK, go); …

---

## [Upload images without server. FP10](https://forum.kirupa.com/t/upload-images-without-server-fp10/320525)

<div class="topic-metadata">

**Author:** [@walerka](https://forum.kirupa.com/u/walerka)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 2:07am UTC](https://forum.kirupa.com/t/upload-images-without-server-fp10/320525 "2011-03-26T02:07:25Z")

</div>

Hello i have code: private function load\_image(evt:MouseEvent):void { loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoaderComplete) loader.load(new URLRequest("images.jpg")); …

---

## [Animated Objects drifting towards origin - suspect loss of precision issue](https://forum.kirupa.com/t/animated-objects-drifting-towards-origin-suspect-loss-of-precision-issue/320524)

<div class="topic-metadata">

**Author:** [@cermunnos](https://forum.kirupa.com/u/cermunnos)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 1:28am UTC](https://forum.kirupa.com/t/animated-objects-drifting-towards-origin-suspect-loss-of-precision-issue/320524 "2011-03-26T01:28:22Z")

</div>

Hi, I'm working on a physics program with 2 bodies orbiting around each other using basic newtonian mechanics. My problem is I notice my objects are drifting towards the origin. In my codes I run my equations and t…

---

## [PHP url calls image - how can flash see this?](https://forum.kirupa.com/t/php-url-calls-image-how-can-flash-see-this/320523)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 1:23am UTC](https://forum.kirupa.com/t/php-url-calls-image-how-can-flash-see-this/320523 "2011-03-26T01:23:53Z")

</div>

Hi \[wink\] So I have a php file, that has javascript within it only. When you call upon the PHP file, an image loads. How can I have flash, see this image? Do I have to talk to the \<script\> or PHP, or can I simply load …

---

## [\[F CS5:AS2\] How to check for external variable to show update notifications?](https://forum.kirupa.com/t/f-cs5-as2-how-to-check-for-external-variable-to-show-update-notifications/320522)

<div class="topic-metadata">

**Author:** [@humbuged](https://forum.kirupa.com/u/humbuged)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 1:13am UTC](https://forum.kirupa.com/t/f-cs5-as2-how-to-check-for-external-variable-to-show-update-notifications/320522 "2011-03-26T01:13:52Z")

</div>

Hello \[smile\] I was wondering if it's possible to show a notification for new updates in a swf file. Like what if I upload a .txt file somewhere and inside it there's a variable, something like; newupdate="Version…

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

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