# programming

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

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

**Page:** 1922

---

## [Question about Moving an MC](https://forum.kirupa.com/t/question-about-moving-an-mc/210906)

<div class="topic-metadata">

**Author:** [@Elementss](https://forum.kirupa.com/u/Elementss)\
**Replies:** 0\
**Last updated:** [December 23, 2006, 6:46pm UTC](https://forum.kirupa.com/t/question-about-moving-an-mc/210906 "2006-12-23T18:46:28Z")

</div>

How can i limit the movment of an mc to a specific Root? i mean.. like a road or some thing like that... me mc is moving simply by pressing the arrows.. for instance... on("\<Right\>"){ this.\_y += 5; } and i do that f…

---

## [How to know which movieclip is at a higher level](https://forum.kirupa.com/t/how-to-know-which-movieclip-is-at-a-higher-level/210903)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [December 23, 2006, 5:28pm UTC](https://forum.kirupa.com/t/how-to-know-which-movieclip-is-at-a-higher-level/210903 "2006-12-23T17:28:04Z")

</div>

If I have 2 movieclips, how can I know through actionscript which one is at a higher level? Thanks

---

## [AS3 Preloader Question](https://forum.kirupa.com/t/as3-preloader-question/210901)

<div class="topic-metadata">

**Author:** [@Z11](https://forum.kirupa.com/u/Z11)\
**Replies:** 0\
**Last updated:** [December 23, 2006, 4:50pm UTC](https://forum.kirupa.com/t/as3-preloader-question/210901 "2006-12-23T16:50:07Z")

</div>

So... I'm programming a game... in 100% actionscript. With some SWF's for organization of frames. (such as unit movement and gui peices) In my actioscript 2 version the game would begin the preloader almost immediatly.…

---

## [Data GRid](https://forum.kirupa.com/t/data-grid/210887)

<div class="topic-metadata">

**Author:** [@dunkyb123](https://forum.kirupa.com/u/dunkyb123)\
**Replies:** 0\
**Last updated:** [December 23, 2006, 10:35am UTC](https://forum.kirupa.com/t/data-grid/210887 "2006-12-23T10:35:42Z")

</div>

Hi all I need some advice on a data grid, i have a data grid that is loading from a .xml filem this all loads but it does not put my columns in order. How do i make the columns in order. .xml \<?xml version="1.…

---

## [Checking to see if one instance of class hits other instances of the same class?](https://forum.kirupa.com/t/checking-to-see-if-one-instance-of-class-hits-other-instances-of-the-same-class/210886)

<div class="topic-metadata">

**Author:** [@DavidOrtiz](https://forum.kirupa.com/u/DavidOrtiz)\
**Replies:** 0\
**Last updated:** [December 23, 2006, 9:52am UTC](https://forum.kirupa.com/t/checking-to-see-if-one-instance-of-class-hits-other-instances-of-the-same-class/210886 "2006-12-23T09:52:13Z")

</div>

Hi guys, the idea is similar to Yugop.com JAMPACK 01. Let's say i have a bunch of balls/cells. I'm having trouble figuring out how to make it so that every other ball bounces off of every other ball. so in short, it…

---

## [Layout Help](https://forum.kirupa.com/t/layout-help/210880)

<div class="topic-metadata">

**Author:** [@qzp](https://forum.kirupa.com/u/qzp)\
**Replies:** 0\
**Last updated:** [December 23, 2006, 5:55am UTC](https://forum.kirupa.com/t/layout-help/210880 "2006-12-23T05:55:47Z")

</div>

Hey Im trying to update my site for the winter and Im having a lot of trouble getting a latyout set up. Any Help? thanks.

---

## [Problem with attachMovie and scrollBar](https://forum.kirupa.com/t/problem-with-attachmovie-and-scrollbar/210871)

<div class="topic-metadata">

**Author:** [@jbailey](https://forum.kirupa.com/u/jbailey)\
**Replies:** 0\
**Last updated:** [December 23, 2006, 2:53am UTC](https://forum.kirupa.com/t/problem-with-attachmovie-and-scrollbar/210871 "2006-12-23T02:53:35Z")

</div>

I am trying to attach the scrollBar component that ships with F7/+. I can use this ActionScript Code: \[FONT=Courier New\]\[LEFT\]\[COLOR=#0000ff\]this\[/COLOR\].\[COLOR=#0000ff\]attachMovie\[/COLOR\]\[COLOR=#000000\](\[/CO…

---

## [\[as3\]Why getTime() in loop always return the same value?](https://forum.kirupa.com/t/as3-why-gettime-in-loop-always-return-the-same-value/210868)

<div class="topic-metadata">

**Author:** [@26284407](https://forum.kirupa.com/u/26284407)\
**Replies:** 0\
**Last updated:** [December 23, 2006, 2:13am UTC](https://forum.kirupa.com/t/as3-why-gettime-in-loop-always-return-the-same-value/210868 "2006-12-23T02:13:43Z")

</div>

Hi there.i got a problem with Date.getTime() my code like: \[COLOR=royalblue\]private var now:Date = new Date();\[/COLOR\] \[COLOR=royalblue\]private function getStamp():void{\[/COLOR\] \[COLOR=royalblue\]trace(now.getTime())…

---

## [gotoAndPlay trouble](https://forum.kirupa.com/t/gotoandplay-trouble/210866)

<div class="topic-metadata">

**Author:** [@ACWWFFE](https://forum.kirupa.com/u/ACWWFFE)\
**Replies:** 0\
**Last updated:** [December 23, 2006, 1:33am UTC](https://forum.kirupa.com/t/gotoandplay-trouble/210866 "2006-12-23T01:33:54Z")

</div>

Hi there. I was working on a little project in Flash 8, but I've got a problem: I created a password system inside a movie clip and it works great, the thing is that when I add the "gotoAndPlay" action, it goes to the fr…

---

## [Liquid Flash - scale to browser](https://forum.kirupa.com/t/liquid-flash-scale-to-browser/210863)

<div class="topic-metadata">

**Author:** [@hmmaah](https://forum.kirupa.com/u/hmmaah)\
**Replies:** 0\
**Last updated:** [December 23, 2006, 12:45am UTC](https://forum.kirupa.com/t/liquid-flash-scale-to-browser/210863 "2006-12-23T00:45:35Z")

</div>

Hi people - I'm trying to find a way to do something which I reckon is not too hard but I'm not sure where to start. I'd like the background (image) to fit to the size of the browser - and scale accordingly - while th…

---

## [\[RoR\] Rake Migrate problem](https://forum.kirupa.com/t/ror-rake-migrate-problem/210857)

<div class="topic-metadata">

**Author:** [@evildrummer](https://forum.kirupa.com/u/evildrummer)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 10:45pm UTC](https://forum.kirupa.com/t/ror-rake-migrate-problem/210857 "2006-12-22T22:45:30Z")

</div>

ok, so I am moderately ok at rails yet I cant spot my problem, anyone good at rails/ruby, I am trying to create table from rails, and here is my proccess: First went to base of project and in terminal did: ruby script…

---

## [Rollovers on dynamically loaded images](https://forum.kirupa.com/t/rollovers-on-dynamically-loaded-images/210856)

<div class="topic-metadata">

**Author:** [@NHansen](https://forum.kirupa.com/u/NHansen)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 10:18pm UTC](https://forum.kirupa.com/t/rollovers-on-dynamically-loaded-images/210856 "2006-12-22T22:18:35Z")

</div>

For the life of me, I cannot get any rollovers to work with the images that have been loaded from XML. I can target them and set the \_alpha and whatnot, but rollover/out/press functions don't seem to work :\[ I've tried m…

---

## [How to create comet 'tail'](https://forum.kirupa.com/t/how-to-create-comet-tail/210854)

<div class="topic-metadata">

**Author:** [@familyguy](https://forum.kirupa.com/u/familyguy)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 9:30pm UTC](https://forum.kirupa.com/t/how-to-create-comet-tail/210854 "2006-12-22T21:30:46Z")

</div>

Hi guys, Newbie here. (sorry in advance if this has been asked already) I've seen a lot of mouse trailer effects with action script but I'm trying to find a way to make a similar 'trailer' or 'tail' effect to follow …

---

## [Links that send Variables to Checkboxes?](https://forum.kirupa.com/t/links-that-send-variables-to-checkboxes/210844)

<div class="topic-metadata">

**Author:** [@seth\_aldridge](https://forum.kirupa.com/u/seth_aldridge)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 7:08pm UTC](https://forum.kirupa.com/t/links-that-send-variables-to-checkboxes/210844 "2006-12-22T19:08:36Z")

</div>

Hi, I am building out a website that has several lists of services and each service page as a "contact us" type button that sends you to a contact page with a list of the services with Checkboxes next to each service s…

---

## [CSS Height problems in Firefox!](https://forum.kirupa.com/t/css-height-problems-in-firefox/210843)

<div class="topic-metadata">

**Author:** [@AgentFitz](https://forum.kirupa.com/u/AgentFitz)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 6:59pm UTC](https://forum.kirupa.com/t/css-height-problems-in-firefox/210843 "2006-12-22T18:59:37Z")

</div>

I'm having problems. Even though Firefox conforms to W3C specs and IE does not, FF is the one that I'm having problems with. IE has some functionality built that I'm having trouble getting FF to replicate! Two example…

---

## [Dynamic Variable names?](https://forum.kirupa.com/t/dynamic-variable-names/210841)

<div class="topic-metadata">

**Author:** [@carlmal](https://forum.kirupa.com/u/carlmal)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 6:40pm UTC](https://forum.kirupa.com/t/dynamic-variable-names/210841 "2006-12-22T18:40:23Z")

</div>

I want to create a var that concatenates some text with my loop counter, this doesn't work: var this\["appNm\_tf"+i\]:TextField = mcMain.createTextField("appNm\_tf"+i, getNextHighestDepth() , 0, i \* 20, 150, 20);

---

## [onEnterFrame and onRollOver Problem](https://forum.kirupa.com/t/onenterframe-and-onrollover-problem/210838)

<div class="topic-metadata">

**Author:** [@mediumman](https://forum.kirupa.com/u/mediumman)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 6:07pm UTC](https://forum.kirupa.com/t/onenterframe-and-onrollover-problem/210838 "2006-12-22T18:07:40Z")

</div>

I am using two commands to run a function in the first frame of my movie...code below...however, the Rollover and RollOut are not working, just the onEnterFrame....if i take out the onEnterFrame they work fine and If i c…

---

## [Designed on Flash 8, problems with 9 player](https://forum.kirupa.com/t/designed-on-flash-8-problems-with-9-player/210837)

<div class="topic-metadata">

**Author:** [@cr125rider](https://forum.kirupa.com/u/cr125rider)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 6:02pm UTC](https://forum.kirupa.com/t/designed-on-flash-8-problems-with-9-player/210837 "2006-12-22T18:02:26Z")

</div>

I have recently created a little game, just a cheapy little one but fun none the less. It runs great local running in the 8 stand-alone player but seems to slow to a crawl when played in the browser with the 9 plugin. I …

---

## [(AS3) MovieClip panning X&Y](https://forum.kirupa.com/t/as3-movieclip-panning-x-y/210834)

<div class="topic-metadata">

**Author:** [@pi3rc3](https://forum.kirupa.com/u/pi3rc3)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 5:45pm UTC](https://forum.kirupa.com/t/as3-movieclip-panning-x-y/210834 "2006-12-22T17:45:16Z")

</div>

hey, im trying to pan a movieclip around my stage, in both x and y, depending on mouse location. i based the code for this on the tutorial found here. the movieclip im working with is 1100x900 and the stage is 800x600. …

---

## [Whats this Effect](https://forum.kirupa.com/t/whats-this-effect/210836)

<div class="topic-metadata">

**Author:** [@navigator81](https://forum.kirupa.com/u/navigator81)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 5:37pm UTC](https://forum.kirupa.com/t/whats-this-effect/210836 "2006-12-22T17:37:11Z")

</div>

Hi Everyone!!!! I need some advise .....Can someone te3ll me How this effect is made : http://www.templatemonster.com/flash-templates/13200.html Also is there any 3RD party tool involved in it or can we do it in Flas…

---

## [Transitions Btwn SWF's Tutorial](https://forum.kirupa.com/t/transitions-btwn-swfs-tutorial/210830)

<div class="topic-metadata">

**Author:** [@Carman](https://forum.kirupa.com/u/Carman)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 4:52pm UTC](https://forum.kirupa.com/t/transitions-btwn-swfs-tutorial/210830 "2006-12-22T16:52:11Z")

</div>

I just went through this tutorial b/c i had been linking separate SWF files together as HTML files which did not look smooth. The transitions don't seem to be working now though. The file isn't loading. I noticed the Tut…

---

## [XML doesn't populate once in an html page (eBay)](https://forum.kirupa.com/t/xml-doesnt-populate-once-in-an-html-page-ebay/210827)

<div class="topic-metadata">

**Author:** [@silsteel](https://forum.kirupa.com/u/silsteel)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 3:09pm UTC](https://forum.kirupa.com/t/xml-doesnt-populate-once-in-an-html-page-ebay/210827 "2006-12-22T15:09:41Z")

</div>

I have created a little template for ebay product listing. It uses external data (xml) to show the gallery and a separate document (.txt file) to show the description. It works geart by itself, but once I put it into eBa…

---

## [Countdown timer, timezone offset stuck in Eastern time](https://forum.kirupa.com/t/countdown-timer-timezone-offset-stuck-in-eastern-time/210825)

<div class="topic-metadata">

**Author:** [@ironchefmoto](https://forum.kirupa.com/u/ironchefmoto)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 2:55pm UTC](https://forum.kirupa.com/t/countdown-timer-timezone-offset-stuck-in-eastern-time/210825 "2006-12-22T14:55:34Z")

</div>

I have a countdown timer that will be used for events that happen locally central time, mountain time, etc. However, if someone on eastern or pacific time (or any variation of the 4 timezones) looks at the countdown tim…

---

## [\[F8\] Need help reading messages from an XML file and looping through them](https://forum.kirupa.com/t/f8-need-help-reading-messages-from-an-xml-file-and-looping-through-them/210824)

<div class="topic-metadata">

**Author:** [@jonnyporter](https://forum.kirupa.com/u/jonnyporter)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 2:54pm UTC](https://forum.kirupa.com/t/f8-need-help-reading-messages-from-an-xml-file-and-looping-through-them/210824 "2006-12-22T14:54:20Z")

</div>

Hi all Grateful for any help with this problem which I have done before, but unfortunately no longer have the FLA file. The idea is to have a web page header that has some eye-catching animated messages that keep changin…

---

## [New flash error (to me at least)](https://forum.kirupa.com/t/new-flash-error-to-me-at-least/210821)

<div class="topic-metadata">

**Author:** [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 2:27pm UTC](https://forum.kirupa.com/t/new-flash-error-to-me-at-least/210821 "2006-12-22T14:27:29Z")

</div>

256 levels of recursion were exceeded in one action list. This is probably an infinite loop. Further execution of actions has been disabled in this movie. I just got this is the console window in a flash movie, i am…

---

## [Very Long Request for Quote Form using PHP](https://forum.kirupa.com/t/very-long-request-for-quote-form-using-php/210820)

<div class="topic-metadata">

**Author:** [@jasonmilburn](https://forum.kirupa.com/u/jasonmilburn)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 1:54pm UTC](https://forum.kirupa.com/t/very-long-request-for-quote-form-using-php/210820 "2006-12-22T13:54:57Z")

</div>

Hello all. I'm more of a designer than a coder, so I'm looking for a little help on this rather long RFQ form I am doing. Here are the links: http://www.jasonmilburn.com/lvfinal/quote.html http://www.jasonmilburn.com/l…

---

## [Randomising Movie Clips](https://forum.kirupa.com/t/randomising-movie-clips/210819)

<div class="topic-metadata">

**Author:** [@robson\_jerome](https://forum.kirupa.com/u/robson_jerome)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 1:31pm UTC](https://forum.kirupa.com/t/randomising-movie-clips/210819 "2006-12-22T13:31:03Z")

</div>

Is it possible to make a MC in flash and then randomise where it appears within the movie? Cheers, Rob

---

## [Log through Action Script](https://forum.kirupa.com/t/log-through-action-script/210812)

<div class="topic-metadata">

**Author:** [@gvnirmal](https://forum.kirupa.com/u/gvnirmal)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 10:58am UTC](https://forum.kirupa.com/t/log-through-action-script/210812 "2006-12-22T10:58:17Z")

</div>

Hi All, I have 5 video files to be played. Let them be 1.swf,2.swf,3.swf,4.swf,5.swf. I want to do two things here: I want to play 1.swf, stop it after 20 secs and play 2.swf for 20 secs. At this point of time, I …

---

## [\[php4\] creating folders with php?](https://forum.kirupa.com/t/php4-creating-folders-with-php/210805)

<div class="topic-metadata">

**Author:** [@this\_me](https://forum.kirupa.com/u/this_me)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 9:49am UTC](https://forum.kirupa.com/t/php4-creating-folders-with-php/210805 "2006-12-22T09:49:22Z")

</div>

Hi there.. I'm working on a client sort of login, database online. Clients can for example: login and send earlier made printwork directly to the printer. Now.. the thing is.. when the administrator like to create …

---

## [Volume Slider -- How Do I Center Slider?](https://forum.kirupa.com/t/volume-slider-how-do-i-center-slider/210804)

<div class="topic-metadata">

**Author:** [@wahtever](https://forum.kirupa.com/u/wahtever)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 9:45am UTC](https://forum.kirupa.com/t/volume-slider-how-do-i-center-slider/210804 "2006-12-22T09:45:32Z")

</div>

http://www.kirupa.com/developer/mx/volume\_slider.htm Using the tutorial above, the volume slider always starts at the left end which is starting to become annoying because you always have to move it in order to listen. …

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

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