# programming

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

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

**Page:** 1307

---

## [Looping Slideshow](https://forum.kirupa.com/t/looping-slideshow/255629)

<div class="topic-metadata">

**Author:** [@Pigsel26](https://forum.kirupa.com/u/Pigsel26)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 2:04pm UTC](https://forum.kirupa.com/t/looping-slideshow/255629 "2008-03-25T14:04:38Z")

</div>

I want to make a slideshow to scroll across the width of my site. I only have 6 photos, so I want it to somehow have a seamless loop to where there isn't an obvious start and stop, just Image 6 is followed by Image 1. I …

---

## [Sending actionscript rectangle to back layer](https://forum.kirupa.com/t/sending-actionscript-rectangle-to-back-layer/255627)

<div class="topic-metadata">

**Author:** [@jdamon78](https://forum.kirupa.com/u/jdamon78)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 1:52pm UTC](https://forum.kirupa.com/t/sending-actionscript-rectangle-to-back-layer/255627 "2008-03-25T13:52:37Z")

</div>

Hi - Would really appreciate some help! I've created a rectangular box with actionscript (code follows) and I need to make sure this stays in the background - so all other movieclips and symbols are visible when they a…

---

## [Tweening AS3 components](https://forum.kirupa.com/t/tweening-as3-components/255626)

<div class="topic-metadata">

**Author:** [@flextnet](https://forum.kirupa.com/u/flextnet)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 1:50pm UTC](https://forum.kirupa.com/t/tweening-as3-components/255626 "2008-03-25T13:50:36Z")

</div>

Hi- I'm having a strange issue, and I wonder if anyone else has seen it or found a workaround... I'm simply trying to apply a timeline motion tween to an AS3 component on the stage. The key frames are all set up fine…

---

## [Show/hide dynamic text box on button release](https://forum.kirupa.com/t/show-hide-dynamic-text-box-on-button-release/255623)

<div class="topic-metadata">

**Author:** [@punky79](https://forum.kirupa.com/u/punky79)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 1:36pm UTC](https://forum.kirupa.com/t/show-hide-dynamic-text-box-on-button-release/255623 "2008-03-25T13:36:00Z")

</div>

I have 2 buttons called "sound\_on" and "sound\_off". When these are clicked a sound either stops or starts. Here is the actionscript code attached to each button: sound\_on on (release){ x.stop(); x.start(0…

---

## [Disabling Browser Function Commands](https://forum.kirupa.com/t/disabling-browser-function-commands/255622)

<div class="topic-metadata">

**Author:** [@rhanna2](https://forum.kirupa.com/u/rhanna2)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 1:06pm UTC](https://forum.kirupa.com/t/disabling-browser-function-commands/255622 "2008-03-25T13:06:17Z")

</div>

Hi, In my .fla, I'm assigning different actions to the F1 and F3 function keys. When these files are viewed in IE and either function key is used, the Internet Explorer Help File (F1) and the Search Companion (F3). Is th…

---

## [Port checker](https://forum.kirupa.com/t/port-checker/255621)

<div class="topic-metadata">

**Author:** [@L2Aeos](https://forum.kirupa.com/u/L2Aeos)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 12:51pm UTC](https://forum.kirupa.com/t/port-checker/255621 "2008-03-25T12:51:55Z")

</div>

Hello I own a gaming server, and I used Flash CS3 to design the website. I want my players to see if the server is online/offline on the website. Is there any way Flash CS3 could check an IP's ports and do an action if i…

---

## [\[FLEX\] BitmapData.draw()](https://forum.kirupa.com/t/flex-bitmapdata-draw/255619)

<div class="topic-metadata">

**Author:** [@Raziel](https://forum.kirupa.com/u/Raziel)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 12:35pm UTC](https://forum.kirupa.com/t/flex-bitmapdata-draw/255619 "2008-03-25T12:35:36Z")

</div>

Hello, I'm building a flickr application in flex at the moment but i keep getting sandbox errors when i invoke BitmapData.draw();. After doing some google research i found that the proper policyfile needs to be loade…

---

## [Custom Code Hints for Constructors?](https://forum.kirupa.com/t/custom-code-hints-for-constructors/255617)

<div class="topic-metadata">

**Author:** [@evilmrsock](https://forum.kirupa.com/u/evilmrsock)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 12:04pm UTC](https://forum.kirupa.com/t/custom-code-hints-for-constructors/255617 "2008-03-25T12:04:07Z")

</div>

So I've gotten the XML code hint installer to work for functions of a custom class like so: \<folder VERSION="CS3" id="com.flexgraphix.util" index="true" name="com.flexgraphix.util" tiptext="Contains info for com.flexg…

---

## [CSS layout messed up in IE](https://forum.kirupa.com/t/css-layout-messed-up-in-ie/255616)

<div class="topic-metadata">

**Author:** [@Maqrkk](https://forum.kirupa.com/u/Maqrkk)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 11:50am UTC](https://forum.kirupa.com/t/css-layout-messed-up-in-ie/255616 "2008-03-25T11:50:18Z")

</div>

Hello, I've recently made a small test site to test the use of AJAX. However I've come to notice that it's all messed up in IE. I only use Firefox and discovered this by coincidence. The site I'm talking about is here.…

---

## [Scope and Adding Children](https://forum.kirupa.com/t/scope-and-adding-children/255615)

<div class="topic-metadata">

**Author:** [@trundrumbalind](https://forum.kirupa.com/u/trundrumbalind)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 11:13am UTC](https://forum.kirupa.com/t/scope-and-adding-children/255615 "2008-03-25T11:13:43Z")

</div>

Hey guys, ok I have been trying to learn AS3 recently and I think I'm finally getting the hang of it. BUT... there's one thing of which I'm unsure that I'm doing correctly and that's adding children to the correct scope…

---

## [How this game is made?](https://forum.kirupa.com/t/how-this-game-is-made/255612)

<div class="topic-metadata">

**Author:** [@basepilot](https://forum.kirupa.com/u/basepilot)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 10:28am UTC](https://forum.kirupa.com/t/how-this-game-is-made/255612 "2008-03-25T10:28:39Z")

</div>

I need to produce a very similar game using an image. Can anyone find a simple reference of how this game is made? http://www.squidsoup.com/games/ thanks in advance.

---

## [Detecting when any movieclip appears on the Stage's timeline](https://forum.kirupa.com/t/detecting-when-any-movieclip-appears-on-the-stages-timeline/255611)

<div class="topic-metadata">

**Author:** [@Glidias](https://forum.kirupa.com/u/Glidias)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 10:26am UTC](https://forum.kirupa.com/t/detecting-when-any-movieclip-appears-on-the-stages-timeline/255611 "2008-03-25T10:26:05Z")

</div>

Is there a way to detect when any particular movieclip appears on the stage's timeline in AS2? Attempt #1: The MovieClip.prototype.onEnterFrame hack All Movieclips have an Enterframe event. I set it to attempt to dele…

---

## [Problems loading an AS2 swf](https://forum.kirupa.com/t/problems-loading-an-as2-swf/255610)

<div class="topic-metadata">

**Author:** [@foldthem](https://forum.kirupa.com/u/foldthem)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 9:51am UTC](https://forum.kirupa.com/t/problems-loading-an-as2-swf/255610 "2008-03-25T09:51:34Z")

</div>

Hello, FILE1.SWF (AS2) that loads it's variables from a .txt file using LoadVariablesNum("variables.txt", 0); file1 has a dynamic textbox with a var from variables.txt FILE2.SWF (AS3): AS3 SWF that loads FILE1.…

---

## [Nesting mouseX = \_xmouse; function](https://forum.kirupa.com/t/nesting-mousex--xmouse-function/255609)

<div class="topic-metadata">

**Author:** [@keith\_chegwin](https://forum.kirupa.com/u/keith_chegwin)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 9:39am UTC](https://forum.kirupa.com/t/nesting-mousex--xmouse-function/255609 "2008-03-25T09:39:08Z")

</div>

hi Guys, I am trying to create a horizontal scrollable movie clip thats works in a nested movie clip At the moment I am using this code and it only works in the root. Do you know how I can fix it to work in a nested …

---

## [Correct way to pass a reference?](https://forum.kirupa.com/t/correct-way-to-pass-a-reference/255607)

<div class="topic-metadata">

**Author:** [@sceneshift](https://forum.kirupa.com/u/sceneshift)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 8:53am UTC](https://forum.kirupa.com/t/correct-way-to-pass-a-reference/255607 "2008-03-25T08:53:49Z")

</div>

Hi, Can someone please set me straight on how to communicate properly over different classes. Lets say I have two classes, one is "photo" and the other is "album"... in this instance, both classes are instantiated from…

---

## [n00b question](https://forum.kirupa.com/t/n00b-question/255606)

<div class="topic-metadata">

**Author:** [@zacus](https://forum.kirupa.com/u/zacus)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 8:19am UTC](https://forum.kirupa.com/t/n00b-question/255606 "2008-03-25T08:19:50Z")

</div>

Hey :crazy: I just installed my shiny new Adobe Flash CS3 Professional and im using it for pretty much the first time, im working on a web page at the moment and i have made the images i need imported them and they are…

---

## [This AS does not work in players 7 upwards](https://forum.kirupa.com/t/this-as-does-not-work-in-players-7-upwards/255602)

<div class="topic-metadata">

**Author:** [@plashbydo](https://forum.kirupa.com/u/plashbydo)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 6:21am UTC](https://forum.kirupa.com/t/this-as-does-not-work-in-players-7-upwards/255602 "2008-03-25T06:21:46Z")

</div>

Can any bright sparks suggest why this code only works in player 6 or below? var grow = 2; var speed = .50; var elastic = .55; movieclip.prototype.initScale = function() { this.myScale = this.\_xscale; }; Movie…

---

## [1037: packages cannot be nested](https://forum.kirupa.com/t/1037-packages-cannot-be-nested/255599)

<div class="topic-metadata">

**Author:** [@Evan70](https://forum.kirupa.com/u/Evan70)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 5:00am UTC](https://forum.kirupa.com/t/1037-packages-cannot-be-nested/255599 "2008-03-25T05:00:19Z")

</div>

I am using Flash cs3 with AS 3.0 and trying to experiment with code given in the "Actionscript 3.0 Cookbook" I apply the script to a keyframe in layer1 where I would place my scripts, \*\*The error I am getting is \[…

---

## [IE 6 cutting content](https://forum.kirupa.com/t/ie-6-cutting-content/255597)

<div class="topic-metadata">

**Author:** [@arthurse](https://forum.kirupa.com/u/arthurse)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 4:48am UTC](https://forum.kirupa.com/t/ie-6-cutting-content/255597 "2008-03-25T04:48:58Z")

</div>

Hello! Take a look at the bottom of my site: http://www.livrevista.com/v2/page.php?id=3 IE 6 is cutting my content at the bottom! Look at the source code or look the site with Firefox, there is more content, but IE 6…

---

## [Expanding Menus in Flash](https://forum.kirupa.com/t/expanding-menus-in-flash/255593)

<div class="topic-metadata">

**Author:** [@sean1](https://forum.kirupa.com/u/sean1)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 4:15am UTC](https://forum.kirupa.com/t/expanding-menus-in-flash/255593 "2008-03-25T04:15:47Z")

</div>

I'm working with a flash template that has a line of animated buttons. I'm trying to expand the menu by copying the menu and placing the three copies below the original. My problem is the copies are linked. I can't chang…

---

## [Make a moveclip a link?](https://forum.kirupa.com/t/make-a-moveclip-a-link/255592)

<div class="topic-metadata">

**Author:** [@ScoobyDooobyD00](https://forum.kirupa.com/u/ScoobyDooobyD00)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 3:23am UTC](https://forum.kirupa.com/t/make-a-moveclip-a-link/255592 "2008-03-25T03:23:40Z")

</div>

I'm wanting to make a movie clip a link, the movie clip loads an image from a php file. Heres the actionscript that loads the image, if it helps. Also, how do a load text into a dynamic text box with this script. The t…

---

## [Button States](https://forum.kirupa.com/t/button-states/255591)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 3:22am UTC](https://forum.kirupa.com/t/button-states/255591 "2008-03-25T03:22:54Z")

</div>

Hello: I've been trying to comprehend the buttons states tutorial at - http://www.zedia.net/making-a-simple-button-using-tweens-and-sprites-in-actionscript-3/ But I get lots of errors. I was wondering if someone coul…

---

## [ComboBox AS2 question](https://forum.kirupa.com/t/combobox-as2-question/255589)

<div class="topic-metadata">

**Author:** [@tchum](https://forum.kirupa.com/u/tchum)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 3:01am UTC](https://forum.kirupa.com/t/combobox-as2-question/255589 "2008-03-25T03:01:26Z")

</div>

I want to use a ComboBox to load SWFs, rather than assigning AS2 to a static button. The current, static code is simple, and works fine: on (release) { this.emptyMCtoc.loadMovie("edition\_3\_toc.swf"); this.emptyMCpag…

---

## [PHP can't load MySQL module](https://forum.kirupa.com/t/php-cant-load-mysql-module/255587)

<div class="topic-metadata">

**Author:** [@manfree](https://forum.kirupa.com/u/manfree)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 2:06am UTC](https://forum.kirupa.com/t/php-cant-load-mysql-module/255587 "2008-03-25T02:06:56Z")

</div>

Hi all Platform: window2000 PHP version: 5.2.5 I got a problem .... php can't load MySQL module Originally, PHP and MySQL were working fine but after I have updated to Service Pack 4, all ASP and PHP not working And…

---

## [Motion tweening AS3 components](https://forum.kirupa.com/t/motion-tweening-as3-components/255583)

<div class="topic-metadata">

**Author:** [@flextnet](https://forum.kirupa.com/u/flextnet)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 12:57am UTC](https://forum.kirupa.com/t/motion-tweening-as3-components/255583 "2008-03-25T00:57:00Z")

</div>

Hi- I'm having a strange issue, and I wonder if anyone else has seen it or found a workaround... I'm simply trying to apply a timeline motion tween to an AS3 component on the stage. The key frames are all set up fine…

---

## [Help with background in tile based game](https://forum.kirupa.com/t/help-with-background-in-tile-based-game/255582)

<div class="topic-metadata">

**Author:** [@thejoeknows\_com](https://forum.kirupa.com/u/thejoeknows_com)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 12:20am UTC](https://forum.kirupa.com/t/help-with-background-in-tile-based-game/255582 "2008-03-25T00:20:12Z")

</div>

Im using Tony Pa's Actionscript 2 tutorials to make a side scroller game similar to Mario (but you have a gun instead of jumping on enemies) In order to make the background u hav to split it up into tiles, but i only k…

---

## [Mouse STAGE Confusion](https://forum.kirupa.com/t/mouse-stage-confusion/255581)

<div class="topic-metadata">

**Author:** [@bnns](https://forum.kirupa.com/u/bnns)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 12:11am UTC](https://forum.kirupa.com/t/mouse-stage-confusion/255581 "2008-03-25T00:11:59Z")

</div>

I am working on a flash application that takes in the mouse's location on the stage and then gets objects to rotate around it based on its location. The problem is that whenever the mouse moves over one of my objects it …

---

## [RE: Fading in flash](https://forum.kirupa.com/t/re-fading-in-flash/255578)

<div class="topic-metadata">

**Author:** [@george2409](https://forum.kirupa.com/u/george2409)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 11:35pm UTC](https://forum.kirupa.com/t/re-fading-in-flash/255578 "2008-03-24T23:35:15Z")

</div>

Hey everyone, I am bringing an image into flash and it is constantly coming out faded. I try to change the colour balance in the effects but this makes it look too artificial. Is there a way of bringing an image into f…

---

## [Grabbing BitmapData library item and adding to display list](https://forum.kirupa.com/t/grabbing-bitmapdata-library-item-and-adding-to-display-list/255577)

<div class="topic-metadata">

**Author:** [@eilinora](https://forum.kirupa.com/u/eilinora)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 11:25pm UTC](https://forum.kirupa.com/t/grabbing-bitmapdata-library-item-and-adding-to-display-list/255577 "2008-03-24T23:25:56Z")

</div>

I can't seem to get this to work with BitmapData library items, though it is working for the MovieClip items... I have a utility function which grabs items from the library public static function create(className:Str…

---

## [Adding/Removing Listeners](https://forum.kirupa.com/t/adding-removing-listeners/255575)

<div class="topic-metadata">

**Author:** [@trundrumbalind](https://forum.kirupa.com/u/trundrumbalind)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 10:38pm UTC](https://forum.kirupa.com/t/adding-removing-listeners/255575 "2008-03-24T22:38:16Z")

</div>

Hi guys, ok I have movieclips which have timeline animations on them as they are animated buttons. So, I want to set up the following listeners... MOUSE\_OVER -\> Play the movieclip and delete the enterframe when it hit…

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

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