# programming

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

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

**Page:** 1272

---

## [Fetch Myspace Music Player via Friend ID](https://forum.kirupa.com/t/fetch-myspace-music-player-via-friend-id/258096)

<div class="topic-metadata">

**Author:** [@iNeed\_Help](https://forum.kirupa.com/u/iNeed_Help)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 9:45pm UTC](https://forum.kirupa.com/t/fetch-myspace-music-player-via-friend-id/258096 "2008-04-20T21:45:47Z")

</div>

Imagine u have a form, u type a friend id in the textfield and submit the form, then the page reloads with the artist's myspace music player on it. Possible?

---

## [\[F8\] reading hyperlinks from XML](https://forum.kirupa.com/t/f8-reading-hyperlinks-from-xml/258095)

<div class="topic-metadata">

**Author:** [@cristi\_b\_1](https://forum.kirupa.com/u/cristi_b_1)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 9:40pm UTC](https://forum.kirupa.com/t/f8-reading-hyperlinks-from-xml/258095 "2008-04-20T21:40:14Z")

</div>

Hi everybody. I finished a tutorial from kirupa, on how o make a flash and xml gallery. I've noticed that the .zip I downloaded does not have the script used to read the links from the XML. And in the tutorial this infor…

---

## [Manipulating pre-concieved keyframes with AS3](https://forum.kirupa.com/t/manipulating-pre-concieved-keyframes-with-as3/258093)

<div class="topic-metadata">

**Author:** [@briman](https://forum.kirupa.com/u/briman)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 9:16pm UTC](https://forum.kirupa.com/t/manipulating-pre-concieved-keyframes-with-as3/258093 "2008-04-20T21:16:06Z")

</div>

Hello- I was wondering if anybody has tried to do this- Lets say I have an animation of 5 keyframes that has already been executed the old fashioned way, by hand. So, can write some actionscript that will allow me to sc…

---

## [Help looping button](https://forum.kirupa.com/t/help-looping-button/258092)

<div class="topic-metadata">

**Author:** [@jayoh](https://forum.kirupa.com/u/jayoh)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 9:10pm UTC](https://forum.kirupa.com/t/help-looping-button/258092 "2008-04-20T21:10:18Z")

</div>

Hi. I am using flash 8. I cannot get my head around this! I have a simple message-board, that dynamically loads text from php and a text file! I have created an up and down button to scroll the text box when you …

---

## [Carousel icons load bug fix help needed](https://forum.kirupa.com/t/carousel-icons-load-bug-fix-help-needed/258091)

<div class="topic-metadata">

**Author:** [@nnnswordfish](https://forum.kirupa.com/u/nnnswordfish)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 8:39pm UTC](https://forum.kirupa.com/t/carousel-icons-load-bug-fix-help-needed/258091 "2008-04-20T20:39:38Z")

</div>

hi everyone here is my problem with carousel. scott\_euser helps me to modify my carousel,i wanted when all icons will be loaded then to show them and it works fine but it has one bug some icons doesnot show correctly h…

---

## [How can I attach mouse events to dynamically created movieclips?](https://forum.kirupa.com/t/how-can-i-attach-mouse-events-to-dynamically-created-movieclips/258090)

<div class="topic-metadata">

**Author:** [@tibberous](https://forum.kirupa.com/u/tibberous)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 8:27pm UTC](https://forum.kirupa.com/t/how-can-i-attach-mouse-events-to-dynamically-created-movieclips/258090 "2008-04-20T20:27:48Z")

</div>

This isn't working: function MOUSEUP(evt:MouseEvent):void { trace('=)'); } var test:MovieClip = new MovieClip(); test.graphics.beginFill(0xFF0000); test.graphics.drawRect(0, 0, 300, 300); test.addEventListener(M…

---

## [Astar AS3.0](https://forum.kirupa.com/t/astar-as3-0/258089)

<div class="topic-metadata">

**Author:** [@snoopyUK](https://forum.kirupa.com/u/snoopyUK)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 8:21pm UTC](https://forum.kirupa.com/t/astar-as3-0/258089 "2008-04-20T20:21:42Z")

</div>

Ive programed an AStar path finding algorithm in AS3.0 and Im pretty sure its getting the correct answer, but i can only get it to display the last 2 nodes of the correct Path. Is anyone here good with A Star algorithms?…

---

## [Tamarin is worth taking a look at!](https://forum.kirupa.com/t/tamarin-is-worth-taking-a-look-at/258086)

<div class="topic-metadata">

**Author:** [@Rezmason](https://forum.kirupa.com/u/Rezmason)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 7:42pm UTC](https://forum.kirupa.com/t/tamarin-is-worth-taking-a-look-at/258086 "2008-04-20T19:42:21Z")

</div>

Hey guys. When I heard about Sothink's AS3 decompiler, and how it costs eighty bucks, someone piped up, "You know, you can make a decompiler with the stuff in Tamarin." Which piqued my interest. Tamarin, if you're not …

---

## [Dynamic Movie Variable](https://forum.kirupa.com/t/dynamic-movie-variable/258083)

<div class="topic-metadata">

**Author:** [@eanimator](https://forum.kirupa.com/u/eanimator)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 7:03pm UTC](https://forum.kirupa.com/t/dynamic-movie-variable/258083 "2008-04-20T19:03:29Z")

</div>

Hello guys, I am very much new to this forum. This forum has helped me a lot in learning Flash AS 3.0. AS 2.0 Code subitem.id = 2; //dynamic movie clip variable subitem.onRelease = function (){ …

---

## [Adding Images to XML and displaying with PHP](https://forum.kirupa.com/t/adding-images-to-xml-and-displaying-with-php/258081)

<div class="topic-metadata">

**Author:** [@wispas](https://forum.kirupa.com/u/wispas)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 6:34pm UTC](https://forum.kirupa.com/t/adding-images-to-xml-and-displaying-with-php/258081 "2008-04-20T18:34:42Z")

</div>

After hours I finally managed to get this Simple XML working now. I now want to enchance and was wondering if anyone knows how to add image links to the XML and display it with PHP. XML File \<?xml version=“1.0” encodi…

---

## [For Loop As3 Question](https://forum.kirupa.com/t/for-loop-as3-question/258077)

<div class="topic-metadata">

**Author:** [@snoopyUK](https://forum.kirupa.com/u/snoopyUK)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 5:16pm UTC](https://forum.kirupa.com/t/for-loop-as3-question/258077 "2008-04-20T17:16:45Z")

</div>

Im making an astar path finding algorithm in AS3. In AS1.0 you could write a for loop using: for(var b in myArray) { ..... } Does anyone know how this can be done in AS3.0? It would be much appriciated! snoop…

---

## [Any way to stop the Flash movie AND the browser from scrolling?](https://forum.kirupa.com/t/any-way-to-stop-the-flash-movie-and-the-browser-from-scrolling/258076)

<div class="topic-metadata">

**Author:** [@tibberous](https://forum.kirupa.com/u/tibberous)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 4:48pm UTC](https://forum.kirupa.com/t/any-way-to-stop-the-flash-movie-and-the-browser-from-scrolling/258076 "2008-04-20T16:48:23Z")

</div>

When I use my scrolling wheel, both my Flash movie and the browser scrolls. Is there a way I can stop the browser from scrolling?

---

## [Scale text size to fix dynamic textbox?](https://forum.kirupa.com/t/scale-text-size-to-fix-dynamic-textbox/258072)

<div class="topic-metadata">

**Author:** [@steve\_b](https://forum.kirupa.com/u/steve_b)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 4:07pm UTC](https://forum.kirupa.com/t/scale-text-size-to-fix-dynamic-textbox/258072 "2008-04-20T16:07:51Z")

</div>

I have a text dynamic text box within a movie clip of a fixed size (its in a circle, i dont have much choice!). Im going to be feeding it text of different lengths. Is it possible to get flash to chose the textsize so…

---

## [Xml Php... Please Help!](https://forum.kirupa.com/t/xml-php-please-help/258071)

<div class="topic-metadata">

**Author:** [@wispas](https://forum.kirupa.com/u/wispas)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 4:03pm UTC](https://forum.kirupa.com/t/xml-php-please-help/258071 "2008-04-20T16:03:17Z")

</div>

I have followed the tutorial XML Parsing using PHP {Intermediate}: http://www.kirupa.com/web/xml\_php\_parse\_intermediate.htm and got it to work. However, with this example I only get a heading and description. I want to…

---

## [\[AS2, MX 2004\] How to purge all Shared Objects at once?](https://forum.kirupa.com/t/as2-mx-2004-how-to-purge-all-shared-objects-at-once/258070)

<div class="topic-metadata">

**Author:** [@Danneman](https://forum.kirupa.com/u/Danneman)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 3:46pm UTC](https://forum.kirupa.com/t/as2-mx-2004-how-to-purge-all-shared-objects-at-once/258070 "2008-04-20T15:46:33Z")

</div>

Ive got a project with thousands of automatically generated and individually named Shared Objects. How do I delete all these Shared Objects at once, preferably without having to delete Shared Objects that are being use…

---

## [Lots of tutorials on the web use timeline](https://forum.kirupa.com/t/lots-of-tutorials-on-the-web-use-timeline/258065)

<div class="topic-metadata">

**Author:** [@BeechyBoy](https://forum.kirupa.com/u/BeechyBoy)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 2:40pm UTC](https://forum.kirupa.com/t/lots-of-tutorials-on-the-web-use-timeline/258065 "2008-04-20T14:40:53Z")

</div>

Lots of tutorials on the web use timeline based ActionScripting, but I want to turn lots of AS3 examples into Classes (packages) because this seems best practice if you wish to use the code over and over again. Rather t…

---

## [Library Linkage to an .as class](https://forum.kirupa.com/t/library-linkage-to-an-as-class/258062)

<div class="topic-metadata">

**Author:** [@nikomax](https://forum.kirupa.com/u/nikomax)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 1:36pm UTC](https://forum.kirupa.com/t/library-linkage-to-an-as-class/258062 "2008-04-20T13:36:29Z")

</div>

Hi there. I'm starting my first AS3 project and I'm trying to make a generic Pre-loader class which is the document class of my Pre-loader .fla. I have made my logo in CS3 and set the linkage class but I can't acces…

---

## [LoadVars() problem](https://forum.kirupa.com/t/loadvars-problem/258061)

<div class="topic-metadata">

**Author:** [@fw2803](https://forum.kirupa.com/u/fw2803)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 1:22pm UTC](https://forum.kirupa.com/t/loadvars-problem/258061 "2008-04-20T13:22:39Z")

</div>

Hi everyone My Graduation Dinner website continues giving me headache. Just some background information: I have created five "format sheets". They all lie at the background of the Flash website with \_visible switched…

---

## [duplicateMovieClip not a function](https://forum.kirupa.com/t/duplicatemovieclip-not-a-function/258057)

<div class="topic-metadata">

**Author:** [@ymaod](https://forum.kirupa.com/u/ymaod)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 12:45pm UTC](https://forum.kirupa.com/t/duplicatemovieclip-not-a-function/258057 "2008-04-20T12:45:40Z")

</div>

Hi, I'm creating a 5x5 matrix with 25 movieclips of w:22px h:22px. the first movieclip wich is called c1\_mc and is part of a movieclip called grid. I'm using following code to make the complete grid: var lineWidth…

---

## [Defining variables/actions in external movies](https://forum.kirupa.com/t/defining-variables-actions-in-external-movies/258056)

<div class="topic-metadata">

**Author:** [@setzer9999](https://forum.kirupa.com/u/setzer9999)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 12:29pm UTC](https://forum.kirupa.com/t/defining-variables-actions-in-external-movies/258056 "2008-04-20T12:29:30Z")

</div>

Hey everybody, I have a question about movies loaded to the main movie via loadMovieNum. I have a movie, called “index.swf”, another movie called “main.swf”, and another movie called “about.swf” On the only frame …

---

## [Loader componant - PNGs](https://forum.kirupa.com/t/loader-componant-pngs/258052)

<div class="topic-metadata">

**Author:** [@Unconscious](https://forum.kirupa.com/u/Unconscious)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 10:40am UTC](https://forum.kirupa.com/t/loader-componant-pngs/258052 "2008-04-20T10:40:59Z")

</div>

I need to important transparent pngs into my SWF, and have them clickable as buttons. Right now, I'm using JPGs with the loader component, but I'm aware this method does not work with PNGs. Any ideas?

---

## [Rortaing image to follow mouse cursor](https://forum.kirupa.com/t/rortaing-image-to-follow-mouse-cursor/258051)

<div class="topic-metadata">

**Author:** [@flufilms](https://forum.kirupa.com/u/flufilms)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 10:04am UTC](https://forum.kirupa.com/t/rortaing-image-to-follow-mouse-cursor/258051 "2008-04-20T10:04:17Z")

</div>

Hi guys. (Rotating) I have an arrow on the page that I would like to rotate accordingly and follow the mouse cursor. so as you move the cursor around the page the image rotates and the arrow is always pointing at the …

---

## [Calculating form help](https://forum.kirupa.com/t/calculating-form-help/258049)

<div class="topic-metadata">

**Author:** [@SlipStream](https://forum.kirupa.com/u/SlipStream)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 9:13am UTC](https://forum.kirupa.com/t/calculating-form-help/258049 "2008-04-20T09:13:22Z")

</div>

i saw this script on here, i was wondering can i add checkboxes and radio buttons with value on this and make it calulate? \<html\> \<head\> \<title\>You should give your pages titles!\</title\> \<script type="text/javascript"…

---

## [XML and Objects](https://forum.kirupa.com/t/xml-and-objects/258048)

<div class="topic-metadata">

**Author:** [@blinker\_dk](https://forum.kirupa.com/u/blinker_dk)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 8:57am UTC](https://forum.kirupa.com/t/xml-and-objects/258048 "2008-04-20T08:57:52Z")

</div>

Hello! As a part of a CMS I want to link certain Objects to each node in some XML that I load. Basicly here is the setup // Step 1 var clip:MovieClip = new MovieClip(); clip.name = "My Cli…

---

## [SWF randomly fails to load - doesn't throw ioError](https://forum.kirupa.com/t/swf-randomly-fails-to-load-doesnt-throw-ioerror/258046)

<div class="topic-metadata">

**Author:** [@tibberous](https://forum.kirupa.com/u/tibberous)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 8:30am UTC](https://forum.kirupa.com/t/swf-randomly-fails-to-load-doesnt-throw-ioerror/258046 "2008-04-20T08:30:24Z")

</div>

I have this class: public class LogoManager extends Sprite{ function LogoManager(x){ var loader:Loader = new Loader(); function loaded(evt:Event){ trace…

---

## [Best way to creat menu items](https://forum.kirupa.com/t/best-way-to-creat-menu-items/258045)

<div class="topic-metadata">

**Author:** [@tibberous](https://forum.kirupa.com/u/tibberous)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 8:25am UTC](https://forum.kirupa.com/t/best-way-to-creat-menu-items/258045 "2008-04-20T08:25:41Z")

</div>

Hello, I have a menu that is basically several text links. Should I create a class that extends MovieClip and have the constructor take a string and a click event function, then just create a bunch of them -- or is the…

---

## [Having trouble loading swf's into main movie](https://forum.kirupa.com/t/having-trouble-loading-swfs-into-main-movie/258043)

<div class="topic-metadata">

**Author:** [@tibberous](https://forum.kirupa.com/u/tibberous)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 6:43am UTC](https://forum.kirupa.com/t/having-trouble-loading-swfs-into-main-movie/258043 "2008-04-20T06:43:53Z")

</div>

I have a bunch of swf files that are supposed to be background animations for my movie. They look perfect at 640x480, but at any other dimensions, they look terrible. 640x480 is the size of the stage they were made on. …

---

## [How to reset the movie's stored Boolean values](https://forum.kirupa.com/t/how-to-reset-the-movies-stored-boolean-values/258041)

<div class="topic-metadata">

**Author:** [@setzer9999](https://forum.kirupa.com/u/setzer9999)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 5:42am UTC](https://forum.kirupa.com/t/how-to-reset-the-movies-stored-boolean-values/258041 "2008-04-20T05:42:28Z")

</div>

I learned how to use simple boolean values and define many of them in one movie as separate variables from jon\_bla and glosrfc. Thank you to those two again. I am missing one portion of the puzzle now in order to know h…

---

## [Event Listeners and Movie Clips stored in array](https://forum.kirupa.com/t/event-listeners-and-movie-clips-stored-in-array/258037)

<div class="topic-metadata">

**Author:** [@webmaster4u](https://forum.kirupa.com/u/webmaster4u)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 2:18am UTC](https://forum.kirupa.com/t/event-listeners-and-movie-clips-stored-in-array/258037 "2008-04-20T02:18:39Z")

</div>

I have about 20 clips generated randomly, and they are stored in an array. I create a for statement that cycles through the clips and adds random properties. To add event listeners to each clip that I cycle through, …

---

## [3d with Action Script 3](https://forum.kirupa.com/t/3d-with-action-script-3/258021)

<div class="topic-metadata">

**Author:** [@ogundogan](https://forum.kirupa.com/u/ogundogan)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 2:11am UTC](https://forum.kirupa.com/t/3d-with-action-script-3/258021 "2008-04-20T02:11:13Z")

</div>

Does anyone happen to know any pre-rendered or real time 3D flash site? www.indreamcity.com is the only site that I know as a good example. Please help. Thanks.

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

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