# programming

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

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

**Page:** 1136

---

## [Position dynamically loaded swf CS3](https://forum.kirupa.com/t/position-dynamically-loaded-swf-cs3/267085)

<div class="topic-metadata">

**Author:** [@nowarabx](https://forum.kirupa.com/u/nowarabx)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 3:58pm UTC](https://forum.kirupa.com/t/position-dynamically-loaded-swf-cs3/267085 "2008-07-28T15:58:10Z")

</div>

I am loading an external swf onto my stage using the following code: var imageRequest:URLRequest = new URLRequest("gallery1.swf"); var imageLoader:Loader = new Loader(); imageLoader.load(imageRequest); addChild(imageLo…

---

## [AS3 loading](https://forum.kirupa.com/t/as3-loading/267084)

<div class="topic-metadata">

**Author:** [@three\_suns](https://forum.kirupa.com/u/three_suns)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 3:53pm UTC](https://forum.kirupa.com/t/as3-loading/267084 "2008-07-28T15:53:49Z")

</div>

Greeting to all! I learning OOP in AS3 and came across something that has me bound! I am trying to load a external movieclip on to the stage from a movieclip. I am not getting any error but the file is not loading on…

---

## [Randomizing Kirupa's Photo Slideshow](https://forum.kirupa.com/t/randomizing-kirupas-photo-slideshow/267082)

<div class="topic-metadata">

**Author:** [@olqvd](https://forum.kirupa.com/u/olqvd)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 3:13pm UTC](https://forum.kirupa.com/t/randomizing-kirupas-photo-slideshow/267082 "2008-07-28T15:13:42Z")

</div>

Hello everyone! i have a question that might be very simple (i hope!) i am using the kirupa photo slideshow, which is exactly that i need except that i need for the images to be displayed in a random order. does anyo…

---

## [Paypal 'Shopping Cart' buttons in Flash](https://forum.kirupa.com/t/paypal-shopping-cart-buttons-in-flash/267080)

<div class="topic-metadata">

**Author:** [@wooden](https://forum.kirupa.com/u/wooden)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 3:11pm UTC](https://forum.kirupa.com/t/paypal-shopping-cart-buttons-in-flash/267080 "2008-07-28T15:11:54Z")

</div>

I'm in the process of putting together my first on-line store site for someone. I would like to use the PayPal Shopping Cart buttons as that seems a nice simple way of achieving this - for a beginner like myself. Howeve…

---

## [Html frame wont load if its 1px in width](https://forum.kirupa.com/t/html-frame-wont-load-if-its-1px-in-width/267077)

<div class="topic-metadata">

**Author:** [@dataxa](https://forum.kirupa.com/u/dataxa)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 2:18pm UTC](https://forum.kirupa.com/t/html-frame-wont-load-if-its-1px-in-width/267077 "2008-07-28T14:18:05Z")

</div>

I have frameset put up where one frame holds flash mp3 player and other webpage itself. \<html\> \<head\> \<title\>...\</title\> \<frameset cols="1,\*" border=0 frameborder=0 framespacing=0\> \<frame name="player" src="mp3…

---

## [ExternalInterface, swfObject 2, Firefox](https://forum.kirupa.com/t/externalinterface-swfobject-2-firefox/267076)

<div class="topic-metadata">

**Author:** [@ORNj](https://forum.kirupa.com/u/ORNj)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 2:15pm UTC](https://forum.kirupa.com/t/externalinterface-swfobject-2-firefox/267076 "2008-07-28T14:15:44Z")

</div>

Wierd bug I've been scratching my head over for days. I have 2 frames (gross I know, but ther was no other choice). One has my html content and one has my swf. Internet Explorer is able to find the function I registered …

---

## [Accessing Variables On External Swfs](https://forum.kirupa.com/t/accessing-variables-on-external-swfs/267073)

<div class="topic-metadata">

**Author:** [@nico](https://forum.kirupa.com/u/nico)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 1:02pm UTC](https://forum.kirupa.com/t/accessing-variables-on-external-swfs/267073 "2008-07-28T13:02:28Z")

</div>

hello as3 gurus! i need your help on this one. well, i loaded an external swf in as3, however, i noticed that i can only access the movieclips, methods and variables inside the Event.COMPLETE event of my loader instanc…

---

## [Silverlight](https://forum.kirupa.com/t/silverlight/267072)

<div class="topic-metadata">

**Author:** [@ASG](https://forum.kirupa.com/u/ASG)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 12:39pm UTC](https://forum.kirupa.com/t/silverlight/267072 "2008-07-28T12:39:39Z")

</div>

Hi, Anybody tried using silverlight on webparts?I am getting a blank webpart when i drag & drop the silverlight webpart.Any idea why it is so? Also tell me what are prerequestie to host a silverlight webpart onto a s…

---

## [Selecting list items problem](https://forum.kirupa.com/t/selecting-list-items-problem/267068)

<div class="topic-metadata">

**Author:** [@NeilH](https://forum.kirupa.com/u/NeilH)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 11:37am UTC](https://forum.kirupa.com/t/selecting-list-items-problem/267068 "2008-07-28T11:37:46Z")

</div>

I have a list, which has been populated fine. However, when I try to select the first or second list item, it skips to the last one in the list. You cannot select any other item, as it just skips straight to the last one…

---

## [Targeting instances](https://forum.kirupa.com/t/targeting-instances/267063)

<div class="topic-metadata">

**Author:** [@22celin\_b](https://forum.kirupa.com/u/22celin_b)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 9:59am UTC](https://forum.kirupa.com/t/targeting-instances/267063 "2008-07-28T09:59:06Z")

</div>

Hi there, I have a function that attaches a movie clip to the stage each time at a new level. myLevel++ attachMovie("myMovieClip", "instanceName"+myLevel, myLevel) } At the moment it works just fine but I want…

---

## [Create Dynamic XML - Flash communication (working)](https://forum.kirupa.com/t/create-dynamic-xml-flash-communication-working/267061)

<div class="topic-metadata">

**Author:** [@wootwoot](https://forum.kirupa.com/u/wootwoot)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 8:49am UTC](https://forum.kirupa.com/t/create-dynamic-xml-flash-communication-working/267061 "2008-07-28T08:49:02Z")

</div>

Hey everyone! Ever wanted flash to be able to load info from external files(such as xml) as soon as these files were updated? –updated–problem solved using Method 2 discussed below-- 31 July Two ways that i know how t…

---

## [How to convert Flash to avi, iPod, iPhone, DVD](https://forum.kirupa.com/t/how-to-convert-flash-to-avi-ipod-iphone-dvd/267060)

<div class="topic-metadata">

**Author:** [@swordm](https://forum.kirupa.com/u/swordm)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 8:46am UTC](https://forum.kirupa.com/t/how-to-convert-flash-to-avi-ipod-iphone-dvd/267060 "2008-07-28T08:46:46Z")

</div>

http://www.effectmatrix.com/swf2avi/index.htm download and install Magic Swf2Avi drag and drop Flash files into file list select output video formats, set profiles click ''Convert" button, start converting Professio…

---

## [Possible to check if a 0 byte file exists?](https://forum.kirupa.com/t/possible-to-check-if-a-0-byte-file-exists/267058)

<div class="topic-metadata">

**Author:** [@sonicdoomx](https://forum.kirupa.com/u/sonicdoomx)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 8:02am UTC](https://forum.kirupa.com/t/possible-to-check-if-a-0-byte-file-exists/267058 "2008-07-28T08:02:02Z")

</div>

I know it is possible to check if a file exists using loadVars(). But what if the file is a text file for eg "file.txt" without any data in it? Can I use actionscript to check if the file exists?

---

## [What's With The Error Message?](https://forum.kirupa.com/t/whats-with-the-error-message/267057)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 7:44am UTC](https://forum.kirupa.com/t/whats-with-the-error-message/267057 "2008-07-28T07:44:33Z")

</div>

I ran my console program and everything compiled correctly and everything is exactly how I want it to be. But after about three or four seconds of running the program, I get an error message saying that my program (Proj…

---

## [Silverlight: Vista-only compatable?](https://forum.kirupa.com/t/silverlight-vista-only-compatable/267056)

<div class="topic-metadata">

**Author:** [@rejoice489](https://forum.kirupa.com/u/rejoice489)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 7:07am UTC](https://forum.kirupa.com/t/silverlight-vista-only-compatable/267056 "2008-07-28T07:07:30Z")

</div>

When I tried to view the Microsoft Expression Blend project I made in Internet Explorer, it came up with an icon telling me to install Silverlight. I already have Silverlight 2 point whatever, but it won't give me a pre…

---

## [Loader.close() and Safari](https://forum.kirupa.com/t/loader-close-and-safari/267055)

<div class="topic-metadata">

**Author:** [@Stratboy](https://forum.kirupa.com/u/Stratboy)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 6:36am UTC](https://forum.kirupa.com/t/loader-close-and-safari/267055 "2008-07-28T06:36:52Z")

</div>

Hi! I've got a little problem: made a preloader class that features a stopLoadProcess() method that it simply calls Loader.close(). Well, it does work, but in Safari, after calling it, I have an error: Safari complains t…

---

## [Swfaddress And External Swf Tutorial](https://forum.kirupa.com/t/swfaddress-and-external-swf-tutorial/267053)

<div class="topic-metadata">

**Author:** [@snrecords](https://forum.kirupa.com/u/snrecords)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 4:55am UTC](https://forum.kirupa.com/t/swfaddress-and-external-swf-tutorial/267053 "2008-07-28T04:55:25Z")

</div>

Hi all ... new to the board here ... I'm trying to implement the SWFaddress actionscript 1.0 sample (comes with swfaddress download) and combine it with the external swf tutorial found on http://www.kirupa.com/develope…

---

## [How to get information from web service and return values](https://forum.kirupa.com/t/how-to-get-information-from-web-service-and-return-values/267049)

<div class="topic-metadata">

**Author:** [@kidyi](https://forum.kirupa.com/u/kidyi)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 3:18am UTC](https://forum.kirupa.com/t/how-to-get-information-from-web-service-and-return-values/267049 "2008-07-28T03:18:46Z")

</div>

I have a client and server (both in .NET 2, C#) scenario, where a swf file (written with Flash CS3/ActionScript3) is to be embedded in an ascx page in the client. The client itself can communicate with the server using…

---

## [Flex in Opera](https://forum.kirupa.com/t/flex-in-opera/267046)

<div class="topic-metadata">

**Author:** [@pips](https://forum.kirupa.com/u/pips)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 2:03am UTC](https://forum.kirupa.com/t/flex-in-opera/267046 "2008-07-28T02:03:16Z")

</div>

Hi! I made an app and strangely it doesn't load in Opera at all no matter what I do \[image\] Isn't a flex/Flash movie supposed to work identically across browsers? (same plugin) I never had any problems with Flash/Flex …

---

## [Moving along a line](https://forum.kirupa.com/t/moving-along-a-line/267045)

<div class="topic-metadata">

**Author:** [@yankeedoodles](https://forum.kirupa.com/u/yankeedoodles)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 1:59am UTC](https://forum.kirupa.com/t/moving-along-a-line/267045 "2008-07-28T01:59:38Z")

</div>

I would like to make a shooter which fires out of a canon at various points based on mouse click. So for now what i have done is I have a start point which is the mouth of the canon and the end point which is the place w…

---

## [{help} Text field write on](https://forum.kirupa.com/t/help-text-field-write-on/267044)

<div class="topic-metadata">

**Author:** [@indiochano](https://forum.kirupa.com/u/indiochano)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 1:42am UTC](https://forum.kirupa.com/t/help-text-field-write-on/267044 "2008-07-28T01:42:29Z")

</div>

Hello everyone, im having a hard time achieving a "write on" effect with flash using multiple dynamic text fields. Here's the code I put on the first frame: var string\_1:String = "Latest website launched."; var stri…

---

## [Combo box bully](https://forum.kirupa.com/t/combo-box-bully/267042)

<div class="topic-metadata">

**Author:** [@Narpko](https://forum.kirupa.com/u/Narpko)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 1:09am UTC](https://forum.kirupa.com/t/combo-box-bully/267042 "2008-07-28T01:09:13Z")

</div>

hi there! I have a problem with my xml dropdown combo box... It perfectly loads the content from the xml. But if you try to pick a label from it, it neither does appear in the output window, nor in the textfield. The pro…

---

## [Loading external SWF files on button click](https://forum.kirupa.com/t/loading-external-swf-files-on-button-click/267041)

<div class="topic-metadata">

**Author:** [@agon](https://forum.kirupa.com/u/agon)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 12:54am UTC](https://forum.kirupa.com/t/loading-external-swf-files-on-button-click/267041 "2008-07-28T00:54:20Z")

</div>

I am kind of new to AS and I want to load and external SWF file when I click a button and give a progress of the download. I followed a tutorial in order to get this done. Everything works great except it's loading t…

---

## [XML Crossfading Slideshow](https://forum.kirupa.com/t/xml-crossfading-slideshow/267036)

<div class="topic-metadata">

**Author:** [@aub5987](https://forum.kirupa.com/u/aub5987)\
**Replies:** 0\
**Last updated:** [July 27, 2008, 11:10pm UTC](https://forum.kirupa.com/t/xml-crossfading-slideshow/267036 "2008-07-27T23:10:32Z")

</div>

Does anyone have a tutorial that would show me how to create a crossfading slideshow from XML? Currently I have found one that worked but as you click around the website the slideshow jumps around in the pictures and do…

---

## [Browser Window Title](https://forum.kirupa.com/t/browser-window-title/267033)

<div class="topic-metadata">

**Author:** [@cropgirl](https://forum.kirupa.com/u/cropgirl)\
**Replies:** 0\
**Last updated:** [July 27, 2008, 10:23pm UTC](https://forum.kirupa.com/t/browser-window-title/267033 "2008-07-27T22:23:17Z")

</div>

Hi! I am fairly new to using Flash and have an elementary question. How in the world do I change the title that appears in the browser window of my website to something other than "index". It is driving me crazy! I hope …

---

## [XML load works in IE but not in FireFox](https://forum.kirupa.com/t/xml-load-works-in-ie-but-not-in-firefox/267031)

<div class="topic-metadata">

**Author:** [@dataxa](https://forum.kirupa.com/u/dataxa)\
**Replies:** 0\
**Last updated:** [July 27, 2008, 9:46pm UTC](https://forum.kirupa.com/t/xml-load-works-in-ie-but-not-in-firefox/267031 "2008-07-27T21:46:21Z")

</div>

I have xml-picture gallery and everything was working when i tested it. As soon as my client uploaded 100+ pictures, it stopped working on firefox. I discovered that when i use LIMIT to make mysql query smaller in xml fi…

---

## [Gravity and Inverse Kinematics - from a book](https://forum.kirupa.com/t/gravity-and-inverse-kinematics-from-a-book/267030)

<div class="topic-metadata">

**Author:** [@DrRobot](https://forum.kirupa.com/u/DrRobot)\
**Replies:** 0\
**Last updated:** [July 27, 2008, 8:52pm UTC](https://forum.kirupa.com/t/gravity-and-inverse-kinematics-from-a-book/267030 "2008-07-27T20:52:37Z")

</div>

Alright, so i got a book called Foundation Actionscript 3 Animation: Making Things Move, and i was reading the inverse kinematics section. i got all the code down, and i was playing with the code trying to add gravity t…

---

## [XML for breakfast?](https://forum.kirupa.com/t/xml-for-breakfast/267029)

<div class="topic-metadata">

**Author:** [@odiecreversed](https://forum.kirupa.com/u/odiecreversed)\
**Replies:** 0\
**Last updated:** [July 27, 2008, 8:43pm UTC](https://forum.kirupa.com/t/xml-for-breakfast/267029 "2008-07-27T20:43:42Z")

</div>

With the XML below I'm trying to go through whichever "Item" I want and access it's "itemImage's". I'm trying to do it like this at the moment which is.. well... not the right syntax. trace(rootGlobal.xml.Item.mainI…

---

## [Using an exported asset in a loaded swf](https://forum.kirupa.com/t/using-an-exported-asset-in-a-loaded-swf/266995)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 3\
**Last updated:** [July 27, 2008, 8:28pm UTC](https://forum.kirupa.com/t/using-an-exported-asset-in-a-loaded-swf/266995 "2008-07-27T20:28:07Z")

</div>

Assume this scenario: SWF A loads SWF B. In SWF B is a library movieclip which has its linkage set for "export for actionscript". After it's loaded into SWF B, is there a way from SWF A to create a new class of this libr…

---

## [Interfaces in a different path (package)](https://forum.kirupa.com/t/interfaces-in-a-different-path-package/266997)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 2\
**Last updated:** [July 27, 2008, 7:58pm UTC](https://forum.kirupa.com/t/interfaces-in-a-different-path-package/266997 "2008-07-27T19:58:30Z")

</div>

In my class, how can I implement an interface that is lieing in a different path (not in the same package) ? I tried to import but it failed. From the flash documentation it said that interfaces should not lie inside a p…

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

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