# programming

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

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

**Page:** 1275

---

## [How to unload an AS2 .swf loaded from an AS3 .swf](https://forum.kirupa.com/t/how-to-unload-an-as2-swf-loaded-from-an-as3-swf/257902)

<div class="topic-metadata">

**Author:** [@Kiashy](https://forum.kirupa.com/u/Kiashy)\
**Replies:** 0\
**Last updated:** [April 18, 2008, 4:46am UTC](https://forum.kirupa.com/t/how-to-unload-an-as2-swf-loaded-from-an-as3-swf/257902 "2008-04-18T04:46:10Z")

</div>

Hi! I'm new with ActionScript and i'm having a problem: I have a Flex/AS3 application that loads an AS2 swf using an SWFLoader component (or a Loader, i tried both). The AS2 swf starts ok but the problem appears when i…

---

## [Confusing - Depth on tile based games](https://forum.kirupa.com/t/confusing-depth-on-tile-based-games/257901)

<div class="topic-metadata">

**Author:** [@11119](https://forum.kirupa.com/u/11119)\
**Replies:** 0\
**Last updated:** [April 18, 2008, 3:59am UTC](https://forum.kirupa.com/t/confusing-depth-on-tile-based-games/257901 "2008-04-18T03:59:09Z")

</div>

Hi all, I'm currently in the process of making a Zelda-style test game using the tutorials found on Tonypa's website. However, I have run into some very confusing problems which have stumped me. I did come up with a coup…

---

## [Centered jpeg in MovieClip doesnt work on the web](https://forum.kirupa.com/t/centered-jpeg-in-movieclip-doesnt-work-on-the-web/257898)

<div class="topic-metadata">

**Author:** [@ccbass85](https://forum.kirupa.com/u/ccbass85)\
**Replies:** 0\
**Last updated:** [April 18, 2008, 2:18am UTC](https://forum.kirupa.com/t/centered-jpeg-in-movieclip-doesnt-work-on-the-web/257898 "2008-04-18T02:18:25Z")

</div>

ok so i got a little dilema. ive seen the tutorials on centering a jpeg to a movie clip when its loaded but they are actually cheating . All they do is load it in the center of the stage and not the center of the actual …

---

## [How can I control movieclip attached AS3?](https://forum.kirupa.com/t/how-can-i-control-movieclip-attached-as3/257897)

<div class="topic-metadata">

**Author:** [@darthSite](https://forum.kirupa.com/u/darthSite)\
**Replies:** 0\
**Last updated:** [April 18, 2008, 1:56am UTC](https://forum.kirupa.com/t/how-can-i-control-movieclip-attached-as3/257897 "2008-04-18T01:56:19Z")

</div>

I have one movieclip in library. linkage = mcPai. This movie has into here another MovieClip instance = mcFilho. Flash as2 I can do this: container.attachMovie("mcPai", "instance1", this.getNextHighestDepth()); in…

---

## [Go back button](https://forum.kirupa.com/t/go-back-button/257896)

<div class="topic-metadata">

**Author:** [@utz119](https://forum.kirupa.com/u/utz119)\
**Replies:** 0\
**Last updated:** [April 18, 2008, 1:44am UTC](https://forum.kirupa.com/t/go-back-button/257896 "2008-04-18T01:44:17Z")

</div>

Can someone help me what I'm doing wrong? I have this image gallery movie with background music. I want to have "Go back" button that go back 5 frames each time someone click it. This is the code I have but it does…

---

## [Circular Dock menu](https://forum.kirupa.com/t/circular-dock-menu/257895)

<div class="topic-metadata">

**Author:** [@pietromiotto](https://forum.kirupa.com/u/pietromiotto)\
**Replies:** 0\
**Last updated:** [April 18, 2008, 1:37am UTC](https://forum.kirupa.com/t/circular-dock-menu/257895 "2008-04-18T01:37:04Z")

</div>

Hi, I'm trying to do a circuler dock menu, like the mac osx but as a ring instead. Can anyone help??

---

## [Scaling bitmapData images?](https://forum.kirupa.com/t/scaling-bitmapdata-images/257894)

<div class="topic-metadata">

**Author:** [@wu\_tang1](https://forum.kirupa.com/u/wu_tang1)\
**Replies:** 0\
**Last updated:** [April 18, 2008, 1:33am UTC](https://forum.kirupa.com/t/scaling-bitmapdata-images/257894 "2008-04-18T01:33:41Z")

</div>

Hi all, I'm trying to work out how to scale bitmapData images with a matrix. I found this example (http://www.adobe.com/devnet/flash/articles/image\_api\_04.html) but cannot get it to work. Nothing shows up. I have a b…

---

## [UPDATE not working](https://forum.kirupa.com/t/update-not-working/257893)

<div class="topic-metadata">

**Author:** [@Zaxza](https://forum.kirupa.com/u/Zaxza)\
**Replies:** 0\
**Last updated:** [April 18, 2008, 1:28am UTC](https://forum.kirupa.com/t/update-not-working/257893 "2008-04-18T01:28:11Z")

</div>

hi im working on a site as a hobby http://zaxza.awardspace.com/seocial/status.php?id=1 at the moment the ajax works fine but im having problems with the php \<?php include("\[connection page\]"); if (isset($\_…

---

## [Dynamic Gallery won\`t display once uploaded on FTP](https://forum.kirupa.com/t/dynamic-gallery-won-t-display-once-uploaded-on-ftp/257888)

<div class="topic-metadata">

**Author:** [@mattperr](https://forum.kirupa.com/u/mattperr)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 11:22pm UTC](https://forum.kirupa.com/t/dynamic-gallery-won-t-display-once-uploaded-on-ftp/257888 "2008-04-17T23:22:00Z")

</div>

Hi, I builded this dynamic gallery page that display the pictures using an UI Loader component. When I test the movie in Flash the gallery loads and displays the external picture with no problems. However, once the html …

---

## [My drop-down menu closes in when rolling over buttons - pls help!](https://forum.kirupa.com/t/my-drop-down-menu-closes-in-when-rolling-over-buttons-pls-help/257883)

<div class="topic-metadata">

**Author:** [@Captain\_Ahab](https://forum.kirupa.com/u/Captain_Ahab)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 10:36pm UTC](https://forum.kirupa.com/t/my-drop-down-menu-closes-in-when-rolling-over-buttons-pls-help/257883 "2008-04-17T22:36:10Z")

</div>

Hello Everyone! I'm trying to create a horizontal drop-down (well, sliding in actually) menu bar that expands to stage when rolling over it, and collapsing in when rolling-out. Problem is, when I roll-over one of the b…

---

## [Buttons quit working on IE and Firefox](https://forum.kirupa.com/t/buttons-quit-working-on-ie-and-firefox/257882)

<div class="topic-metadata">

**Author:** [@pengie](https://forum.kirupa.com/u/pengie)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 10:27pm UTC](https://forum.kirupa.com/t/buttons-quit-working-on-ie-and-firefox/257882 "2008-04-17T22:27:34Z")

</div>

Ok, so I designed this website like 2 years ago for my friends band. http://www.theoutline.net Everything works and looks great on firefox and safari on a mac. No problems. Then you look at it on a pc in firefox or…

---

## [Hidden Text Positioning Problem](https://forum.kirupa.com/t/hidden-text-positioning-problem/257878)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 9:58pm UTC](https://forum.kirupa.com/t/hidden-text-positioning-problem/257878 "2008-04-17T21:58:26Z")

</div>

I have 3 "Step" buttons on this page that reveal hidden text: http://www.tornedgedesign.com/\_test/kirupa/ I want to be able to display the text in exactly the same spot to the right of the button stack. Trouble is, s…

---

## [OO videoPlayer](https://forum.kirupa.com/t/oo-videoplayer/257875)

<div class="topic-metadata">

**Author:** [@cullenshea](https://forum.kirupa.com/u/cullenshea)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 9:19pm UTC](https://forum.kirupa.com/t/oo-videoplayer/257875 "2008-04-17T21:19:25Z")

</div>

I'm trying to make an OO video player, but I can't seem to make the NetConnection work when it's in a class. What am I doing wrong? class videoPlayerAS.Nc { // CONSTRUCTOR // ----------------------------------------…

---

## [Starfield is in front - urgent](https://forum.kirupa.com/t/starfield-is-in-front-urgent/257870)

<div class="topic-metadata">

**Author:** [@zerdec](https://forum.kirupa.com/u/zerdec)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 8:20pm UTC](https://forum.kirupa.com/t/starfield-is-in-front-urgent/257870 "2008-04-17T20:20:54Z")

</div>

Hy Could u please help me? My starfiels is in front of everything. What i need to change so that it is behin everything. please help thx

---

## [Start SWF from the End](https://forum.kirupa.com/t/start-swf-from-the-end/257866)

<div class="topic-metadata">

**Author:** [@moogprodigy](https://forum.kirupa.com/u/moogprodigy)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 7:31pm UTC](https://forum.kirupa.com/t/start-swf-from-the-end/257866 "2008-04-17T19:31:45Z")

</div>

Hey all, I want to be able to start a flash file at the last frame. From what I've gathered, I have to use the external API and use javascript to communcate to the flash file from the browser. I've tried to read the f…

---

## [\[CS3, AS2\] Error in code - something's not right!](https://forum.kirupa.com/t/cs3-as2-error-in-code-somethings-not-right/257865)

<div class="topic-metadata">

**Author:** [@Unconscious](https://forum.kirupa.com/u/Unconscious)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 7:06pm UTC](https://forum.kirupa.com/t/cs3-as2-error-in-code-somethings-not-right/257865 "2008-04-17T19:06:52Z")

</div>

I've trying to make a site that relies complete on external files - although I'm having trouble getting my HTML to show. The text is imported, but the text is completely transparent - I'm not too sure what the problem …

---

## [Bitmap Font Engine](https://forum.kirupa.com/t/bitmap-font-engine/257860)

<div class="topic-metadata">

**Author:** [@endemoniada](https://forum.kirupa.com/u/endemoniada)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 6:32pm UTC](https://forum.kirupa.com/t/bitmap-font-engine/257860 "2008-04-17T18:32:06Z")

</div>

Hi guys, Has anyone tried making a simple engine where font characters are stored in a BitmapData object and text is displayed by blitting (copyPixels) quads for each individual character ? I am thinking of doing tha…

---

## [\[Flash CS3, AS2, XML\] Nav Problem](https://forum.kirupa.com/t/flash-cs3-as2-xml-nav-problem/257859)

<div class="topic-metadata">

**Author:** [@qumani](https://forum.kirupa.com/u/qumani)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 6:28pm UTC](https://forum.kirupa.com/t/flash-cs3-as2-xml-nav-problem/257859 "2008-04-17T18:28:03Z")

</div>

I have a problem that I am trying to fix and need a little help. I have built my navigation in flash, all the button names are loaded by XML. The problem that I have is that I cannot script the buttons via XML to control…

---

## [\[Flash CS3, AS2, XML\] Navigation Issue](https://forum.kirupa.com/t/flash-cs3-as2-xml-navigation-issue/257858)

<div class="topic-metadata">

**Author:** [@qumani](https://forum.kirupa.com/u/qumani)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 6:26pm UTC](https://forum.kirupa.com/t/flash-cs3-as2-xml-navigation-issue/257858 "2008-04-17T18:26:13Z")

</div>

I have a problem that I am trying to fix and need a little help. I have built my navigation in flash, all the button names are loaded by XML. The problem that I have is that I cannot script the buttons via XML to control…

---

## [Using Booleans](https://forum.kirupa.com/t/using-booleans/257857)

<div class="topic-metadata">

**Author:** [@thegrrraue](https://forum.kirupa.com/u/thegrrraue)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 5:51pm UTC](https://forum.kirupa.com/t/using-booleans/257857 "2008-04-17T17:51:14Z")

</div>

So I'm setting up a page in which the user is picking some options, and one of the options we're using a boolean on, as it's a yes or no question, seems to make sense. The boolean needs to make a variable that says true …

---

## [First flash game, feedback please](https://forum.kirupa.com/t/first-flash-game-feedback-please/257855)

<div class="topic-metadata">

**Author:** [@justkevin](https://forum.kirupa.com/u/justkevin)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 5:35pm UTC](https://forum.kirupa.com/t/first-flash-game-feedback-please/257855 "2008-04-17T17:35:40Z")

</div>

My first Flash game in now in a fully playable state (minus sound) and I would appreciate any feedback: http://lab.wx3.com/defender/ Screenshot: \[image\] I wrote it as an exercise to learn ActionScript/Flash, and …

---

## [Growing Scrollbars help](https://forum.kirupa.com/t/growing-scrollbars-help/257854)

<div class="topic-metadata">

**Author:** [@souled](https://forum.kirupa.com/u/souled)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 5:20pm UTC](https://forum.kirupa.com/t/growing-scrollbars-help/257854 "2008-04-17T17:20:17Z")

</div>

So I'm using the brilliant custom scrollbar tutorial on Kirupa, and I'm struggling on adapting it when the content's height changes. Basically whenever the scrollbar's height changes I use the function \*\*scrolling\*\*\*\*…

---

## [Need to repeat a function to escape the cookie I think](https://forum.kirupa.com/t/need-to-repeat-a-function-to-escape-the-cookie-i-think/257849)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 5:01pm UTC](https://forum.kirupa.com/t/need-to-repeat-a-function-to-escape-the-cookie-i-think/257849 "2008-04-17T17:01:00Z")

</div>

I have a nonuser initiated show hide using jquery that also swaps images between blank, close & replay depending on the state of a div called slidebar. I have a cookie that caps this slide at once per 24 hrs. However my …

---

## [Passing Arguments in addEventListener](https://forum.kirupa.com/t/passing-arguments-in-addeventlistener/257848)

<div class="topic-metadata">

**Author:** [@Nym](https://forum.kirupa.com/u/Nym)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 4:50pm UTC](https://forum.kirupa.com/t/passing-arguments-in-addeventlistener/257848 "2008-04-17T16:50:21Z")

</div>

Hi Guys! It's been a while since I posted here but here I am again with a basic question. I just recently caved in and promised myself never to use AS 2.0 again and force my brain to get in line with the new AS 3.0. …

---

## [Kirupa's Photo Slideshow Using XML and Flash](https://forum.kirupa.com/t/kirupas-photo-slideshow-using-xml-and-flash/257845)

<div class="topic-metadata">

**Author:** [@Miatalh](https://forum.kirupa.com/u/Miatalh)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 4:41pm UTC](https://forum.kirupa.com/t/kirupas-photo-slideshow-using-xml-and-flash/257845 "2008-04-17T16:41:49Z")

</div>

Hi, I am trying to figure out the easiest way to add kirupa's Photo Slideshow Using XML and Flash file to my flash site. I tried to copy and paste the frames from his to my flash and it doesn't work, meaning the images…

---

## [Photo Gallery Using XML and Flash CrossFade](https://forum.kirupa.com/t/photo-gallery-using-xml-and-flash-crossfade/257843)

<div class="topic-metadata">

**Author:** [@robbyd](https://forum.kirupa.com/u/robbyd)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 4:29pm UTC](https://forum.kirupa.com/t/photo-gallery-using-xml-and-flash-crossfade/257843 "2008-04-17T16:29:05Z")

</div>

Hi all, I recently completed the \[COLOR=Black\]\[FONT=Verdana\]Photo Gallery\[/FONT\]\[/COLOR\] \[FONT=Verdana\] \[COLOR=Black\] Using XML and Flash tutorial and was wondering how I would modify nextImag…

---

## [Possible to Jump to certain point in a scrolling div?](https://forum.kirupa.com/t/possible-to-jump-to-certain-point-in-a-scrolling-div/257834)

<div class="topic-metadata">

**Author:** [@mikedkap](https://forum.kirupa.com/u/mikedkap)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 3:28pm UTC](https://forum.kirupa.com/t/possible-to-jump-to-certain-point-in-a-scrolling-div/257834 "2008-04-17T15:28:34Z")

</div>

Does anyone know if its possible to use an html link from a prior page to jump to a certain point in a long, scrolling div on a new page? Thanks!

---

## [Actionscript 2.0 to 3.0, small bit of code (sorry!)](https://forum.kirupa.com/t/actionscript-2-0-to-3-0-small-bit-of-code-sorry/257828)

<div class="topic-metadata">

**Author:** [@Frey](https://forum.kirupa.com/u/Frey)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 2:44pm UTC](https://forum.kirupa.com/t/actionscript-2-0-to-3-0-small-bit-of-code-sorry/257828 "2008-04-17T14:44:13Z")

</div>

Hi all, I recently found out how to scroll using 2.0, but want to have it in 3.0. I'm utterly confused as to how to convert this part (imagesMC is the instance name of the thing I want to scroll/move: onClipEvent (ent…

---

## [Flex - Custom List Renderer Question](https://forum.kirupa.com/t/flex-custom-list-renderer-question/257827)

<div class="topic-metadata">

**Author:** [@dewey](https://forum.kirupa.com/u/dewey)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 2:39pm UTC](https://forum.kirupa.com/t/flex-custom-list-renderer-question/257827 "2008-04-17T14:39:40Z")

</div>

Hey Everyone, I know my AS3 pretty well and I've been getting into Flex a bit here lately but I am totally stumped as to how the heck this works... I have a custom component... \<?xml version="1.0" encoding="utf-8"?\> …

---

## [Bees -How (overview) Is this Done?](https://forum.kirupa.com/t/bees-how-overview-is-this-done/257826)

<div class="topic-metadata">

**Author:** [@Rustyd](https://forum.kirupa.com/u/Rustyd)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 2:37pm UTC](https://forum.kirupa.com/t/bees-how-overview-is-this-done/257826 "2008-04-17T14:37:51Z")

</div>

I've seen a few sites like this http://www.helpthehoneybees.com/index.php?id=81b58cbb9a773e827d8170fd1edfe85a where you create your own, in this case, Bee then Compose a message and send it. I've also seen the exact sa…

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

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