# programming

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

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

**Page:** 1189

---

## [Centering JavaScript popup window](https://forum.kirupa.com/t/centering-javascript-popup-window/263664)

<div class="topic-metadata">

**Author:** [@GGMcGee](https://forum.kirupa.com/u/GGMcGee)\
**Replies:** 5\
**Last updated:** [June 19, 2008, 1:55am UTC](https://forum.kirupa.com/t/centering-javascript-popup-window/263664 "2008-06-19T01:55:11Z")

</div>

Hi, I’ve got some Javascript that creates a popup window. I was wondering what I can add in to make the popup center itself on the user’s screen? Only code I can find pushes the window however many pixels right and do…

---

## [FileReference, what else is there](https://forum.kirupa.com/t/filereference-what-else-is-there/263768)

<div class="topic-metadata">

**Author:** [@gustavopi](https://forum.kirupa.com/u/gustavopi)\
**Replies:** 0\
**Last updated:** [June 19, 2008, 1:42am UTC](https://forum.kirupa.com/t/filereference-what-else-is-there/263768 "2008-06-19T01:42:20Z")

</div>

Hi. I'm working with uploads and downloads via flash using FileReference class. Uploading file works wonderfull, but how I get the remote directory listing so the user may chose some file to download? I was thinking …

---

## [Crazy stuff (changing URL...)](https://forum.kirupa.com/t/crazy-stuff-changing-url/263760)

<div class="topic-metadata">

**Author:** [@domilucide](https://forum.kirupa.com/u/domilucide)\
**Replies:** 2\
**Last updated:** [June 19, 2008, 12:49am UTC](https://forum.kirupa.com/t/crazy-stuff-changing-url/263760 "2008-06-19T00:49:28Z")

</div>

Hey guys... here's something unusual: http://www.cloudraker.com/#/en/ Look at the address bar... (as you navigate the site of course). How can that be done ? Not in details but... if any of you guys have a hunch... I…

---

## [The devlopment of Propod (thinkswedish.com)](https://forum.kirupa.com/t/the-devlopment-of-propod-thinkswedish-com/263528)

<div class="topic-metadata">

**Author:** [@tmlildude](https://forum.kirupa.com/u/tmlildude)\
**Replies:** 4\
**Last updated:** [June 19, 2008, 12:33am UTC](https://forum.kirupa.com/t/the-devlopment-of-propod-thinkswedish-com/263528 "2008-06-19T00:33:44Z")

</div>

Hello, Iam new to this forum and also new into programming Iam planning to learn actionscript and flex together and trying to develop a blog like (\[COLOR=#336699\]www.thinkswedish.com\[/COLOR\]) it is a really good website …

---

## [Flash Can't Reach The Button](https://forum.kirupa.com/t/flash-cant-reach-the-button/262813)

<div class="topic-metadata">

**Author:** [@Jephz](https://forum.kirupa.com/u/Jephz)\
**Replies:** 19\
**Last updated:** [June 19, 2008, 12:20am UTC](https://forum.kirupa.com/t/flash-cant-reach-the-button/262813 "2008-06-19T00:20:53Z")

</div>

I'm experiencing a problem with my inventory system. I have a inventory that will hide/show itself whenever the mouse is over it. And inside "inventory", I have a couple of slots that should trace "Pres" whenever I click…

---

## [Clickable ad in Flash CS2](https://forum.kirupa.com/t/clickable-ad-in-flash-cs2/263755)

<div class="topic-metadata">

**Author:** [@DougDoug](https://forum.kirupa.com/u/DougDoug)\
**Replies:** 2\
**Last updated:** [June 19, 2008, 12:00am UTC](https://forum.kirupa.com/t/clickable-ad-in-flash-cs2/263755 "2008-06-19T00:00:00Z")

</div>

Hey guys, I'm a super beginner to Flash and it's my first time posting on this forum - looks like there's a lot of info and experts on here and I have been trying to figure out this one problem for a good while now, and …

---

## [How to do this in flash](https://forum.kirupa.com/t/how-to-do-this-in-flash/262680)

<div class="topic-metadata">

**Author:** [@max999](https://forum.kirupa.com/u/max999)\
**Replies:** 5\
**Last updated:** [June 18, 2008, 11:44pm UTC](https://forum.kirupa.com/t/how-to-do-this-in-flash/262680 "2008-06-18T23:44:30Z")

</div>

http://www.modofly.net/collections/journals-sketchbooks when you click on one of the pics it opens up a pop up window and the window under goes into an alpha mode, it is done with css and java but is there a way to do it…

---

## [Please help with this error](https://forum.kirupa.com/t/please-help-with-this-error/263376)

<div class="topic-metadata">

**Author:** [@mmfgamer5](https://forum.kirupa.com/u/mmfgamer5)\
**Replies:** 8\
**Last updated:** [June 18, 2008, 10:22pm UTC](https://forum.kirupa.com/t/please-help-with-this-error/263376 "2008-06-18T22:22:08Z")

</div>

Hi, I am using Flash 8's actionscript. I am making an application where when you select a colour from my colour selector it will make a glow effect. However when I do this, this happens: Error Scene=Scene 1, layer=action…

---

## [Stage Nightmare](https://forum.kirupa.com/t/stage-nightmare/263734)

<div class="topic-metadata">

**Author:** [@asthyanax](https://forum.kirupa.com/u/asthyanax)\
**Replies:** 2\
**Last updated:** [June 18, 2008, 10:12pm UTC](https://forum.kirupa.com/t/stage-nightmare/263734 "2008-06-18T22:12:30Z")

</div>

Hi everybody, After years of as, i finally look at AS3...it's a nightmare for me right now since a lot of things have changed. So now my problem is with the stage. I just want to change the x and y of a simple movie clip…

---

## [C+ and C ++ Games Graphics?](https://forum.kirupa.com/t/c-and-c-games-graphics/263320)

<div class="topic-metadata">

**Author:** [@dorame](https://forum.kirupa.com/u/dorame)\
**Replies:** 3\
**Last updated:** [June 18, 2008, 10:08pm UTC](https://forum.kirupa.com/t/c-and-c-games-graphics/263320 "2008-06-18T22:08:41Z")

</div>

How good are the graphics for c+ amd C++ like examples of the games. The answer will determine meh job.

---

## [Loading text into scrolling XML gallery](https://forum.kirupa.com/t/loading-text-into-scrolling-xml-gallery/263753)

<div class="topic-metadata">

**Author:** [@Newbie20](https://forum.kirupa.com/u/Newbie20)\
**Replies:** 0\
**Last updated:** [June 18, 2008, 9:46pm UTC](https://forum.kirupa.com/t/loading-text-into-scrolling-xml-gallery/263753 "2008-06-18T21:46:36Z")

</div>

Hi Everyone, I found this script that includes a scrolling thumbnail gallery. I only want the thumbnail part and i can make that work but i want to load some text in between each image. Is there a way to this? (My last…

---

## [Ant-game help needed](https://forum.kirupa.com/t/ant-game-help-needed/263644)

<div class="topic-metadata">

**Author:** [@Orava](https://forum.kirupa.com/u/Orava)\
**Replies:** 2\
**Last updated:** [June 18, 2008, 9:39pm UTC](https://forum.kirupa.com/t/ant-game-help-needed/263644 "2008-06-18T21:39:58Z")

</div>

~ SOLVED ~ ~but not fixed since i'm bored~ (but play the game if you want..) here's the game

---

## [Strange behaviour .swf header IE6 and IE7](https://forum.kirupa.com/t/strange-behaviour-swf-header-ie6-and-ie7/263748)

<div class="topic-metadata">

**Author:** [@maicolstaip](https://forum.kirupa.com/u/maicolstaip)\
**Replies:** 0\
**Last updated:** [June 18, 2008, 8:57pm UTC](https://forum.kirupa.com/t/strange-behaviour-swf-header-ie6-and-ie7/263748 "2008-06-18T20:57:29Z")

</div>

Hi all, I just made site with joomla + MisterEstate(Joomla component). Everything is working fine except a strange bahaviour with a flash header made with rainbowheader(plugin for dreamweaver). It's showing fine in every…

---

## [Async operations and Flash Player interferance with JS](https://forum.kirupa.com/t/async-operations-and-flash-player-interferance-with-js/263747)

<div class="topic-metadata">

**Author:** [@1Riptide](https://forum.kirupa.com/u/1Riptide)\
**Replies:** 0\
**Last updated:** [June 18, 2008, 8:54pm UTC](https://forum.kirupa.com/t/async-operations-and-flash-player-interferance-with-js/263747 "2008-06-18T20:54:59Z")

</div>

Question : Does ExternalInterface use async communications or not? I have read conflicting reports. The docs...strangley enough do not touch on this. Also - I am wondering about how URLLoader (And MovieClipLoader) work…

---

## [Can't dispatch event until I add child?](https://forum.kirupa.com/t/cant-dispatch-event-until-i-add-child/263439)

<div class="topic-metadata">

**Author:** [@ironchefmoto](https://forum.kirupa.com/u/ironchefmoto)\
**Replies:** 4\
**Last updated:** [June 18, 2008, 8:48pm UTC](https://forum.kirupa.com/t/cant-dispatch-event-until-i-add-child/263439 "2008-06-18T20:48:43Z")

</div>

I have a Shell.as document class loading several visual sub-classes which extend Sprite. One of those (the most basic one) is Background.as. This sub-class is responsible for loading the FLA's various graphical backgro…

---

## [Tabbed nav - trouble removing "tab" sprites](https://forum.kirupa.com/t/tabbed-nav-trouble-removing-tab-sprites/263276)

<div class="topic-metadata">

**Author:** [@ironchefmoto](https://forum.kirupa.com/u/ironchefmoto)\
**Replies:** 4\
**Last updated:** [June 18, 2008, 8:47pm UTC](https://forum.kirupa.com/t/tabbed-nav-trouble-removing-tab-sprites/263276 "2008-06-18T20:47:14Z")

</div>

I'm building a little widget that has 3-tab navigation. I've written the following classes (small subset, anyway) to control everything: \[LIST\] \[\*\]Shell.as - the document class, responds to navigation class and loads ta…

---

## [Convert multiple layers into a movie clip?](https://forum.kirupa.com/t/convert-multiple-layers-into-a-movie-clip/263739)

<div class="topic-metadata">

**Author:** [@dexa\_007](https://forum.kirupa.com/u/dexa_007)\
**Replies:** 0\
**Last updated:** [June 18, 2008, 8:18pm UTC](https://forum.kirupa.com/t/convert-multiple-layers-into-a-movie-clip/263739 "2008-06-18T20:18:15Z")

</div>

Hey guys, I've forgotten how to do this ... Midway through a project, I've decided to convert a section of my timeline into a Movie Clip instead of having those particular layers and frames merely residing as part of…

---

## [Page Flipping Component](https://forum.kirupa.com/t/page-flipping-component/263738)

<div class="topic-metadata">

**Author:** [@jcafaro10](https://forum.kirupa.com/u/jcafaro10)\
**Replies:** 0\
**Last updated:** [June 18, 2008, 8:15pm UTC](https://forum.kirupa.com/t/page-flipping-component/263738 "2008-06-18T20:15:58Z")

</div>

Can anyone direct me to somewhere where I may get an easy to use flash page flip component? I'd like to use the page flip effect to create a sort of magazine but I can't find a free one/one that I can figure out how to …

---

## [Div positie IE/FF](https://forum.kirupa.com/t/div-positie-ie-ff/263588)

<div class="topic-metadata">

**Author:** [@Dark\_Angel](https://forum.kirupa.com/u/Dark_Angel)\
**Replies:** 6\
**Last updated:** [June 18, 2008, 8:13pm UTC](https://forum.kirupa.com/t/div-positie-ie-ff/263588 "2008-06-18T20:13:25Z")

</div>

Hello, I have a problem with positioning in IE. In FireFox it´s all good :(. top: FF bottom: IE #container{ width:100%; background:url(../img/-background.jpg) bottom left repeat-x; } #menu{ position…

---

## [AS2 to AS3 - I'm lost](https://forum.kirupa.com/t/as2-to-as3-im-lost/263582)

<div class="topic-metadata">

**Author:** [@jhdc](https://forum.kirupa.com/u/jhdc)\
**Replies:** 4\
**Last updated:** [June 18, 2008, 7:57pm UTC](https://forum.kirupa.com/t/as2-to-as3-im-lost/263582 "2008-06-18T19:57:47Z")

</div>

I am trying to bring my site up to AS3, but I can't figure it out. Here's the code for my MC's in AS2. Any idea of how to convert it? Thanks! //--------------BUTTON FUNCTIONS----------------// function rollover(movieNa…

---

## [Preload PHP generated XML](https://forum.kirupa.com/t/preload-php-generated-xml/263614)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 2\
**Last updated:** [June 18, 2008, 7:57pm UTC](https://forum.kirupa.com/t/preload-php-generated-xml/263614 "2008-06-18T19:57:31Z")

</div>

I know it is possible to preload XML, but what about XML generated by PHP. For example, I am creating an XML file by making calls to a database and outputting it as XML: http://drewestate.com/new/2008/loadblog.php (rig…

---

## [Socket Help](https://forum.kirupa.com/t/socket-help/263732)

<div class="topic-metadata">

**Author:** [@Grosie](https://forum.kirupa.com/u/Grosie)\
**Replies:** 0\
**Last updated:** [June 18, 2008, 7:28pm UTC](https://forum.kirupa.com/t/socket-help/263732 "2008-06-18T19:28:57Z")

</div>

Hi, first post, but I have a socket question. I have written this PHP script and am executing it through a .bat file. #!/user/local/bin/php -q \<?php set\_time\_limit(0); $address = '127.0.0.1'; $port = 9000; $so…

---

## [Tweening RoundRect rectangles... help!](https://forum.kirupa.com/t/tweening-roundrect-rectangles-help/263395)

<div class="topic-metadata">

**Author:** [@nortago](https://forum.kirupa.com/u/nortago)\
**Replies:** 3\
**Last updated:** [June 18, 2008, 7:27pm UTC](https://forum.kirupa.com/t/tweening-roundrect-rectangles-help/263395 "2008-06-18T19:27:34Z")

</div>

Hi guys, I posted about this a while ago but didn't get a response and as It wasn't crucial I didn't bother bumping it... but now I'm kinda stuck \[smile\] So if anyone could help me with this?? Basically I need to twe…

---

## [Having trouble with mc's using audio/video](https://forum.kirupa.com/t/having-trouble-with-mcs-using-audio-video/263731)

<div class="topic-metadata">

**Author:** [@Nevada](https://forum.kirupa.com/u/Nevada)\
**Replies:** 2\
**Last updated:** [June 18, 2008, 7:22pm UTC](https://forum.kirupa.com/t/having-trouble-with-mcs-using-audio-video/263731 "2008-06-18T19:22:37Z")

</div>

Hi all. I use Kirupa all the time but just signed up cause I couldn't find the exact help I need. I usually like to tinker around and figure stuff out, but, I'm on a time crunch on this one. I'm doing a site for a a …

---

## [Bypass lockroot?](https://forum.kirupa.com/t/bypass-lockroot/263600)

<div class="topic-metadata">

**Author:** [@artriste](https://forum.kirupa.com/u/artriste)\
**Replies:** 8\
**Last updated:** [June 18, 2008, 7:00pm UTC](https://forum.kirupa.com/t/bypass-lockroot/263600 "2008-06-18T19:00:57Z")

</div>

Is it possible to bypass \[COLOR="DarkOrange"\]this.lockroot = true;\[/COLOR\] for just one function? And make sure it stays lock for the rest of the code...

---

## [Tab key problems still](https://forum.kirupa.com/t/tab-key-problems-still/263728)

<div class="topic-metadata">

**Author:** [@lemorris](https://forum.kirupa.com/u/lemorris)\
**Replies:** 1\
**Last updated:** [June 18, 2008, 6:54pm UTC](https://forum.kirupa.com/t/tab-key-problems-still/263728 "2008-06-18T18:54:23Z")

</div>

I'm still having major issues with this Tab key situation. I tried to add a listener but nothing happens....I mean nothing happens. keyListener.onKeyDown = function() { if (Key.isDown(Key.TAB)) { if(des.text != "…

---

## [Image width set and height proportional problem. Help](https://forum.kirupa.com/t/image-width-set-and-height-proportional-problem-help/263730)

<div class="topic-metadata">

**Author:** [@mustang\_lex](https://forum.kirupa.com/u/mustang_lex)\
**Replies:** 0\
**Last updated:** [June 18, 2008, 6:52pm UTC](https://forum.kirupa.com/t/image-width-set-and-height-proportional-problem-help/263730 "2008-06-18T18:52:20Z")

</div>

Hey Guys. I have this script that will load an external photo into a container. The problem is that the script is set to input an exact width and height. I would like it so I can set the width to like 150px and the heigh…

---

## [Help animating a stroke AS 2.0](https://forum.kirupa.com/t/help-animating-a-stroke-as-2-0/263712)

<div class="topic-metadata">

**Author:** [@stv](https://forum.kirupa.com/u/stv)\
**Replies:** 1\
**Last updated:** [June 18, 2008, 6:07pm UTC](https://forum.kirupa.com/t/help-animating-a-stroke-as-2-0/263712 "2008-06-18T18:07:50Z")

</div>

My goal is to get a single stroke to animate randomly every time I open the animation. My code seems to be creating a new strokes during the animation causing them to stack on top of each other. This animation would work…

---

## [Controlling loaded movieclip button events!](https://forum.kirupa.com/t/controlling-loaded-movieclip-button-events/263695)

<div class="topic-metadata">

**Author:** [@anix](https://forum.kirupa.com/u/anix)\
**Replies:** 2\
**Last updated:** [June 18, 2008, 5:59pm UTC](https://forum.kirupa.com/t/controlling-loaded-movieclip-button-events/263695 "2008-06-18T17:59:30Z")

</div>

Hi i am creating a portfolio website and i am loading various SWF files into a empty movieclip on the main stage called "holder". one of the loaded movie clips is called "multmad.swf" and it has a button on it that i was…

---

## [Random photo background](https://forum.kirupa.com/t/random-photo-background/263726)

<div class="topic-metadata">

**Author:** [@ilikemyself](https://forum.kirupa.com/u/ilikemyself)\
**Replies:** 0\
**Last updated:** [June 18, 2008, 5:37pm UTC](https://forum.kirupa.com/t/random-photo-background/263726 "2008-06-18T17:37:58Z")

</div>

I have a xml gallery and i want it's background to change randomly when i go to different photos, how is that anyone knows tutorials or how to do it?

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

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