# programming

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

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

**Page:** 830

---

## [Expanding A SWF Object By Its Left Side](https://forum.kirupa.com/t/expanding-a-swf-object-by-its-left-side/287573)

<div class="topic-metadata">

**Author:** [@ariel\_mirahy](https://forum.kirupa.com/u/ariel_mirahy)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 10:15pm UTC](https://forum.kirupa.com/t/expanding-a-swf-object-by-its-left-side/287573 "2009-05-03T22:15:56Z")

</div>

I want to expand my SWF to the 100% of my window, but always sticked to the left, for example: www.visionstreetwear.com Note that the SWF's size will always be as the size of your window, but also note that when you …

---

## [Expandidng SWF To A Special Way](https://forum.kirupa.com/t/expandidng-swf-to-a-special-way/287572)

<div class="topic-metadata">

**Author:** [@ariel\_mirahy](https://forum.kirupa.com/u/ariel_mirahy)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 9:56pm UTC](https://forum.kirupa.com/t/expandidng-swf-to-a-special-way/287572 "2009-05-03T21:56:41Z")

</div>

I want to expand my SWF to the 100% of my window, but always sticked to the left, for example: www.visionstreetwear.com Note that the SWF's size will always be as the size of your window, but also note that when you …

---

## [Stopping a 'wait x seconds' action](https://forum.kirupa.com/t/stopping-a-wait-x-seconds-action/287570)

<div class="topic-metadata">

**Author:** [@sjames](https://forum.kirupa.com/u/sjames)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 9:20pm UTC](https://forum.kirupa.com/t/stopping-a-wait-x-seconds-action/287570 "2009-05-03T21:20:53Z")

</div>

Hello! At the first frame in my movie, I have a movieclip that has the below actionscript to make it continually fade between the latest news images (just plays, then I have a 'stop' on the next frame, and the same wai…

---

## [MP3 player. can someone help me to make it shuffle?](https://forum.kirupa.com/t/mp3-player-can-someone-help-me-to-make-it-shuffle/287569)

<div class="topic-metadata">

**Author:** [@indiannetizen](https://forum.kirupa.com/u/indiannetizen)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 9:19pm UTC](https://forum.kirupa.com/t/mp3-player-can-someone-help-me-to-make-it-shuffle/287569 "2009-05-03T21:19:30Z")

</div>

I have a mp3 player source code and i made it work with play, pause, next and previous buttons including volume controller. now i need to add shuffle also to it. can someone help me? here is the code. or else someon…

---

## [Tweener Button Array](https://forum.kirupa.com/t/tweener-button-array/287568)

<div class="topic-metadata">

**Author:** [@Tyg3r](https://forum.kirupa.com/u/Tyg3r)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 9:18pm UTC](https://forum.kirupa.com/t/tweener-button-array/287568 "2009-05-03T21:18:59Z")

</div>

Hi there, I've had this issue from quite some time now, and I hope there is a simple solution. Lets assume I have 5 buttons, and 5 movieClips. When the user performs a MOUSE\_OVER event on "btn1" the equivalent "mc1" …

---

## [Paypal Gallery on stock photo site](https://forum.kirupa.com/t/paypal-gallery-on-stock-photo-site/287567)

<div class="topic-metadata">

**Author:** [@hermtheworm](https://forum.kirupa.com/u/hermtheworm)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 9:01pm UTC](https://forum.kirupa.com/t/paypal-gallery-on-stock-photo-site/287567 "2009-05-03T21:01:11Z")

</div>

hey

---

## [Access of undefined property problem](https://forum.kirupa.com/t/access-of-undefined-property-problem/287566)

<div class="topic-metadata">

**Author:** [@neas](https://forum.kirupa.com/u/neas)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 8:49pm UTC](https://forum.kirupa.com/t/access-of-undefined-property-problem/287566 "2009-05-03T20:49:37Z")

</div>

I keep getting an error with his script that uses amf to write to a db, in a seperate fla it works perfect, but when I import it to my project I get this error. The error 1120: Access of undefined property insertBeer\_R…

---

## [Can I register a custom transcoder for mimeType="text/css"?](https://forum.kirupa.com/t/can-i-register-a-custom-transcoder-for-mimetype-text-css/287565)

<div class="topic-metadata">

**Author:** [@wvxvw](https://forum.kirupa.com/u/wvxvw)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 8:18pm UTC](https://forum.kirupa.com/t/can-i-register-a-custom-transcoder-for-mimetype-text-css/287565 "2009-05-03T20:18:40Z")

</div>

Well, that's basically the question. I want to write a class that will be used as transcoder for this type of \[Embed\]. The compiler recognizes this type of files, though, it tells it has no transcoder for it. So... I was…

---

## ["this" somehow means another mc](https://forum.kirupa.com/t/this-somehow-means-another-mc/287564)

<div class="topic-metadata">

**Author:** [@Goth\_Santa](https://forum.kirupa.com/u/Goth_Santa)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 7:33pm UTC](https://forum.kirupa.com/t/this-somehow-means-another-mc/287564 "2009-05-03T19:33:04Z")

</div>

This is a bizarre one, and it's driving me nuts. I have 4 movie clips that are items in a menu. It's a typical set up, frame 1 within the mc is its default state, then it's got a roll-over animation, a roll-out animat…

---

## [Undo hiding of frames (PLEASE HURRY)](https://forum.kirupa.com/t/undo-hiding-of-frames-please-hurry/287563)

<div class="topic-metadata">

**Author:** [@Tyilo](https://forum.kirupa.com/u/Tyilo)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 7:16pm UTC](https://forum.kirupa.com/t/undo-hiding-of-frames-please-hurry/287563 "2009-05-03T19:16:50Z")

</div>

I somehow hided the frames: \[image\] How du i undo that?

---

## [My questions](https://forum.kirupa.com/t/my-questions/287562)

<div class="topic-metadata">

**Author:** [@Gadu](https://forum.kirupa.com/u/Gadu)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 7:12pm UTC](https://forum.kirupa.com/t/my-questions/287562 "2009-05-03T19:12:35Z")

</div>

Hello, 1. Can flash rpg game to create "server" with PHP and MySQL? Assuming Registered PHP i MySQL to register and send to the registered poto accaunt connection to the Flash client zaidimo rpg join. When connected to …

---

## [Connecting to a MySQL Database using PHP and Actionscript 3 in Flash](https://forum.kirupa.com/t/connecting-to-a-mysql-database-using-php-and-actionscript-3-in-flash/287561)

<div class="topic-metadata">

**Author:** [@gale](https://forum.kirupa.com/u/gale)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 6:12pm UTC](https://forum.kirupa.com/t/connecting-to-a-mysql-database-using-php-and-actionscript-3-in-flash/287561 "2009-05-03T18:12:44Z")

</div>

Hello all, I am trying to connect to a MySQL database using PHP in Flash CS3 using Actionscript 3. I have written the PHP file and some AS3 code and it displays the information but for some reason it also displays th…

---

## [Using PHP to update an XML document](https://forum.kirupa.com/t/using-php-to-update-an-xml-document/287560)

<div class="topic-metadata">

**Author:** [@scazy\_lumbag](https://forum.kirupa.com/u/scazy_lumbag)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 5:11pm UTC](https://forum.kirupa.com/t/using-php-to-update-an-xml-document/287560 "2009-05-03T17:11:03Z")

</div>

Hello, I realise there is another thread for this, but it is slightly different to what I have here I thought it would be best to start fresh. I am attempting to create a xml document for a flash music player, which …

---

## [Controlling movie clip](https://forum.kirupa.com/t/controlling-movie-clip/287552)

<div class="topic-metadata">

**Author:** [@Toots](https://forum.kirupa.com/u/Toots)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 3:10pm UTC](https://forum.kirupa.com/t/controlling-movie-clip/287552 "2009-05-03T15:10:36Z")

</div>

Hi all, This is the first time i have ever posted on a forum, so here it goes. For my final year project i am creating a flash website. For one of the sections I have created a job centre page which reads RSS feed into…

---

## [Button on a Movieclip question](https://forum.kirupa.com/t/button-on-a-movieclip-question/287550)

<div class="topic-metadata">

**Author:** [@juniorspecial](https://forum.kirupa.com/u/juniorspecial)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 2:40pm UTC](https://forum.kirupa.com/t/button-on-a-movieclip-question/287550 "2009-05-03T14:40:00Z")

</div>

Let's say MovieClipA is 100px x 100px. When I rollover MovieClipA, it makes MovieClipB go to .alpha = 10. When I rollOut MovieClipA, MovieClipB goes back to .alpha = 100. This is working as I want it. Now, when I put …

---

## [Embedding a swf float over the webpage](https://forum.kirupa.com/t/embedding-a-swf-float-over-the-webpage/287547)

<div class="topic-metadata">

**Author:** [@Matt\_da\_best](https://forum.kirupa.com/u/Matt_da_best)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 1:30pm UTC](https://forum.kirupa.com/t/embedding-a-swf-float-over-the-webpage/287547 "2009-05-03T13:30:13Z")

</div>

I have been looking round the web trying to find a way of Embedding a swf floating over the webpage but just cant find anything about it. An example of what I am talking about would be: www.widgetbox.com where if you …

---

## [Centering Pop-Up Window](https://forum.kirupa.com/t/centering-pop-up-window/287546)

<div class="topic-metadata">

**Author:** [@Jbudraitis](https://forum.kirupa.com/u/Jbudraitis)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 12:50pm UTC](https://forum.kirupa.com/t/centering-pop-up-window/287546 "2009-05-03T12:50:57Z")

</div>

I read the tutiorial and downloaded the the FLA file (CPOPOP) for Centering a Pop-Up window. I was unable to get either the download or my script to work. When you click on the button, it goes out to the site and display…

---

## [Heaps](https://forum.kirupa.com/t/heaps/287541)

<div class="topic-metadata">

**Author:** [@Gooo](https://forum.kirupa.com/u/Gooo)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 10:26am UTC](https://forum.kirupa.com/t/heaps/287541 "2009-05-03T10:26:00Z")

</div>

Hi I’m trying to print a 4-heap This is my code: public AnyType printH(AnyType t, int depth) { if (t != null) { for( int i = 1; i \< depth; i++ ) Syst…

---

## [Preloading images from GD in AS3](https://forum.kirupa.com/t/preloading-images-from-gd-in-as3/287540)

<div class="topic-metadata">

**Author:** [@bfaubion](https://forum.kirupa.com/u/bfaubion)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 8:31am UTC](https://forum.kirupa.com/t/preloading-images-from-gd-in-as3/287540 "2009-05-03T08:31:48Z")

</div>

Hi All, i recently wrote a simple image resize script with php and GD2. I want to use it to load thumbs into flash from the original images.. its working great, but on my preloader.. (ProgressEvent.PROGRESS) i do my mat…

---

## [HELP gotoAndPlay in AS2](https://forum.kirupa.com/t/help-gotoandplay-in-as2/287538)

<div class="topic-metadata">

**Author:** [@kaeayo](https://forum.kirupa.com/u/kaeayo)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 6:01am UTC](https://forum.kirupa.com/t/help-gotoandplay-in-as2/287538 "2009-05-03T06:01:40Z")

</div>

Good day to all. I am developing a 3d interactive map in AS2 using CS3. My problem is this: I have several scenes. The scene1 has a movieclip "map". Inside this movie there are several frame labels, buttons, movie c…

---

## [Movie image in opposite direction](https://forum.kirupa.com/t/movie-image-in-opposite-direction/287534)

<div class="topic-metadata">

**Author:** [@waverider303](https://forum.kirupa.com/u/waverider303)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 2:50am UTC](https://forum.kirupa.com/t/movie-image-in-opposite-direction/287534 "2009-05-03T02:50:36Z")

</div>

Does anyone know the algorithm used in this image panner http://flashden.net/item/image-viewer/8883 How to move the image in the opposite direction of mouse.

---

## [Where should I start?](https://forum.kirupa.com/t/where-should-i-start/287533)

<div class="topic-metadata">

**Author:** [@Mavor](https://forum.kirupa.com/u/Mavor)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 2:36am UTC](https://forum.kirupa.com/t/where-should-i-start/287533 "2009-05-03T02:36:25Z")

</div>

Hello everyone. I am looking for information on where I should start towards learning to program game/other AI. I want to spend my time learning how to program AI, leaning heavily towards virtual agents (something tha…

---

## [Duplicate function help](https://forum.kirupa.com/t/duplicate-function-help/287531)

<div class="topic-metadata">

**Author:** [@neas](https://forum.kirupa.com/u/neas)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 2:00am UTC](https://forum.kirupa.com/t/duplicate-function-help/287531 "2009-05-03T02:00:07Z")

</div>

Im getting the duplicate function error and I cant seem to get around it. On one frame. stop(); var myServiceUser = new NetConnection(); myServiceUser.connect("http://localhost.com/amfphp/gateway.php"); var responde…

---

## [Figuring out the width of a part of a movieclip](https://forum.kirupa.com/t/figuring-out-the-width-of-a-part-of-a-movieclip/287530)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 1:35am UTC](https://forum.kirupa.com/t/figuring-out-the-width-of-a-part-of-a-movieclip/287530 "2009-05-03T01:35:04Z")

</div>

Hi, I have a movieclip which is positioned on the stage at (300,100) . And I have the width of the movieclip itself. But how do i find out the width of a movieclip from the registration point to one of the edges? H…

---

## [Stage - no\_scale](https://forum.kirupa.com/t/stage-no-scale/287529)

<div class="topic-metadata">

**Author:** [@xPINKMERCEDESx](https://forum.kirupa.com/u/xPINKMERCEDESx)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 1:04am UTC](https://forum.kirupa.com/t/stage-no-scale/287529 "2009-05-03T01:04:54Z")

</div>

Hello flashers... I'm trying to prevent my stage from scaling when my site is viewed on a large monitor. In the Publish settings and on the html tab, my dimensions are set to 100 percent for the width and height. Now…

---

## [Connect the Dots with Line attached to mouse](https://forum.kirupa.com/t/connect-the-dots-with-line-attached-to-mouse/287526)

<div class="topic-metadata">

**Author:** [@stickaforkinit](https://forum.kirupa.com/u/stickaforkinit)\
**Replies:** 0\
**Last updated:** [May 2, 2009, 11:45pm UTC](https://forum.kirupa.com/t/connect-the-dots-with-line-attached-to-mouse/287526 "2009-05-02T23:45:11Z")

</div>

So, I have a simple connect the dots game working by drawing lines. The line is drawn when clicking the right dot. However I want to be able to let the user be able to see the line and the line moves to any dot but on…

---

## [Loading multiple swf's into one mc](https://forum.kirupa.com/t/loading-multiple-swfs-into-one-mc/287525)

<div class="topic-metadata">

**Author:** [@waverider303](https://forum.kirupa.com/u/waverider303)\
**Replies:** 0\
**Last updated:** [May 2, 2009, 11:12pm UTC](https://forum.kirupa.com/t/loading-multiple-swfs-into-one-mc/287525 "2009-05-02T23:12:51Z")

</div>

I have a main movie and a movieclip that will load different swfs into it. I am wondering how to handle something like this. I want it to load when I click a button then if i click another button unload the one thats the…

---

## [Flash 10 3d Textfield bug?](https://forum.kirupa.com/t/flash-10-3d-textfield-bug/287524)

<div class="topic-metadata">

**Author:** [@traden1976](https://forum.kirupa.com/u/traden1976)\
**Replies:** 0\
**Last updated:** [May 2, 2009, 10:53pm UTC](https://forum.kirupa.com/t/flash-10-3d-textfield-bug/287524 "2009-05-02T22:53:17Z")

</div>

I have a Sprite called list, it contains 16 textfields. what im trying to do is simulate a scrollrect by constently swaping textfields. eg(when a textfield's y hits a certain number, it gets placed back to 0) The reaso…

---

## [Validation script not working in Firefox](https://forum.kirupa.com/t/validation-script-not-working-in-firefox/287523)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [May 2, 2009, 10:22pm UTC](https://forum.kirupa.com/t/validation-script-not-working-in-firefox/287523 "2009-05-02T22:22:45Z")

</div>

I am finding that my JS validation script isn't working in Firefox (but does in IE) since I changed the field names to begin with a letter. Anyone know why? I have form fields that look like this: \<input type="text"…

---

## [setPixel transparent](https://forum.kirupa.com/t/setpixel-transparent/287522)

<div class="topic-metadata">

**Author:** [@gregmax](https://forum.kirupa.com/u/gregmax)\
**Replies:** 0\
**Last updated:** [May 2, 2009, 10:04pm UTC](https://forum.kirupa.com/t/setpixel-transparent/287522 "2009-05-02T22:04:33Z")

</div>

I am trying to use the bitmapData.setPixels method to set certain pixels in the bitmap transparent. But no matter what I do, it always seems to set the pixel(s) black (non-transparent). Here is my code: \[AS\] bmpd = n…

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

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