# programming

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

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

**Page:** 1060

---

## [XXTEA for php?](https://forum.kirupa.com/t/xxtea-for-php/272212)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 11:29pm UTC](https://forum.kirupa.com/t/xxtea-for-php/272212 "2008-10-02T23:29:13Z")

</div>

hi, Does anyone know if there's a XXTEA class/file/function for php? XTea is the extended corrected version of TEA right? It's more safer.. but it's a bit slower.. However I've heard that .. XXTea is the even safer..…

---

## [Need help with as3 + mysql](https://forum.kirupa.com/t/need-help-with-as3-mysql/272201)

<div class="topic-metadata">

**Author:** [@White\_wizard](https://forum.kirupa.com/u/White_wizard)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 7:47pm UTC](https://forum.kirupa.com/t/need-help-with-as3-mysql/272201 "2008-10-02T19:47:22Z")

</div>

Hi. I've a huge trouble with as3 and mysql connection. I'm making a really simple multiplayer card game where you need to fight with your card against other player card. But anyways I need mysql database for the game…

---

## [.swf file won't publish to server](https://forum.kirupa.com/t/swf-file-wont-publish-to-server/272180)

<div class="topic-metadata">

**Author:** [@chrisvwebb](https://forum.kirupa.com/u/chrisvwebb)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 5:18pm UTC](https://forum.kirupa.com/t/swf-file-wont-publish-to-server/272180 "2008-10-02T17:18:22Z")

</div>

I've been using dreamweaver and flash for some time now and I've not run into this problem yet. but... for some reason when I import a .swf file into an html page and I push it to the server, everything shows except the …

---

## [loadClip() not recieving query string parameters](https://forum.kirupa.com/t/loadclip-not-recieving-query-string-parameters/272175)

<div class="topic-metadata">

**Author:** [@mmarklow](https://forum.kirupa.com/u/mmarklow)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 4:09pm UTC](https://forum.kirupa.com/t/loadclip-not-recieving-query-string-parameters/272175 "2008-10-02T16:09:05Z")

</div>

I'm currently trying to figure out a way for a user to select their own variety of SWF files from a list for customization. This data is saved in a database and when the SWF is loaded it grabs an XML page which tells the…

---

## [Dynamically resize swf based on XML images](https://forum.kirupa.com/t/dynamically-resize-swf-based-on-xml-images/272174)

<div class="topic-metadata">

**Author:** [@dshaban](https://forum.kirupa.com/u/dshaban)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 4:02pm UTC](https://forum.kirupa.com/t/dynamically-resize-swf-based-on-xml-images/272174 "2008-10-02T16:02:03Z")

</div>

Hi all, This may of been posted somewhere and sometime before but I couldn't find anything in my brief search. I'm looking to load images/files from XML into basically what would be a photo gallery. And have the dime…

---

## [New to Flash - need assistance](https://forum.kirupa.com/t/new-to-flash-need-assistance/272169)

<div class="topic-metadata">

**Author:** [@goia](https://forum.kirupa.com/u/goia)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 3:47pm UTC](https://forum.kirupa.com/t/new-to-flash-need-assistance/272169 "2008-10-02T15:47:14Z")

</div>

I'm new to Flash and needed some guidance. I wanted to create video loops with Flash. What programs can I use to create images similar to this website: http://www.flashloaded.com/videoloops/videopack19/ hope some one c…

---

## [\[CS3 AS2\] Button Switch IF stament for video player](https://forum.kirupa.com/t/cs3-as2-button-switch-if-stament-for-video-player/272167)

<div class="topic-metadata">

**Author:** [@sdbdogwood](https://forum.kirupa.com/u/sdbdogwood)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 3:40pm UTC](https://forum.kirupa.com/t/cs3-as2-button-switch-if-stament-for-video-player/272167 "2008-10-02T15:40:49Z")

</div>

I am working on a video player that will have different Languages. The problem that i am have is that i can get the video to switch but i cant get the video to switch back. I have uploaded the file and here is the code t…

---

## [Import image into a MC using XML](https://forum.kirupa.com/t/import-image-into-a-mc-using-xml/272166)

<div class="topic-metadata">

**Author:** [@josephc](https://forum.kirupa.com/u/josephc)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 3:37pm UTC](https://forum.kirupa.com/t/import-image-into-a-mc-using-xml/272166 "2008-10-02T15:37:03Z")

</div>

fixed

---

## [IE6 users get everything shifted upwards 30-50px](https://forum.kirupa.com/t/ie6-users-get-everything-shifted-upwards-30-50px/272164)

<div class="topic-metadata">

**Author:** [@creativeFuzion](https://forum.kirupa.com/u/creativeFuzion)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 3:32pm UTC](https://forum.kirupa.com/t/ie6-users-get-everything-shifted-upwards-30-50px/272164 "2008-10-02T15:32:29Z")

</div>

I cannot, for the life of me, figure this one out. If you open this in IE6, the navigation is hidden by the main content and I cannot get the CSS to position it correctly. \[image\] http://www.fadedelement.com/ The…

---

## [Movie Clip or Button](https://forum.kirupa.com/t/movie-clip-or-button/272163)

<div class="topic-metadata">

**Author:** [@RGS](https://forum.kirupa.com/u/RGS)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 3:30pm UTC](https://forum.kirupa.com/t/movie-clip-or-button/272163 "2008-10-02T15:30:12Z")

</div>

Anyone know how to make a movie clip or a button stay a certain color after it has been clicked on. Then change back to its original color once another button has been clicked. Any help will be helpful ASAP. Thank you. …

---

## [Why loading an XML needs a crossdomain file while playing a video even don't need one](https://forum.kirupa.com/t/why-loading-an-xml-needs-a-crossdomain-file-while-playing-a-video-even-dont-need-one/272159)

<div class="topic-metadata">

**Author:** [@zhangxiaorui](https://forum.kirupa.com/u/zhangxiaorui)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 3:03pm UTC](https://forum.kirupa.com/t/why-loading-an-xml-needs-a-crossdomain-file-while-playing-a-video-even-dont-need-one/272159 "2008-10-02T15:03:43Z")

</div>

any further explanation on the crossdomain set?

---

## [Racing Simulator](https://forum.kirupa.com/t/racing-simulator/272155)

<div class="topic-metadata">

**Author:** [@PastItAll](https://forum.kirupa.com/u/PastItAll)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 2:40pm UTC](https://forum.kirupa.com/t/racing-simulator/272155 "2008-10-02T14:40:48Z")

</div>

I'm trying to create a racing simulator. I want to make the objects (six) move across the screen at random a random pace. Any suggestions? P.S. I'm a noob.

---

## [Error accessing images from XML](https://forum.kirupa.com/t/error-accessing-images-from-xml/272154)

<div class="topic-metadata">

**Author:** [@Rundevo](https://forum.kirupa.com/u/Rundevo)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 2:39pm UTC](https://forum.kirupa.com/t/error-accessing-images-from-xml/272154 "2008-10-02T14:39:44Z")

</div>

for (var n:int = 0; n \< images.length(); n++) { if (images\[n\].attribute("source") == event.target.name) { var thumbList = images.@source\[n\].parent().parent().image.@thumb; thumbLoader = new Loader(); …

---

## [Access stage from class](https://forum.kirupa.com/t/access-stage-from-class/272151)

<div class="topic-metadata">

**Author:** [@adw999](https://forum.kirupa.com/u/adw999)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 2:09pm UTC](https://forum.kirupa.com/t/access-stage-from-class/272151 "2008-10-02T14:09:50Z")

</div>

Hi I have a package, with classes, functions etc. Basically i need to tell some movieclips on the stage to be visible etc but using this.MyMCName obviously doesn't work. How do i reference movieclips from within a clas…

---

## [Pause/Resume Timeline Sounds](https://forum.kirupa.com/t/pause-resume-timeline-sounds/272150)

<div class="topic-metadata">

**Author:** [@NRutman](https://forum.kirupa.com/u/NRutman)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 1:45pm UTC](https://forum.kirupa.com/t/pause-resume-timeline-sounds/272150 "2008-10-02T13:45:36Z")

</div>

Hello, I'm trying to pause and resume sounds my movie. I came across this helpful write-up for pausing/resuming via Sound objects. My question is whether it is possible to pause/resume sounds associated with keyfram…

---

## [Brand New Apple Iphone 3g Unlocked For Sale At$300usd](https://forum.kirupa.com/t/brand-new-apple-iphone-3g-unlocked-for-sale-at-300usd/272149)

<div class="topic-metadata">

**Author:** [@apple001](https://forum.kirupa.com/u/apple001)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 1:42pm UTC](https://forum.kirupa.com/t/brand-new-apple-iphone-3g-unlocked-for-sale-at-300usd/272149 "2008-10-02T13:42:30Z")

</div>

BRAND NEW APPLE IPHONE 3G UNLOCKED WITH COMPLETE ACCESSORIES NEVER USED,WELL SEALED FROM THE MANUFACTURER,SIM FREE WITH 1 YEAR INTERNATIONAL WARRANTY. UNIT PRICE:: 300USD SHIPPING TYPE:: FEDEX EXPRESS AND UPS EXPRESS …

---

## [Child MCs in Buttons](https://forum.kirupa.com/t/child-mcs-in-buttons/272148)

<div class="topic-metadata">

**Author:** [@NRutman](https://forum.kirupa.com/u/NRutman)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 1:39pm UTC](https://forum.kirupa.com/t/child-mcs-in-buttons/272148 "2008-10-02T13:39:57Z")

</div>

Hello. I'm building a play/pause button for my movie, and here's how I have it setup: \[LIST=1\] \[\*\]The main button object is playPause\_btn \[\*\]The first layer of the button has a movie clip with the pause graphic, named…

---

## [Image upload, but not resizes!](https://forum.kirupa.com/t/image-upload-but-not-resizes/272137)

<div class="topic-metadata">

**Author:** [@Valerij](https://forum.kirupa.com/u/Valerij)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 12:04pm UTC](https://forum.kirupa.com/t/image-upload-but-not-resizes/272137 "2008-10-02T12:04:36Z")

</div>

Hi, I have an image upload functions, it basicly works, but it does not resizes! It just uploads the original image, while I want it to upload the resized image, and delete the big one. Heres my code: session\_star…

---

## [Transition on all iterations of a loader?](https://forum.kirupa.com/t/transition-on-all-iterations-of-a-loader/272136)

<div class="topic-metadata">

**Author:** [@Rundevo](https://forum.kirupa.com/u/Rundevo)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 12:00pm UTC](https://forum.kirupa.com/t/transition-on-all-iterations-of-a-loader/272136 "2008-10-02T12:00:41Z")

</div>

Hey guys! Can´t seem to get a transition to work on all my loader instances, it only works on the last one! for (var i:int=0; i \< imagesToLoad; i++) { startLoader=new Loader(); startLoader.contentLoaderInfo.add…

---

## [Problem With Extra Space Below Image in IE7](https://forum.kirupa.com/t/problem-with-extra-space-below-image-in-ie7/272134)

<div class="topic-metadata">

**Author:** [@BigDukeyDog](https://forum.kirupa.com/u/BigDukeyDog)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 11:54am UTC](https://forum.kirupa.com/t/problem-with-extra-space-below-image-in-ie7/272134 "2008-10-02T11:54:37Z")

</div>

Hi guys, I have an image at the bottom of each of the two vertical divs on my page. For some reason it is displaying a space below it. When I change the display to block, the space below still remains. When I place the…

---

## [Flash \> ASP/PHP \> database.mdb](https://forum.kirupa.com/t/flash-asp-php-database-mdb/272126)

<div class="topic-metadata">

**Author:** [@dye\_123](https://forum.kirupa.com/u/dye_123)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 8:03am UTC](https://forum.kirupa.com/t/flash-asp-php-database-mdb/272126 "2008-10-02T08:03:30Z")

</div>

greetings everyone, i have downloaded the tutorial about the \[COLOR=#003366\]Flash\[FONT=Verdana\] Forms and Database Integration.\[/FONT\]\[/COLOR\] http://www.kirupa.com/developer/actionscript/forms\_database.htm but …

---

## [Papervision 3D problems](https://forum.kirupa.com/t/papervision-3d-problems/272120)

<div class="topic-metadata">

**Author:** [@blackcoma](https://forum.kirupa.com/u/blackcoma)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 5:59am UTC](https://forum.kirupa.com/t/papervision-3d-problems/272120 "2008-10-02T05:59:20Z")

</div>

I've decided to start working with Papervision 3D, I've followed all the instructions in the Getting Started FAQ: http://wiki.papervision3d.org/index.php?title=Getting\_Started\_FAQ Thing is... I keep getting all kinds…

---

## [htmlText with image inside it](https://forum.kirupa.com/t/htmltext-with-image-inside-it/272119)

<div class="topic-metadata">

**Author:** [@smeared](https://forum.kirupa.com/u/smeared)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 5:49am UTC](https://forum.kirupa.com/t/htmltext-with-image-inside-it/272119 "2008-10-02T05:49:42Z")

</div>

so yeah.. I'm loading in htmlText from an external doc.. and everything is fine and dandy.. it loads in with pictures fine.. but... if I use the scroll down (custom scroller), the pictures disappear instantly. I'm sure t…

---

## [SWF file playing ahead of the preloader](https://forum.kirupa.com/t/swf-file-playing-ahead-of-the-preloader/272116)

<div class="topic-metadata">

**Author:** [@SFuller79](https://forum.kirupa.com/u/SFuller79)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 5:29am UTC](https://forum.kirupa.com/t/swf-file-playing-ahead-of-the-preloader/272116 "2008-10-02T05:29:27Z")

</div>

Hello, I have a preloader which is loading an swf file. It seems to function fine, but the swf movie starts playing about 4 seconds before the preloader has finished loading. The site address is here: www.cashkernelonl…

---

## [Easing Formula for Dynamic TextField](https://forum.kirupa.com/t/easing-formula-for-dynamic-textfield/272115)

<div class="topic-metadata">

**Author:** [@zanemx](https://forum.kirupa.com/u/zanemx)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 5:03am UTC](https://forum.kirupa.com/t/easing-formula-for-dynamic-textfield/272115 "2008-10-02T05:03:54Z")

</div>

Hi guys I'm looking for a slick formula for easing a dynamic text field. If works fine for a text field placed on the main time line. Doesn't matter what size the scrollbar is it still scrolls the loaded text top to bott…

---

## [AS2 and AS3 conflicts with Code and Components](https://forum.kirupa.com/t/as2-and-as3-conflicts-with-code-and-components/272104)

<div class="topic-metadata">

**Author:** [@niero](https://forum.kirupa.com/u/niero)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 2:17am UTC](https://forum.kirupa.com/t/as2-and-as3-conflicts-with-code-and-components/272104 "2008-10-02T02:17:51Z")

</div>

Hey guys here is the problem I have a website that I initially started developing with Flash 8, a couple of months ago I finally got enough cash to get my hands on CS3. Whoo I thought to myself AS3 and I can finally te…

---

## [Load swf and call parent method](https://forum.kirupa.com/t/load-swf-and-call-parent-method/272099)

<div class="topic-metadata">

**Author:** [@jokoa](https://forum.kirupa.com/u/jokoa)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 12:42am UTC](https://forum.kirupa.com/t/load-swf-and-call-parent-method/272099 "2008-10-02T00:42:04Z")

</div>

Hello everyone, I have a problem and i don't know how to do. My situation is(see picture): I have a main swf(main menu), it will load 4 swf files (sub menu) by var loader:Loader=new Loader(); and load the swf to the…

---

## [Getting and using the instance name of an object](https://forum.kirupa.com/t/getting-and-using-the-instance-name-of-an-object/272095)

<div class="topic-metadata">

**Author:** [@Brent\_Summers](https://forum.kirupa.com/u/Brent_Summers)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 12:23am UTC](https://forum.kirupa.com/t/getting-and-using-the-instance-name-of-an-object/272095 "2008-10-02T00:23:02Z")

</div>

I am trying to create an easy to extend button class that takes the instance name of the movie clip that was clicked and uses that instance name to tell flash where to go. The problem is that whenever I try to get the in…

---

## [Adding text from XML using for loop](https://forum.kirupa.com/t/adding-text-from-xml-using-for-loop/272091)

<div class="topic-metadata">

**Author:** [@Rundevo](https://forum.kirupa.com/u/Rundevo)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 11:01pm UTC](https://forum.kirupa.com/t/adding-text-from-xml-using-for-loop/272091 "2008-10-01T23:01:10Z")

</div>

Can´t seem to add all the \<name\>gallery name \</name\> that I have in my XML. I only end up adding the one with the last iteration of \[l\]. Obviously I´m doing something wrong, and I´m not that good with for loops, so I´m…

---

## [Getting current image / total images in XML](https://forum.kirupa.com/t/getting-current-image-total-images-in-xml/272090)

<div class="topic-metadata">

**Author:** [@Rundevo](https://forum.kirupa.com/u/Rundevo)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 10:53pm UTC](https://forum.kirupa.com/t/getting-current-image-total-images-in-xml/272090 "2008-10-01T22:53:32Z")

</div>

Having abit of a struggle here to get the current image in the XMLList that my mouse is rolling over! My XML looks like this with afew more item tags. \<items\> \<item\> \<name\>a name\</name\> \<image source="http://ww…

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

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