# programming

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

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

**Page:** 1631

---

## [AS2 Class Delegate problem](https://forum.kirupa.com/t/as2-class-delegate-problem/232273)

<div class="topic-metadata">

**Author:** [@liquidFusion](https://forum.kirupa.com/u/liquidFusion)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 9:33am UTC](https://forum.kirupa.com/t/as2-class-delegate-problem/232273 "2007-07-12T09:33:29Z")

</div>

Hi good people of Kirupa! I'm writing a very simple class, which is meant to affect the movieClip "ball\_mc". All I want it to do is to randomize its (ball\_mc) properties (.alpha, .x, .\_y etc). import mx.utils.Delega…

---

## [\[Q\] Difference between XML, XMLList and XMLDocument?](https://forum.kirupa.com/t/q-difference-between-xml-xmllist-and-xmldocument/232272)

<div class="topic-metadata">

**Author:** [@manfree](https://forum.kirupa.com/u/manfree)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 8:33am UTC](https://forum.kirupa.com/t/q-difference-between-xml-xmllist-and-xmldocument/232272 "2007-07-12T08:33:07Z")

</div>

Hi all Could any body explain .. what is the difference between XML, XMLList, and XMLDocument var theList:XML = new XML(theXML.data); As the above syntax can retrieve the XML data, why we still have to use XMLList …

---

## [Problem to parse XML from ma.gnolia API](https://forum.kirupa.com/t/problem-to-parse-xml-from-ma-gnolia-api/232271)

<div class="topic-metadata">

**Author:** [@ozskry](https://forum.kirupa.com/u/ozskry)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 8:30am UTC](https://forum.kirupa.com/t/problem-to-parse-xml-from-ma-gnolia-api/232271 "2007-07-12T08:30:51Z")

</div>

Hello, Based on this tutorial from KIRUPA, I'm currently trying to write an XML parser to parse an XML file created by the ma.gnolia API because I want to put the different values in a MySQL database. Here is an exam…

---

## [PHP - preg\_replace](https://forum.kirupa.com/t/php-preg-replace/232268)

<div class="topic-metadata">

**Author:** [@sceneshift](https://forum.kirupa.com/u/sceneshift)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 8:03am UTC](https://forum.kirupa.com/t/php-preg-replace/232268 "2007-07-12T08:03:40Z")

</div>

Hi Forums, Ok, so I have a string made up of html like so: \<div style="blahblah"\>%1\</div\>\<div\>%2\</div\> And I am using php to strip the tags, explode the string in order to leave just %1 and %2. Now I am using pre…

---

## [Legacy Problem - Radio Buttons (AS1)](https://forum.kirupa.com/t/legacy-problem-radio-buttons-as1/232267)

<div class="topic-metadata">

**Author:** [@GeoffR](https://forum.kirupa.com/u/GeoffR)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 7:39am UTC](https://forum.kirupa.com/t/legacy-problem-radio-buttons-as1/232267 "2007-07-12T07:39:51Z")

</div>

A few years ago I built a Flash learning application that used the UI Radio Button component. I have just been asked to make some changes. Now I am using Flash Pro CS3, and when I output the edited Flash, the Radio Bu…

---

## [JPEG to AS3 bitmap drawing](https://forum.kirupa.com/t/jpeg-to-as3-bitmap-drawing/232263)

<div class="topic-metadata">

**Author:** [@efnx](https://forum.kirupa.com/u/efnx)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 7:17am UTC](https://forum.kirupa.com/t/jpeg-to-as3-bitmap-drawing/232263 "2007-07-12T07:17:43Z")

</div>

I wrote a little php script that takes a jpg or png off the web generates code for AS3's drawing api to fully reproduce the picture as a class .as file. I'm not sure of it's usefulness because it might be quicker to down…

---

## [Checking if a File Exists](https://forum.kirupa.com/t/checking-if-a-file-exists/232262)

<div class="topic-metadata">

**Author:** [@ChromeDemon](https://forum.kirupa.com/u/ChromeDemon)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 7:09am UTC](https://forum.kirupa.com/t/checking-if-a-file-exists/232262 "2007-07-12T07:09:28Z")

</div>

Just a short question ... How would you check if a file on a server exists and if not, check XX Times l8er again til ya find it and then go ahead with the script ... any suggestions??? thanx in advance

---

## [onEnterFrame issue](https://forum.kirupa.com/t/onenterframe-issue/232256)

<div class="topic-metadata">

**Author:** [@rynobot](https://forum.kirupa.com/u/rynobot)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 6:32am UTC](https://forum.kirupa.com/t/onenterframe-issue/232256 "2007-07-12T06:32:44Z")

</div>

hey - using the following code i am trying to get a movieclip to reposition itself prior to loading an image. Then once the new image is loaded - the other movieclip will reposition itself. Currently, the functions are…

---

## [Editing a photo-gallery created in Photoshop CS2](https://forum.kirupa.com/t/editing-a-photo-gallery-created-in-photoshop-cs2/232255)

<div class="topic-metadata">

**Author:** [@sdpkelkar](https://forum.kirupa.com/u/sdpkelkar)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 5:58am UTC](https://forum.kirupa.com/t/editing-a-photo-gallery-created-in-photoshop-cs2/232255 "2007-07-12T05:58:23Z")

</div>

hi all! I've created a photo-gallery for a web site using the default gallery options in Photoshop CS2. It can be visited at http://test.triaum.com/flas/Gallery/index.html After going through the numerous folders crea…

---

## [Random letter Cycle](https://forum.kirupa.com/t/random-letter-cycle/232254)

<div class="topic-metadata">

**Author:** [@james182](https://forum.kirupa.com/u/james182)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 5:54am UTC](https://forum.kirupa.com/t/random-letter-cycle/232254 "2007-07-12T05:54:37Z")

</div>

any knows how this is done: the random letters change in the nav: http://www.sksantos.com/

---

## [Navigation type](https://forum.kirupa.com/t/navigation-type/232253)

<div class="topic-metadata">

**Author:** [@james182](https://forum.kirupa.com/u/james182)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 5:37am UTC](https://forum.kirupa.com/t/navigation-type/232253 "2007-07-12T05:37:53Z")

</div>

PHP or Flash not to sure.... I am wondering how this type of navigation is done. in flash you click on a button and get this: http://2advanced.com/#portfolio/bydate/2007 - and - http://www.drawingart.org/#/our\_projec…

---

## [Padding Alignment Issues](https://forum.kirupa.com/t/padding-alignment-issues/232250)

<div class="topic-metadata">

**Author:** [@Defused](https://forum.kirupa.com/u/Defused)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 5:17am UTC](https://forum.kirupa.com/t/padding-alignment-issues/232250 "2007-07-12T05:17:47Z")

</div>

Link: www.defused.us Css: http://defused.us/css/style.css Having issues with my padding alignment I believe. I was referred to the forums by a friend, been to the site before. Thanks.

---

## [Custom php.ini files](https://forum.kirupa.com/t/custom-php-ini-files/232249)

<div class="topic-metadata">

**Author:** [@theHollow](https://forum.kirupa.com/u/theHollow)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 5:14am UTC](https://forum.kirupa.com/t/custom-php-ini-files/232249 "2007-07-12T05:14:00Z")

</div>

I was told by technical support at my hosting service how to use a custom php.ini file with .htaccess, which I am. But I'd just like to know if I only have to put in the values I want changed, rather than using an entire…

---

## [Looking for a flash menu indicator tutorial](https://forum.kirupa.com/t/looking-for-a-flash-menu-indicator-tutorial/232247)

<div class="topic-metadata">

**Author:** [@zwemg](https://forum.kirupa.com/u/zwemg)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 4:58am UTC](https://forum.kirupa.com/t/looking-for-a-flash-menu-indicator-tutorial/232247 "2007-07-12T04:58:02Z")

</div>

I'm looking for a tutorial that shows you how to create a menu indicator from an mc. Basically when you click a menu button I want an mc of a box to tween with easing to that button as an indicator as to what section t…

---

## [loadVariables issues](https://forum.kirupa.com/t/loadvariables-issues/232246)

<div class="topic-metadata">

**Author:** [@BetaWar](https://forum.kirupa.com/u/BetaWar)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 4:56am UTC](https://forum.kirupa.com/t/loadvariables-issues/232246 "2007-07-12T04:56:47Z")

</div>

I need a way to send variables from javascript to flash, then have flash load variables from php to so that the flash can use the variables to output the correct data. I have found ways to supposedly send variables to fl…

---

## [New Connection Error!@#$%?](https://forum.kirupa.com/t/new-connection-error/232244)

<div class="topic-metadata">

**Author:** [@taurus5\_6](https://forum.kirupa.com/u/taurus5_6)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 3:57am UTC](https://forum.kirupa.com/t/new-connection-error/232244 "2007-07-12T03:57:40Z")

</div>

My site has been working pretty well during the past years. Then suddenly the following message just occured. What's wrong? Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)....on lin…

---

## [Full Page Flash Repositioning Issues](https://forum.kirupa.com/t/full-page-flash-repositioning-issues/232243)

<div class="topic-metadata">

**Author:** [@shedmore](https://forum.kirupa.com/u/shedmore)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 3:54am UTC](https://forum.kirupa.com/t/full-page-flash-repositioning-issues/232243 "2007-07-12T03:54:43Z")

</div>

\[COLOR=black\]\[FONT=Arial\]Project Using Flash 8\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Arial\]AS2\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Arial\]SWFObject\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Arial\]Hello everyone...I have an issue wher…

---

## [Flash Header reloads on all pages... Help Please!](https://forum.kirupa.com/t/flash-header-reloads-on-all-pages-help-please/232241)

<div class="topic-metadata">

**Author:** [@jay\_em](https://forum.kirupa.com/u/jay_em)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 2:58am UTC](https://forum.kirupa.com/t/flash-header-reloads-on-all-pages-help-please/232241 "2007-07-12T02:58:22Z")

</div>

http://www.jmkm.com/ps\_site The answer is probably simple, but I only want the animation to play on the home page link. Thanks, -JM:h:

---

## [Flash CS3 lags on Intel Mac](https://forum.kirupa.com/t/flash-cs3-lags-on-intel-mac/232239)

<div class="topic-metadata">

**Author:** [@gordonf238](https://forum.kirupa.com/u/gordonf238)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 2:34am UTC](https://forum.kirupa.com/t/flash-cs3-lags-on-intel-mac/232239 "2007-07-12T02:34:07Z")

</div>

I have waited FOREVER for a Universal Binary version of Flash to be finally released. Now that I've finally got it, its performance is less than stellar. I'm running it on a 2.16Ghz Intel Core Duo and 2GB RAM, and ther…

---

## [Help! "The interface or class could not be loaded"](https://forum.kirupa.com/t/help-the-interface-or-class-could-not-be-loaded/232238)

<div class="topic-metadata">

**Author:** [@dOoBiX](https://forum.kirupa.com/u/dOoBiX)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 2:30am UTC](https://forum.kirupa.com/t/help-the-interface-or-class-could-not-be-loaded/232238 "2007-07-12T02:30:48Z")

</div>

I’m trying to edit this slideshow thing… But I can’t compile it! It keeps having these 3 errors: The class or interface ‘slideShow’ could not be loaded. var slideShow1=new slideShow(this); The class or interface ‘s…

---

## [Can't center -\_-](https://forum.kirupa.com/t/cant-center--/232237)

<div class="topic-metadata">

**Author:** [@Qued](https://forum.kirupa.com/u/Qued)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 2:23am UTC](https://forum.kirupa.com/t/cant-center--/232237 "2007-07-12T02:23:23Z")

</div>

So here is the site I'm making: http://www.notintheface.biz/solarpillars The content is not exactly centred. I have the left margin set to be 25% how do I actually center this completely? \[CSS\] body { backgrou…

---

## [Would like to animate a julia fractal?](https://forum.kirupa.com/t/would-like-to-animate-a-julia-fractal/232235)

<div class="topic-metadata">

**Author:** [@DavidOrtiz](https://forum.kirupa.com/u/DavidOrtiz)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 2:15am UTC](https://forum.kirupa.com/t/would-like-to-animate-a-julia-fractal/232235 "2007-07-12T02:15:56Z")

</div>

hey guys, can anyone point me in the right direction or possibly help me do the precalculations/animation for it?

---

## [How would I code this?](https://forum.kirupa.com/t/how-would-i-code-this/232230)

<div class="topic-metadata">

**Author:** [@Zenster](https://forum.kirupa.com/u/Zenster)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 1:24am UTC](https://forum.kirupa.com/t/how-would-i-code-this/232230 "2007-07-12T01:24:08Z")

</div>

Thanks for any replies, all help is welcome! Alright, so I got most of my layout done in Photoshop, now I'm going to bring it into Flash... So, after the little animation ends you will start out with this: \[image\] T…

---

## [Movieclip acting as button not quite working](https://forum.kirupa.com/t/movieclip-acting-as-button-not-quite-working/232228)

<div class="topic-metadata">

**Author:** [@cyan](https://forum.kirupa.com/u/cyan)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 1:00am UTC](https://forum.kirupa.com/t/movieclip-acting-as-button-not-quite-working/232228 "2007-07-12T01:00:39Z")

</div>

Hi all, I'm trying to make a movieclip act as a button (I've done this before and it works for the most part) My problem this time is that the movieclip is simply a piece of text, and light text at that, so when I rollo…

---

## [Help figuring out this turning effect!](https://forum.kirupa.com/t/help-figuring-out-this-turning-effect/232225)

<div class="topic-metadata">

**Author:** [@the\_koriner](https://forum.kirupa.com/u/the_koriner)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 12:20am UTC](https://forum.kirupa.com/t/help-figuring-out-this-turning-effect/232225 "2007-07-12T00:20:27Z")

</div>

Hey all Been checking out this site: http://www.havefunoutthere.com/ and I'm trying to figure out how they have done the image turning effect. (click on a photo, then click More Info). Any ideas would be appreciated.…

---

## [removeMovieClip with loop](https://forum.kirupa.com/t/removemovieclip-with-loop/232224)

<div class="topic-metadata">

**Author:** [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Replies:** 0\
**Last updated:** [July 11, 2007, 11:59pm UTC](https://forum.kirupa.com/t/removemovieclip-with-loop/232224 "2007-07-11T23:59:07Z")

</div>

What am I doing wrong? for(var obj in \_root.circles3\_mc){ trace(this.circles3\_mc\[obj\]); removeMovieClip(this.circles3\_mc\[obj\]); }

---

## [Flash newline in variable text file](https://forum.kirupa.com/t/flash-newline-in-variable-text-file/232223)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [July 11, 2007, 11:54pm UTC](https://forum.kirupa.com/t/flash-newline-in-variable-text-file/232223 "2007-07-11T23:54:14Z")

</div>

I am loading information into flash MX via a text file that presents variables like: &myVar=a bunch of text but when I put one blank line between text, it shows up as two in flash, and putting text one line below oth…

---

## [How to target an .as file from another .as](https://forum.kirupa.com/t/how-to-target-an-as-file-from-another-as/232216)

<div class="topic-metadata">

**Author:** [@arcadiabc](https://forum.kirupa.com/u/arcadiabc)\
**Replies:** 0\
**Last updated:** [July 11, 2007, 10:51pm UTC](https://forum.kirupa.com/t/how-to-target-an-as-file-from-another-as/232216 "2007-07-11T22:51:31Z")

</div>

Hello, I was wondering If some one can help in teaching me how to target a function in one .as file from another .as file. For example. Lets say that in as1.as I have a function: //---------as1.as Func…

---

## [XML + flash photo gallery tutorial - help](https://forum.kirupa.com/t/xml-flash-photo-gallery-tutorial-help/232215)

<div class="topic-metadata">

**Author:** [@nycpicasso](https://forum.kirupa.com/u/nycpicasso)\
**Replies:** 0\
**Last updated:** [July 11, 2007, 10:51pm UTC](https://forum.kirupa.com/t/xml-flash-photo-gallery-tutorial-help/232215 "2007-07-11T22:51:14Z")

</div>

Can someone tell me how I can correct the size of my thumbnails and larger images pls. I have attached the fla file and the flash player file in this zip file. I've got everything else working but I am not sure what scri…

---

## [Panorama (360)](https://forum.kirupa.com/t/panorama-360/232214)

<div class="topic-metadata">

**Author:** [@chroma](https://forum.kirupa.com/u/chroma)\
**Replies:** 0\
**Last updated:** [July 11, 2007, 10:51pm UTC](https://forum.kirupa.com/t/panorama-360/232214 "2007-07-11T22:51:07Z")

</div>

Hey all! I've got two questions. 1) I've heard rumours about Flash CS3 and it's compability to make 360 showings. Is this true? I work with architectural renderings from CAD -\> Artlantis. When I render a panorama (…

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

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