# programming

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

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

**Page:** 1216

---

## [Loading Movieclip with buttons](https://forum.kirupa.com/t/loading-movieclip-with-buttons/261812)

<div class="topic-metadata">

**Author:** [@charris](https://forum.kirupa.com/u/charris)\
**Replies:** 1\
**Last updated:** [June 2, 2008, 10:12am UTC](https://forum.kirupa.com/t/loading-movieclip-with-buttons/261812 "2008-06-02T10:12:28Z")

</div>

Ok here goes. I am working on something @ work that has a scrolling menu that loads to a new level when an invisible button is in the over state. The menu loads and works perfectly by itself, including the buttons that a…

---

## [as3 external swf timeline](https://forum.kirupa.com/t/as3-external-swf-timeline/212670)

<div class="topic-metadata">

**Author:** [@skindc](https://forum.kirupa.com/u/skindc)\
**Replies:** 1\
**Last updated:** [June 2, 2008, 10:02am UTC](https://forum.kirupa.com/t/as3-external-swf-timeline/212670 "2008-06-02T10:02:48Z")

</div>

Hi all, I have an animation of bird flying, and I want to load it into a an class an then be able to control the timeline. Is this possible! How can I get my class to see the loaded content as a movie clip! Skin

---

## [Have action when FLV movie plays?](https://forum.kirupa.com/t/have-action-when-flv-movie-plays/261845)

<div class="topic-metadata">

**Author:** [@02simond](https://forum.kirupa.com/u/02simond)\
**Replies:** 3\
**Last updated:** [June 2, 2008, 9:58am UTC](https://forum.kirupa.com/t/have-action-when-flv-movie-plays/261845 "2008-06-02T09:58:54Z")

</div>

Hi I want to have an action happen when i start playing a FLV movie. How do I do that? Thank you in advance

---

## [Need to understand for loops and i math](https://forum.kirupa.com/t/need-to-understand-for-loops-and-i-math/261950)

<div class="topic-metadata">

**Author:** [@setzer9999](https://forum.kirupa.com/u/setzer9999)\
**Replies:** 8\
**Last updated:** [June 2, 2008, 9:47am UTC](https://forum.kirupa.com/t/need-to-understand-for-loops-and-i-math/261950 "2008-06-02T09:47:15Z")

</div>

I have this code: var x:XML = new XML(); x.ignoreWhite = true; var urls:Array = new Array(); var captions:Array = new Array(); var whatday:Number; x.onLoad = function() { var photos:Array = this.firstChild.childN…

---

## [Positioning an object on a curve with out using X, Y](https://forum.kirupa.com/t/positioning-an-object-on-a-curve-with-out-using-x-y/261972)

<div class="topic-metadata">

**Author:** [@a\_krishnam\_raju](https://forum.kirupa.com/u/a_krishnam_raju)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 9:18am UTC](https://forum.kirupa.com/t/positioning-an-object-on-a-curve-with-out-using-x-y/261972 "2008-06-02T09:18:26Z")

</div>

Hi! All I have a route (curve on the stage) and a point (round shape which acts as a vechile). I pass the x,y axis values for distance to the point so that the point lies exactly on the line. Starting point of curve is 0…

---

## [ABC in Flash](https://forum.kirupa.com/t/abc-in-flash/261964)

<div class="topic-metadata">

**Author:** [@dzhedzho](https://forum.kirupa.com/u/dzhedzho)\
**Replies:** 1\
**Last updated:** [June 2, 2008, 8:27am UTC](https://forum.kirupa.com/t/abc-in-flash/261964 "2008-06-02T08:27:32Z")

</div>

I have some AS3 code and I would like to compile it in a library, that is, a SWC. I used to do that for my components, by creating a movie clip in an empty library, attaching the class to it and compiling that to SWC. No…

---

## [XML Calendar Menu Thread 2](https://forum.kirupa.com/t/xml-calendar-menu-thread-2/261965)

<div class="topic-metadata">

**Author:** [@setzer9999](https://forum.kirupa.com/u/setzer9999)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 6:46am UTC](https://forum.kirupa.com/t/xml-calendar-menu-thread-2/261965 "2008-06-02T06:46:34Z")

</div>

I had asked about these problems in another thread, but that one got confused with other questions. I am now posting my final problem with this code in this thread. I have an XML code that looks like: \<slideshow\> \<ph…

---

## [Can Flash do it in PHP?](https://forum.kirupa.com/t/can-flash-do-it-in-php/261959)

<div class="topic-metadata">

**Author:** [@konach05](https://forum.kirupa.com/u/konach05)\
**Replies:** 2\
**Last updated:** [June 2, 2008, 6:45am UTC](https://forum.kirupa.com/t/can-flash-do-it-in-php/261959 "2008-06-02T06:45:39Z")

</div>

Hi, I have to make an application and I dont know whether Flash can do it or not, and whether it is easy to do: The process is as following: In the Flash, 1: The user uploads an image 2: The user enter a distance(e.…

---

## [How can I secure my Flash file so that it can't be accessed if not logged in?](https://forum.kirupa.com/t/how-can-i-secure-my-flash-file-so-that-it-cant-be-accessed-if-not-logged-in/261788)

<div class="topic-metadata">

**Author:** [@OM2](https://forum.kirupa.com/u/OM2)\
**Replies:** 2\
**Last updated:** [June 2, 2008, 5:15am UTC](https://forum.kirupa.com/t/how-can-i-secure-my-flash-file-so-that-it-cant-be-accessed-if-not-logged-in/261788 "2008-06-02T05:15:07Z")

</div>

How can I secure my Flash file so that it can't be accessed if not logged in? On my PHP pages, I have something like: if ($\_SESSION\["test"\]\["login"\]) { // Show the contents } How do I put this into my Flash file…

---

## [Adding milisseconds to a countdown](https://forum.kirupa.com/t/adding-milisseconds-to-a-countdown/261705)

<div class="topic-metadata">

**Author:** [@Shuugo](https://forum.kirupa.com/u/Shuugo)\
**Replies:** 8\
**Last updated:** [June 2, 2008, 3:45am UTC](https://forum.kirupa.com/t/adding-milisseconds-to-a-countdown/261705 "2008-06-02T03:45:35Z")

</div>

Hello. I used to come to Kirupa before O.o but never realized it had a forum. The thing is: I need help adding "milisseconds" to a countdown where I currently have "days", "hours", "minutes" and "seconds". The intention …

---

## [Show/Hide Graphic not working in Firefox](https://forum.kirupa.com/t/show-hide-graphic-not-working-in-firefox/261589)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 2\
**Last updated:** [June 2, 2008, 3:32am UTC](https://forum.kirupa.com/t/show-hide-graphic-not-working-in-firefox/261589 "2008-06-02T03:32:38Z")

</div>

In IE, If you click on the highlighted tabs on the screenshot, you will see what was intended: http://www.tornedgedesign.com/\_test/kirupa/ Problem is, in Safari and Firefox, the image doesn't update when you click the …

---

## [Namespace and the "in" operator?](https://forum.kirupa.com/t/namespace-and-the-in-operator/261856)

<div class="topic-metadata">

**Author:** [@warhero](https://forum.kirupa.com/u/warhero)\
**Replies:** 3\
**Last updated:** [June 2, 2008, 3:23am UTC](https://forum.kirupa.com/t/namespace-and-the-in-operator/261856 "2008-06-02T03:23:03Z")

</div>

I'm trying to figure out how to use namespaces with the "in" operator. My problem is that I'm using dynamic objects and can't get a reference to the target namespace without an error being thrown. this is essentially w…

---

## [Set site index](https://forum.kirupa.com/t/set-site-index/261673)

<div class="topic-metadata">

**Author:** [@nobody](https://forum.kirupa.com/u/nobody)\
**Replies:** 7\
**Last updated:** [June 2, 2008, 2:16am UTC](https://forum.kirupa.com/t/set-site-index/261673 "2008-06-02T02:16:17Z")

</div>

So for the most part in Django I have no problem setting an app index. But what about the actual project, how do I set an index for that? I'm probably not explaining myself well but if you go to www.thisandco.com I get…

---

## [Output data to database file online](https://forum.kirupa.com/t/output-data-to-database-file-online/261911)

<div class="topic-metadata">

**Author:** [@JBPresents](https://forum.kirupa.com/u/JBPresents)\
**Replies:** 4\
**Last updated:** [June 2, 2008, 1:42am UTC](https://forum.kirupa.com/t/output-data-to-database-file-online/261911 "2008-06-02T01:42:45Z")

</div>

I am looking for a way to store data I would want from a flash game of mine. I could just manipulate a highscore table but i was looking for the specific function to maybe try and create my own thanks -JBPresents

---

## [Passing Arguments through Event Handlers](https://forum.kirupa.com/t/passing-arguments-through-event-handlers/261920)

<div class="topic-metadata">

**Author:** [@le\_architect](https://forum.kirupa.com/u/le_architect)\
**Replies:** 3\
**Last updated:** [June 2, 2008, 12:46am UTC](https://forum.kirupa.com/t/passing-arguments-through-event-handlers/261920 "2008-06-02T00:46:10Z")

</div>

Hi, I am having trouble passing an additional value through the addEventListener method. Can someone tell me how to pass in values so my function knows what buttons were pressed? a.addEventListener(MouseEvent.MOUSE\_…

---

## [Make MCs go to a certain location](https://forum.kirupa.com/t/make-mcs-go-to-a-certain-location/261879)

<div class="topic-metadata">

**Author:** [@thegrrraue](https://forum.kirupa.com/u/thegrrraue)\
**Replies:** 2\
**Last updated:** [June 2, 2008, 12:45am UTC](https://forum.kirupa.com/t/make-mcs-go-to-a-certain-location/261879 "2008-06-02T00:45:21Z")

</div>

Ok, so I have a button (called "MC\_Star") that can be dragged around, and when a certain other button is clicked, I want MC\_Star to go from wherever it is to the top center, just out of frame. What I have now only allows…

---

## [Flash Slime Volleyball Help](https://forum.kirupa.com/t/flash-slime-volleyball-help/261939)

<div class="topic-metadata">

**Author:** [@2o2](https://forum.kirupa.com/u/2o2)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 12:42am UTC](https://forum.kirupa.com/t/flash-slime-volleyball-help/261939 "2008-06-02T00:42:37Z")

</div>

Hi, I am new to flash, so pardon me if i suck! I just posted a flash file of a game that i am trying to create that is a flash replica of slime volleyball (www.oneslime.net). I would like to know how to do these three th…

---

## [LoadMovieNum from different levels](https://forum.kirupa.com/t/loadmovienum-from-different-levels/260793)

<div class="topic-metadata">

**Author:** [@jagzjagz](https://forum.kirupa.com/u/jagzjagz)\
**Replies:** 6\
**Last updated:** [June 1, 2008, 11:01pm UTC](https://forum.kirupa.com/t/loadmovienum-from-different-levels/260793 "2008-06-01T23:01:38Z")

</div>

Please help, its driving me nuts. MainMovie = level 0 Navbar = level 10 submovies = level 2 In MainMovie I load my navbar in level 10. Then from the navbar I load the submovies into level 2 (that way, the navigation…

---

## [Validating Flash in xHTML (IE wont show)](https://forum.kirupa.com/t/validating-flash-in-xhtml-ie-wont-show/261890)

<div class="topic-metadata">

**Author:** [@k77](https://forum.kirupa.com/u/k77)\
**Replies:** 1\
**Last updated:** [June 1, 2008, 9:40pm UTC](https://forum.kirupa.com/t/validating-flash-in-xhtml-ie-wont-show/261890 "2008-06-01T21:40:09Z")

</div>

Resolved. I used SWF Object For anyone who comes across the issue. I was using \<object type="application/x-shockwave-flash" data="images/banner.swf" width="288" height="128"\> \<param name="movie" value="images/ban…

---

## [autoPlay video by passing FlashVars](https://forum.kirupa.com/t/autoplay-video-by-passing-flashvars/261924)

<div class="topic-metadata">

**Author:** [@entercow](https://forum.kirupa.com/u/entercow)\
**Replies:** 0\
**Last updated:** [June 1, 2008, 9:37pm UTC](https://forum.kirupa.com/t/autoplay-video-by-passing-flashvars/261924 "2008-06-01T21:37:51Z")

</div>

Hi all! I'm new to the boards here, looks like a great community. I used to do a lot of flash work but it's been quite a while. I've never done much with video inside of flash. My issue is very simple. I have a vide…

---

## [Variable holds property?](https://forum.kirupa.com/t/variable-holds-property/261918)

<div class="topic-metadata">

**Author:** [@komapeb](https://forum.kirupa.com/u/komapeb)\
**Replies:** 3\
**Last updated:** [June 1, 2008, 8:48pm UTC](https://forum.kirupa.com/t/variable-holds-property/261918 "2008-06-01T20:48:36Z")

</div>

Hi! (-: Here's some code: var Val = alpha; \_mc.Val = somenumber; So (it's hard to explain and mine english isn't good so excuse me please) in the variable "Val" i want to store not the value of "alpha" or "x", "y"…

---

## [XML Random Image Display](https://forum.kirupa.com/t/xml-random-image-display/261919)

<div class="topic-metadata">

**Author:** [@setzer9999](https://forum.kirupa.com/u/setzer9999)\
**Replies:** 0\
**Last updated:** [June 1, 2008, 7:51pm UTC](https://forum.kirupa.com/t/xml-random-image-display/261919 "2008-06-01T19:51:19Z")

</div>

I am trying to make a random image loader for xml importing images into flash. I have been utilizing the photo gallery xml code found on this site. Thank you very much by the way for that. The thing is, on one of the p…

---

## [Why won't my audio stop?](https://forum.kirupa.com/t/why-wont-my-audio-stop/261861)

<div class="topic-metadata">

**Author:** [@ScoobyDooobyD00](https://forum.kirupa.com/u/ScoobyDooobyD00)\
**Replies:** 1\
**Last updated:** [June 1, 2008, 7:26pm UTC](https://forum.kirupa.com/t/why-wont-my-audio-stop/261861 "2008-06-01T19:26:20Z")

</div>

Hi, I'm building an mp3 player in Flash and it will load the audio and play it but it won't pause. Here's my code. onLoad(pauseIt()); // Check to see if song url is included. // See if song url is specified if(!song\_…

---

## [In movieclip, buttons don't work](https://forum.kirupa.com/t/in-movieclip-buttons-dont-work/261914)

<div class="topic-metadata">

**Author:** [@peartart](https://forum.kirupa.com/u/peartart)\
**Replies:** 0\
**Last updated:** [June 1, 2008, 6:42pm UTC](https://forum.kirupa.com/t/in-movieclip-buttons-dont-work/261914 "2008-06-01T18:42:10Z")

</div>

So I have a button in a movieclip in a movieclip. But the simple on(release){gotoAndPlay(theframe);} sort of thing that I have doesn't work. The over and down states don't even show up! The buttons are just static. And t…

---

## [Advanced AVM1Movie Help](https://forum.kirupa.com/t/advanced-avm1movie-help/261895)

<div class="topic-metadata">

**Author:** [@SmoothDime](https://forum.kirupa.com/u/SmoothDime)\
**Replies:** 1\
**Last updated:** [June 1, 2008, 6:34pm UTC](https://forum.kirupa.com/t/advanced-avm1movie-help/261895 "2008-06-01T18:34:45Z")

</div>

Hi, I'm building a swf player in AS3 that loads AS2 swfs(ie AVM1Movies). I'd like to know if it is at all possible to control the playback and access properties of this loaded swf. I need to call stop() and access \_c…

---

## [Problem scrolling text with glow](https://forum.kirupa.com/t/problem-scrolling-text-with-glow/261912)

<div class="topic-metadata">

**Author:** [@dottydog](https://forum.kirupa.com/u/dottydog)\
**Replies:** 0\
**Last updated:** [June 1, 2008, 6:02pm UTC](https://forum.kirupa.com/t/problem-scrolling-text-with-glow/261912 "2008-06-01T18:02:24Z")

</div>

Hello Newbie calling for help! I have created a scolling text in Flash 8 which just says '....it makes sense to GO GREEN' (like a banner across the top of the page) I would like to put glow effect on 'GO GREEN' but I am …

---

## [Random Image Generator](https://forum.kirupa.com/t/random-image-generator/260272)

<div class="topic-metadata">

**Author:** [@Flightlessbird](https://forum.kirupa.com/u/Flightlessbird)\
**Replies:** 8\
**Last updated:** [June 1, 2008, 4:37pm UTC](https://forum.kirupa.com/t/random-image-generator/260272 "2008-06-01T16:37:36Z")

</div>

Hello, I've been looking at the Loading Random Background Image Tutorial (http://http://www.kirupa.com/developer/mx/loadingrandombackground.htm ) and found it very informative and helpful, except for the fact that it d…

---

## [My First Flash Animation](https://forum.kirupa.com/t/my-first-flash-animation/261824)

<div class="topic-metadata">

**Author:** [@gymnastdaniel5](https://forum.kirupa.com/u/gymnastdaniel5)\
**Replies:** 1\
**Last updated:** [June 1, 2008, 11:54am UTC](https://forum.kirupa.com/t/my-first-flash-animation/261824 "2008-06-01T11:54:02Z")

</div>

Hi everyone, Well this is my first flash animation, its only like 5 seconds long but it used the 3 things I wanted to learn how to use, 1. Movie Clips 2. Motion Tweening 3. Sound Heres the link to see it: http://h1.ripw…

---

## [AS2 moving objects along a trail](https://forum.kirupa.com/t/as2-moving-objects-along-a-trail/261266)

<div class="topic-metadata">

**Author:** [@tmtijn](https://forum.kirupa.com/u/tmtijn)\
**Replies:** 8\
**Last updated:** [June 1, 2008, 10:23am UTC](https://forum.kirupa.com/t/as2-moving-objects-along-a-trail/261266 "2008-06-01T10:23:26Z")

</div>

Hi, I have build a few themepark attraction simulations in the past (http://sims.themagical.nl) Not being a programmer after all, it took me 4 years to learn the basics of flash (starting from Flash 5, to Flash 8 curre…

---

## [Dragging an item over another](https://forum.kirupa.com/t/dragging-an-item-over-another/261188)

<div class="topic-metadata">

**Author:** [@onion](https://forum.kirupa.com/u/onion)\
**Replies:** 9\
**Last updated:** [June 1, 2008, 5:58am UTC](https://forum.kirupa.com/t/dragging-an-item-over-another/261188 "2008-06-01T05:58:26Z")

</div>

I want to drag a picture over a grey box, and when I release the mouse button the picture to appear in the gray box. Easy peasy so far, right? Well I also want the grey box to have an outline appear when you are draggi…

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

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