# programming

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

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

**Page:** 1130

---

## [Remove all movieclips when not equal to...?](https://forum.kirupa.com/t/remove-all-movieclips-when-not-equal-to/267459)

<div class="topic-metadata">

**Author:** [@keitai](https://forum.kirupa.com/u/keitai)\
**Replies:** 0\
**Last updated:** [August 1, 2008, 10:23am UTC](https://forum.kirupa.com/t/remove-all-movieclips-when-not-equal-to/267459 "2008-08-01T10:23:18Z")

</div>

trying to hide all submenu's when not equal to the current function removeAllOtherMenus(mc) { trace("remove movieclips not equals: "+mc); for (var i = 1; i \<=3; i++){ if (\["subsubmenu\_mc"+i\] != \[mc…

---

## [Multiple Preloader problem (AS2)](https://forum.kirupa.com/t/multiple-preloader-problem-as2/267458)

<div class="topic-metadata">

**Author:** [@elgringoson](https://forum.kirupa.com/u/elgringoson)\
**Replies:** 0\
**Last updated:** [August 1, 2008, 10:10am UTC](https://forum.kirupa.com/t/multiple-preloader-problem-as2/267458 "2008-08-01T10:10:22Z")

</div>

Hey all! I am basically trying to have a preloader on each swf that loads; at the moment the preloader is inside the swf I'm trying to import and I get a 'Security Sandbox Violation' 'tried to access incompatible conte…

---

## [Sub domain to sub folder DNS help!](https://forum.kirupa.com/t/sub-domain-to-sub-folder-dns-help/267457)

<div class="topic-metadata">

**Author:** [@tomazws](https://forum.kirupa.com/u/tomazws)\
**Replies:** 0\
**Last updated:** [August 1, 2008, 9:40am UTC](https://forum.kirupa.com/t/sub-domain-to-sub-folder-dns-help/267457 "2008-08-01T09:40:49Z")

</div>

Hi guys, I came across this problem... How do I use DNS configurations to point a sub-domain to the main-domain's sub-folder? Right now, the sub-domain is going to its own account, instead of going to a folder with…

---

## [Need help with actionscript](https://forum.kirupa.com/t/need-help-with-actionscript/267456)

<div class="topic-metadata">

**Author:** [@Follias\_Wiz](https://forum.kirupa.com/u/Follias_Wiz)\
**Replies:** 0\
**Last updated:** [August 1, 2008, 9:19am UTC](https://forum.kirupa.com/t/need-help-with-actionscript/267456 "2008-08-01T09:19:49Z")

</div>

Me and my friend came up with an idea for a game earlier and started working on it in Flash 8. Not being very Actionscript-savvy, I looked up a tutorial for the basis of the programming since gameplay isn't really a fact…

---

## [.swf doesnt work properly](https://forum.kirupa.com/t/swf-doesnt-work-properly/267453)

<div class="topic-metadata">

**Author:** [@razion](https://forum.kirupa.com/u/razion)\
**Replies:** 0\
**Last updated:** [August 1, 2008, 8:39am UTC](https://forum.kirupa.com/t/swf-doesnt-work-properly/267453 "2008-08-01T08:39:25Z")

</div>

the movie includes about 40 scenes, and works properly, but when i add another scene and place a 5min long movie clip on it, most of the other scenes dont play, they stop at the first frame. and no matter what i do with …

---

## [A couple semi-basic programming questions (AS2)](https://forum.kirupa.com/t/a-couple-semi-basic-programming-questions-as2/267451)

<div class="topic-metadata">

**Author:** [@Bolshoi333](https://forum.kirupa.com/u/Bolshoi333)\
**Replies:** 0\
**Last updated:** [August 1, 2008, 8:15am UTC](https://forum.kirupa.com/t/a-couple-semi-basic-programming-questions-as2/267451 "2008-08-01T08:15:39Z")

</div>

Hey everyone, wassup! I'm currently working on a not-extremely-complicated game project, and I just have some pretty basic questions about what code I need and if it exists. So instead of making like 3 different topic…

---

## [Draw grid line with numbering in AS3](https://forum.kirupa.com/t/draw-grid-line-with-numbering-in-as3/267450)

<div class="topic-metadata">

**Author:** [@kleave](https://forum.kirupa.com/u/kleave)\
**Replies:** 0\
**Last updated:** [August 1, 2008, 7:03am UTC](https://forum.kirupa.com/t/draw-grid-line-with-numbering-in-as3/267450 "2008-08-01T07:03:32Z")

</div>

hi, I have some problem with the grid line with numbering just like the graph paper with some numbering on the x & y axis. I have done with the grid in a container(UIComponent size 500 by 500, size can be change anytim…

---

## [Making random choices](https://forum.kirupa.com/t/making-random-choices/267449)

<div class="topic-metadata">

**Author:** [@forever\_noob](https://forum.kirupa.com/u/forever_noob)\
**Replies:** 0\
**Last updated:** [August 1, 2008, 6:52am UTC](https://forum.kirupa.com/t/making-random-choices/267449 "2008-08-01T06:52:00Z")

</div>

How would I make a random function that has a % chance like below: 10% find something 60% get into fight 30% do nothing And how do I get a variable and put it in a text box with other words? eg, I like "var"

---

## [Googlability of Flash sites](https://forum.kirupa.com/t/googlability-of-flash-sites/267448)

<div class="topic-metadata">

**Author:** [@iamhere](https://forum.kirupa.com/u/iamhere)\
**Replies:** 0\
**Last updated:** [August 1, 2008, 6:37am UTC](https://forum.kirupa.com/t/googlability-of-flash-sites/267448 "2008-08-01T06:37:15Z")

</div>

Has anyone been looking into this? FLash would be suitable for thousands of things there are, but I think one of the major reasons the web hasnt switched to almost 100% Flash is that the data inside the SWF file wouldnt …

---

## [Managing Multiple External Classes](https://forum.kirupa.com/t/managing-multiple-external-classes/267447)

<div class="topic-metadata">

**Author:** [@spike50](https://forum.kirupa.com/u/spike50)\
**Replies:** 0\
**Last updated:** [August 1, 2008, 5:29am UTC](https://forum.kirupa.com/t/managing-multiple-external-classes/267447 "2008-08-01T05:29:24Z")

</div>

Hi, I'm having some trouble getting mulitple external classes to work simultaneously. I have a little game that is running off the document class. I'd like to add a background scroller. I have an external class for the…

---

## [Stage Layout Manager Class - Performance](https://forum.kirupa.com/t/stage-layout-manager-class-performance/267446)

<div class="topic-metadata">

**Author:** [@dail](https://forum.kirupa.com/u/dail)\
**Replies:** 0\
**Last updated:** [August 1, 2008, 5:12am UTC](https://forum.kirupa.com/t/stage-layout-manager-class-performance/267446 "2008-08-01T05:12:38Z")

</div>

Hello, I've been messing around with a stage layout classes off and on for a little while. I created a simple one a while ago that while it worked, was a simple instance based approach, one stageResizeManager class per…

---

## [Conditional statement not working?](https://forum.kirupa.com/t/conditional-statement-not-working/267443)

<div class="topic-metadata">

**Author:** [@darkhippothewis](https://forum.kirupa.com/u/darkhippothewis)\
**Replies:** 0\
**Last updated:** [August 1, 2008, 3:52am UTC](https://forum.kirupa.com/t/conditional-statement-not-working/267443 "2008-08-01T03:52:30Z")

</div>

Hi All, In the code below i can't seem to get the second conditional statement to work. Any Ideas? on (press) { startDrag(this, true); } on (release) { stopDrag(); if (this.\_droptarget == "/box9") { \_root.corSoun…

---

## [Can I add jpegs to browser cache](https://forum.kirupa.com/t/can-i-add-jpegs-to-browser-cache/267442)

<div class="topic-metadata">

**Author:** [@brandesign](https://forum.kirupa.com/u/brandesign)\
**Replies:** 0\
**Last updated:** [August 1, 2008, 2:55am UTC](https://forum.kirupa.com/t/can-i-add-jpegs-to-browser-cache/267442 "2008-08-01T02:55:40Z")

</div>

Hi, I've been working with this weird bug in my flash file for about 2 weeks now. Im trying to load images to my site through LoadMovie("something.jpg", content\_mc); which I've used several times before. It works fine ev…

---

## [loadClip into \_root?](https://forum.kirupa.com/t/loadclip-into--root/267441)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [August 1, 2008, 2:20am UTC](https://forum.kirupa.com/t/loadclip-into--root/267441 "2008-08-01T02:20:05Z")

</div>

I want to load my movie into \_root. I have preload.swf which all it is is the preloader and I want to load home\_page.swf. If I loadclip into a movieClip its fine, but not if I do \_root...or alternatively, 'this' Is i…

---

## [Gallery w/thumbnail Scroller, thumbnails load in same spot](https://forum.kirupa.com/t/gallery-w-thumbnail-scroller-thumbnails-load-in-same-spot/267439)

<div class="topic-metadata">

**Author:** [@xpo60rj](https://forum.kirupa.com/u/xpo60rj)\
**Replies:** 0\
**Last updated:** [August 1, 2008, 1:25am UTC](https://forum.kirupa.com/t/gallery-w-thumbnail-scroller-thumbnails-load-in-same-spot/267439 "2008-08-01T01:25:46Z")

</div>

i've followed this tutorial and when trying to recreate it from scratch on a bigger canvas my thumbnails all seem to load in the same spot even though i have placed my boundaries mc's to the left and right of my mask. wh…

---

## [as2.0 expand/collapse menu help needed](https://forum.kirupa.com/t/as2-0-expand-collapse-menu-help-needed/267437)

<div class="topic-metadata">

**Author:** [@gmb](https://forum.kirupa.com/u/gmb)\
**Replies:** 0\
**Last updated:** [August 1, 2008, 1:18am UTC](https://forum.kirupa.com/t/as2-0-expand-collapse-menu-help-needed/267437 "2008-08-01T01:18:59Z")

</div>

Hi, I'm working on an expand/collapse menu in as2.0, so far the menu expands properly but when I click on the next heading it doesn't collapse the same way it expanded, which is the effect I am trying to achieve. How …

---

## [Multiple Results](https://forum.kirupa.com/t/multiple-results/267430)

<div class="topic-metadata">

**Author:** [@Valerij](https://forum.kirupa.com/u/Valerij)\
**Replies:** 0\
**Last updated:** [July 31, 2008, 10:20pm UTC](https://forum.kirupa.com/t/multiple-results/267430 "2008-07-31T22:20:12Z")

</div>

Hi, I created some sort of a blog feature on my website, I only show the lastest post. But I want to make it posible to browse into the earlier posts by using the PHP pageing.. But when I go to next page I get the same r…

---

## [E-mail html](https://forum.kirupa.com/t/e-mail-html/267426)

<div class="topic-metadata">

**Author:** [@wes\_design](https://forum.kirupa.com/u/wes_design)\
**Replies:** 0\
**Last updated:** [July 31, 2008, 9:38pm UTC](https://forum.kirupa.com/t/e-mail-html/267426 "2008-07-31T21:38:03Z")

</div>

Does anyone know how to get a work-around to make links not be underlined in html emails ??

---

## [Loading in XML images;](https://forum.kirupa.com/t/loading-in-xml-images/267422)

<div class="topic-metadata">

**Author:** [@liam\_smart](https://forum.kirupa.com/u/liam_smart)\
**Replies:** 0\
**Last updated:** [July 31, 2008, 9:03pm UTC](https://forum.kirupa.com/t/loading-in-xml-images/267422 "2008-07-31T21:03:30Z")

</div>

Hi everyone, Has anyone got experience loading in PNG's or GIF's into empty movieclips? For some reason, only one of my PNG's will load (and its no the first one or last one, its not the smallest file sized one, so …

---

## [Loading external JPEG video effect](https://forum.kirupa.com/t/loading-external-jpeg-video-effect/267419)

<div class="topic-metadata">

**Author:** [@kimura](https://forum.kirupa.com/u/kimura)\
**Replies:** 0\
**Last updated:** [July 31, 2008, 8:44pm UTC](https://forum.kirupa.com/t/loading-external-jpeg-video-effect/267419 "2008-07-31T20:44:41Z")

</div>

Hello All, I know this is one the oldest in the book but please hear me out I have this software webcamXP that captures the video from my surveillance camera then creates and image called cam\_1.jpg every capture. Tha…

---

## [How Do You Fetch the Total Bytes of a File Before Loading It?](https://forum.kirupa.com/t/how-do-you-fetch-the-total-bytes-of-a-file-before-loading-it/267417)

<div class="topic-metadata">

**Author:** [@MoOMoOMiLK](https://forum.kirupa.com/u/MoOMoOMiLK)\
**Replies:** 0\
**Last updated:** [July 31, 2008, 8:19pm UTC](https://forum.kirupa.com/t/how-do-you-fetch-the-total-bytes-of-a-file-before-loading-it/267417 "2008-07-31T20:19:55Z")

</div>

I am just wondering how I can find out the size of a file before loading it in AS3. The property bytesTotal only works after you start loading the file. What I am trying to do here is to load a sequence of files one by…

---

## [Need direction on horizontal cursor controlled scrolling image menu](https://forum.kirupa.com/t/need-direction-on-horizontal-cursor-controlled-scrolling-image-menu/267415)

<div class="topic-metadata">

**Author:** [@gmb](https://forum.kirupa.com/u/gmb)\
**Replies:** 0\
**Last updated:** [July 31, 2008, 8:14pm UTC](https://forum.kirupa.com/t/need-direction-on-horizontal-cursor-controlled-scrolling-image-menu/267415 "2008-07-31T20:14:06Z")

</div>

Hi, I am working on a project that needs a cursor controlled horizontal scrolling image menu, that looks and functions exactly like the one here: http://www.baron-baron.com/test/test\_vers2/master.html click (on bot…

---

## [Full Screen Browser](https://forum.kirupa.com/t/full-screen-browser/267414)

<div class="topic-metadata">

**Author:** [@adnan794](https://forum.kirupa.com/u/adnan794)\
**Replies:** 0\
**Last updated:** [July 31, 2008, 8:13pm UTC](https://forum.kirupa.com/t/full-screen-browser/267414 "2008-07-31T20:13:24Z")

</div>

Hello I just have couple of question about full browser flash movies. How can you determine in advance at what resolution is the clients Pc like is it 800\*600, 1024\*768 or 1280\*800 etc? stage.Resize does not work …

---

## [Xbox Live Message Sender](https://forum.kirupa.com/t/xbox-live-message-sender/267412)

<div class="topic-metadata">

**Author:** [@Th3\_Dog](https://forum.kirupa.com/u/Th3_Dog)\
**Replies:** 0\
**Last updated:** [July 31, 2008, 7:45pm UTC](https://forum.kirupa.com/t/xbox-live-message-sender/267412 "2008-07-31T19:45:10Z")

</div>

Can someone make me a script using CURL that logs me into XBL through live.xbox.com so I can send members notifications on actions taken towards their account on my site. Anyone willing to help?

---

## [Mac OSX Dock](https://forum.kirupa.com/t/mac-osx-dock/267411)

<div class="topic-metadata">

**Author:** [@jasonhardwick](https://forum.kirupa.com/u/jasonhardwick)\
**Replies:** 0\
**Last updated:** [July 31, 2008, 7:26pm UTC](https://forum.kirupa.com/t/mac-osx-dock/267411 "2008-07-31T19:26:37Z")

</div>

I found a bit of code out there that creates a mac style dock but what i cant figure out is where to set the spacing of the icons in the dock any suggestions. /\* Free stuff. Do not redistribute. http://jrgraphix.ne…

---

## [How to communicate between movie clip and stage?](https://forum.kirupa.com/t/how-to-communicate-between-movie-clip-and-stage/267407)

<div class="topic-metadata">

**Author:** [@Pixelmech](https://forum.kirupa.com/u/Pixelmech)\
**Replies:** 0\
**Last updated:** [July 31, 2008, 6:57pm UTC](https://forum.kirupa.com/t/how-to-communicate-between-movie-clip-and-stage/267407 "2008-07-31T18:57:45Z")

</div>

I have a flash file in which I import a SWF into an empty MC like so: loadMovie("all-egms.swf", mySquare); In the base file, I have a datagrid and a few other objects. In the imported SWF, I click on a certain ite…

---

## [Using the getURL with passed data?](https://forum.kirupa.com/t/using-the-geturl-with-passed-data/267402)

<div class="topic-metadata">

**Author:** [@jonwest](https://forum.kirupa.com/u/jonwest)\
**Replies:** 0\
**Last updated:** [July 31, 2008, 5:47pm UTC](https://forum.kirupa.com/t/using-the-geturl-with-passed-data/267402 "2008-07-31T17:47:39Z")

</div>

I have a button that I need to pass the correct URL to. The problem I keep running into is that the data never passes correctly. It alyays gives me the last in the list. Here is a preview of the code functions. xml.…

---

## [Wind Directional Rotation coding -- how?](https://forum.kirupa.com/t/wind-directional-rotation-coding-how/267399)

<div class="topic-metadata">

**Author:** [@Rebel\_Star](https://forum.kirupa.com/u/Rebel_Star)\
**Replies:** 0\
**Last updated:** [July 31, 2008, 4:59pm UTC](https://forum.kirupa.com/t/wind-directional-rotation-coding-how/267399 "2008-07-31T16:59:29Z")

</div>

I am working on an app that will display data gathered from a weather station. The data is placed in an external XML file that the Flash app pulls in once every 10 seconds. Currently, I am trying to get the compass dis…

---

## [LoadMovie not Loading into container?](https://forum.kirupa.com/t/loadmovie-not-loading-into-container/267397)

<div class="topic-metadata">

**Author:** [@Jody](https://forum.kirupa.com/u/Jody)\
**Replies:** 0\
**Last updated:** [July 31, 2008, 4:46pm UTC](https://forum.kirupa.com/t/loadmovie-not-loading-into-container/267397 "2008-07-31T16:46:34Z")

</div>

Hey guys, hope everyone is doing great! Quick question: I have to mc's on the stage, and each of them loads an external movieclip into it. The thing is, when I simulate a download (by pressing cntrl+enter twice) the…

---

## [Flv Not Showing](https://forum.kirupa.com/t/flv-not-showing/267391)

<div class="topic-metadata">

**Author:** [@adfox](https://forum.kirupa.com/u/adfox)\
**Replies:** 0\
**Last updated:** [July 31, 2008, 3:46pm UTC](https://forum.kirupa.com/t/flv-not-showing/267391 "2008-07-31T15:46:14Z")

</div>

I have a problem with an SWF file playing a flv movie. It works fine on a local machine but when i transfer it to my windows 2003 server it just doesnt play at all. I have changed the mine type for .flv to video/x-fl…

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

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