# programming

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

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

**Page:** 735

---

## [Script that keeps running after browser is shut down](https://forum.kirupa.com/t/script-that-keeps-running-after-browser-is-shut-down/293792)

<div class="topic-metadata">

**Author:** [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 1:23am UTC](https://forum.kirupa.com/t/script-that-keeps-running-after-browser-is-shut-down/293792 "2009-08-04T01:23:35Z")

</div>

HI I need a script that keeps running if the browser is shut down and I have no idea where to start. Can anyone give me a tip? Thanks \[smile\]

---

## [Help with A-level project](https://forum.kirupa.com/t/help-with-a-level-project/293791)

<div class="topic-metadata">

**Author:** [@musername](https://forum.kirupa.com/u/musername)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 1:03am UTC](https://forum.kirupa.com/t/help-with-a-level-project/293791 "2009-08-04T01:03:12Z")

</div>

Hey, i'm new to the forum, and i'm pretty new to flash, i have a basic knowledge of how stuff works and i know my way around, but i know nout about actionscript and i'm not very good at motion tweening. Long story short,…

---

## [AS2: Dynamically referencing ROOT](https://forum.kirupa.com/t/as2-dynamically-referencing-root/293790)

<div class="topic-metadata">

**Author:** [@madhat](https://forum.kirupa.com/u/madhat)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 12:05am UTC](https://forum.kirupa.com/t/as2-dynamically-referencing-root/293790 "2009-08-04T00:05:17Z")

</div>

Hi All, I am having trouble dynamically changing the reference to root in my movies. Here's what I'm trying to do: I have a main movie(\_level0.mainMovie) that I am loading external .swfs into. However, I want to be able …

---

## [When game restarts, does not run correctly, how can I fix?](https://forum.kirupa.com/t/when-game-restarts-does-not-run-correctly-how-can-i-fix/293789)

<div class="topic-metadata">

**Author:** [@glovaxlr](https://forum.kirupa.com/u/glovaxlr)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 11:26pm UTC](https://forum.kirupa.com/t/when-game-restarts-does-not-run-correctly-how-can-i-fix/293789 "2009-08-03T23:26:08Z")

</div>

Hi guys! I'm making a game.. here's the source. \[image\] When you fail a level, screen comes up asking you to click to restart. When you do this, it goes back to the front screen, but you no longer have any control o…

---

## [\[Flash CS4 AS2\] Stage too small/please resize message - please help!](https://forum.kirupa.com/t/flash-cs4-as2-stage-too-small-please-resize-message-please-help/293787)

<div class="topic-metadata">

**Author:** [@KaH](https://forum.kirupa.com/u/KaH)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 10:24pm UTC](https://forum.kirupa.com/t/flash-cs4-as2-stage-too-small-please-resize-message-please-help/293787 "2009-08-03T22:24:44Z")

</div>

I apologize for being completely new to Flash - the solution to this question may be really obvious, but I'm missing it. I'm trying to create an effect similar to the one on http://www.ff0000.com/ when the browser windo…

---

## [Dynamically Run Functions](https://forum.kirupa.com/t/dynamically-run-functions/293786)

<div class="topic-metadata">

**Author:** [@midimid](https://forum.kirupa.com/u/midimid)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 10:08pm UTC](https://forum.kirupa.com/t/dynamically-run-functions/293786 "2009-08-03T22:08:10Z")

</div>

I'd like a generic function that can take: a) object/array containing various classed items b) method to run on them i.e.: var itemA = new Item(); var itemB = new Item(); var obj:Object = new Object(); obj.itemA = …

---

## [AS3 version of this menu;](https://forum.kirupa.com/t/as3-version-of-this-menu/293785)

<div class="topic-metadata">

**Author:** [@JeffC](https://forum.kirupa.com/u/JeffC)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 10:02pm UTC](https://forum.kirupa.com/t/as3-version-of-this-menu/293785 "2009-08-03T22:02:14Z")

</div>

http://flashexplained.com/menus-inte...with-a-slider/ Hello, Does anybody have an AS3 version of the menu tutorial that I've linked to? I'm new with AS3, and having some problems migrating over..haha. Thanks.

---

## [Dynamic text Scroll](https://forum.kirupa.com/t/dynamic-text-scroll/293784)

<div class="topic-metadata">

**Author:** [@mrManIsHere](https://forum.kirupa.com/u/mrManIsHere)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 9:13pm UTC](https://forum.kirupa.com/t/dynamic-text-scroll/293784 "2009-08-03T21:13:34Z")

</div>

I've got this .txt file im loding into a dynamic textfield, and I would like to be able to scroll the text by sliding the mouse over the textbox. Depending on where the cursor is, it goes up or down. It seems that it sho…

---

## [Flash PHP Forms](https://forum.kirupa.com/t/flash-php-forms/293783)

<div class="topic-metadata">

**Author:** [@jinx1000sx](https://forum.kirupa.com/u/jinx1000sx)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 8:16pm UTC](https://forum.kirupa.com/t/flash-php-forms/293783 "2009-08-03T20:16:45Z")

</div>

Hey Folks, I need a hand! Any body has an idea to tackle flash 8 forms with PHP, I ve tried to view loads of information, but no solution yet. Got my Flash send button configured like this on (release) { // send …

---

## [Div not centering in Firefox, but fine in IE](https://forum.kirupa.com/t/div-not-centering-in-firefox-but-fine-in-ie/293782)

<div class="topic-metadata">

**Author:** [@jpearson311](https://forum.kirupa.com/u/jpearson311)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 8:06pm UTC](https://forum.kirupa.com/t/div-not-centering-in-firefox-but-fine-in-ie/293782 "2009-08-03T20:06:16Z")

</div>

Hi all. I have a div that I'm trying to center. It's working fine in IE, but not in Firefox. I have it positioned because I'm using z-index and when I take the position attribute away, it centers, but I have to have a …

---

## [XMLSocket Error #2048](https://forum.kirupa.com/t/xmlsocket-error-2048/293780)

<div class="topic-metadata">

**Author:** [@mvillara](https://forum.kirupa.com/u/mvillara)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 7:33pm UTC](https://forum.kirupa.com/t/xmlsocket-error-2048/293780 "2009-08-03T19:33:58Z")

</div>

Hi Everyone, Im looking for a solution for the Error #2048 from Flash. I have a server program developed in Java using the class xSocket and it works fine. It manage the clients from Flash. Well, once i installed the …

---

## [TextField nested in MovieClip Issue](https://forum.kirupa.com/t/textfield-nested-in-movieclip-issue/293779)

<div class="topic-metadata">

**Author:** [@MatrixAgent1984](https://forum.kirupa.com/u/MatrixAgent1984)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 7:26pm UTC](https://forum.kirupa.com/t/textfield-nested-in-movieclip-issue/293779 "2009-08-03T19:26:09Z")

</div>

var tf:TextField = new TextField(); tf.text = "abc"; var mc:MovieClip = new MovieClip(); mc.addChild(tf); trace(mc.tf.text); Why does the trace statement throw me an error?

---

## [CDK - Objects velocities are weird in some cases](https://forum.kirupa.com/t/cdk-objects-velocities-are-weird-in-some-cases/293777)

<div class="topic-metadata">

**Author:** [@Overkill1010](https://forum.kirupa.com/u/Overkill1010)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 5:36pm UTC](https://forum.kirupa.com/t/cdk-objects-velocities-are-weird-in-some-cases/293777 "2009-08-03T17:36:24Z")

</div>

Hi all.. Im using the CollisionDetectionKit v 1.5 by Corey.. For anyone who isnt familiar with the kit , just take for granted that ob1 and ob2 are the 2 objects colliding, and that myAngle is the value of the acute an…

---

## ["hungerbar" help](https://forum.kirupa.com/t/hungerbar-help/293776)

<div class="topic-metadata">

**Author:** [@evgiz](https://forum.kirupa.com/u/evgiz)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 5:29pm UTC](https://forum.kirupa.com/t/hungerbar-help/293776 "2009-08-03T17:29:05Z")

</div>

i need help to make a hunger bar (doing this too) hunger = 100 every 60 sek this -1 if hunger = 0, pet , gotoAndPlay(death):ko: if food hit pet, hunger +10, pet gotoAndPlay (eat) i cant even make a bar so a ful…

---

## [Extreme zoom from globe to close-up satellite imagery?](https://forum.kirupa.com/t/extreme-zoom-from-globe-to-close-up-satellite-imagery/293775)

<div class="topic-metadata">

**Author:** [@simonx314](https://forum.kirupa.com/u/simonx314)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 5:25pm UTC](https://forum.kirupa.com/t/extreme-zoom-from-globe-to-close-up-satellite-imagery/293775 "2009-08-03T17:25:15Z")

</div>

Hi. I'm trying to create a flash application which displayes 20 locations on a U.S map. Right now I have a satellite image of the U.S, and if you click on a location it zooms and you see a close up. I am achieving thi…

---

## [\[Flash CS4\] html popup window help](https://forum.kirupa.com/t/flash-cs4-html-popup-window-help/293774)

<div class="topic-metadata">

**Author:** [@knowcontrol](https://forum.kirupa.com/u/knowcontrol)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 5:01pm UTC](https://forum.kirupa.com/t/flash-cs4-html-popup-window-help/293774 "2009-08-03T17:01:08Z")

</div>

Hi, I followed the instructions from http://www.kirupa.com/developer/flash5/newwindow.htm and everything works as advertised. However, I'd like to make multiple buttons that call different web pages. How can this…

---

## [Sliding Horizontal menu](https://forum.kirupa.com/t/sliding-horizontal-menu/293773)

<div class="topic-metadata">

**Author:** [@neeldin](https://forum.kirupa.com/u/neeldin)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 4:59pm UTC](https://forum.kirupa.com/t/sliding-horizontal-menu/293773 "2009-08-03T16:59:15Z")

</div>

hi friends i m looking for a script to make a horizontal sliding menu just like one of the at the site www.carron.com pls do the needful Thanks Dinesh

---

## [.swf not acknowledging some AS](https://forum.kirupa.com/t/swf-not-acknowledging-some-as/293769)

<div class="topic-metadata">

**Author:** [@r3h0ld3r](https://forum.kirupa.com/u/r3h0ld3r)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 2:52pm UTC](https://forum.kirupa.com/t/swf-not-acknowledging-some-as/293769 "2009-08-03T14:52:39Z")

</div>

I've scripted a small flash file that for some reason, does not throw any errors but does not apply the tweens I have set for the beggining... Please take a look at what I mean: import gs.TweenLite; import gs.easing…

---

## [Reuse loaded object](https://forum.kirupa.com/t/reuse-loaded-object/293768)

<div class="topic-metadata">

**Author:** [@vxd](https://forum.kirupa.com/u/vxd)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 2:52pm UTC](https://forum.kirupa.com/t/reuse-loaded-object/293768 "2009-08-03T14:52:24Z")

</div>

Hi All, I've come across a problem. I'm developing a gallery and I've just relised I've been creating a new set of thumbnails each time I click on the image category. There are four Categories and everytime I click o…

---

## [Go To Fullscreen with SWFAddress](https://forum.kirupa.com/t/go-to-fullscreen-with-swfaddress/293767)

<div class="topic-metadata">

**Author:** [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 1:48pm UTC](https://forum.kirupa.com/t/go-to-fullscreen-with-swfaddress/293767 "2009-08-03T13:48:17Z")

</div>

Hi I am using SWF address. With my site where I am NOT using the function to go to fullscreen works just fine. The problem is that when I use the HTML of SWFAddress I can't get the fullscreen working. I hope someon…

---

## [Class variable to stage textfield?](https://forum.kirupa.com/t/class-variable-to-stage-textfield/293762)

<div class="topic-metadata">

**Author:** [@soundman](https://forum.kirupa.com/u/soundman)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 12:12pm UTC](https://forum.kirupa.com/t/class-variable-to-stage-textfield/293762 "2009-08-03T12:12:48Z")

</div>

AS3 first-timer... simple question (i hope), how to display a variable from within a class in a textfield on the stage? I've been trying for ages and can't figure it out...

---

## [Creating basic 3D objects in Flash CS4](https://forum.kirupa.com/t/creating-basic-3d-objects-in-flash-cs4/293761)

<div class="topic-metadata">

**Author:** [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 10:41am UTC](https://forum.kirupa.com/t/creating-basic-3d-objects-in-flash-cs4/293761 "2009-08-03T10:41:16Z")

</div>

OK, excuse me if it looks like I'm asking for directions to something I should be able to find pretty easily on my own; but I've hit a bit of a coding dead-end, and could do with pointing in the right direction. I've s…

---

## [Preload .txt file?](https://forum.kirupa.com/t/preload-txt-file/293754)

<div class="topic-metadata">

**Author:** [@eschu](https://forum.kirupa.com/u/eschu)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 9:14am UTC](https://forum.kirupa.com/t/preload-txt-file/293754 "2009-08-03T09:14:29Z")

</div>

Hey everyone, I was wondering if it was possible to preload an external .txt file as the rest of the flash is being preloaded. Thanks, Eric

---

## [UI InputText and Dymanic text](https://forum.kirupa.com/t/ui-inputtext-and-dymanic-text/293748)

<div class="topic-metadata">

**Author:** [@ron\_ron](https://forum.kirupa.com/u/ron_ron)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 7:15am UTC](https://forum.kirupa.com/t/ui-inputtext-and-dymanic-text/293748 "2009-08-03T07:15:37Z")

</div>

How to make display a TextInput (UI componant) text in a dynamic text box? I've got 5 TextInput fields, when I press TEB (keyboard) always the next Input text box is highlighted in glowing green. Can this be changed to…

---

## [Trouble with preloader and getNextHighestDepth](https://forum.kirupa.com/t/trouble-with-preloader-and-getnexthighestdepth/293741)

<div class="topic-metadata">

**Author:** [@JAmp5](https://forum.kirupa.com/u/JAmp5)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 1:01am UTC](https://forum.kirupa.com/t/trouble-with-preloader-and-getnexthighestdepth/293741 "2009-08-03T01:01:01Z")

</div>

I have a problem with a preloader on a slideshow. The preloader works perfectly the first time the slideshow is loaded but if you move to another frame and then return the loader bar loads in the top left hand corner of …

---

## [ADDED\_TO\_STAGE in keyframe as?](https://forum.kirupa.com/t/added-to-stage-in-keyframe-as/293740)

<div class="topic-metadata">

**Author:** [@patrickjv](https://forum.kirupa.com/u/patrickjv)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 12:28am UTC](https://forum.kirupa.com/t/added-to-stage-in-keyframe-as/293740 "2009-08-03T00:28:26Z")

</div>

This is really weird. I have 2 MC's in Library, "mc" and "mc2". Both are added in main timeline with var aaa = new mc(); addChild(aaa) var bbb = new mc2(); addChild(bbb) "mc" has keyframe script and "mc2" a .as cl…

---

## [Load swf?](https://forum.kirupa.com/t/load-swf/293738)

<div class="topic-metadata">

**Author:** [@SLaY](https://forum.kirupa.com/u/SLaY)\
**Replies:** 0\
**Last updated:** [August 2, 2009, 11:49pm UTC](https://forum.kirupa.com/t/load-swf/293738 "2009-08-02T23:49:55Z")

</div>

Hey ppl, I have a little problem. I'm doing this site which is attached, the animation is in one frame and the site is in another, I don't know how I should connect the both of them. In one swf I have the animation…

---

## [Tab highlight does not scroll w/ MovieClip](https://forum.kirupa.com/t/tab-highlight-does-not-scroll-w-movieclip/293736)

<div class="topic-metadata">

**Author:** [@applesgimme](https://forum.kirupa.com/u/applesgimme)\
**Replies:** 0\
**Last updated:** [August 2, 2009, 11:08pm UTC](https://forum.kirupa.com/t/tab-highlight-does-not-scroll-w-movieclip/293736 "2009-08-02T23:08:24Z")

</div>

Hi I'm seeing a weird problem I'm hoping someone can shed some light on. I'm loading Flash CS4 swf into a Flex 3.2 application using a SWFLoader. The problem I'm seeing is that if I tab to a MovieClip control, then s…

---

## [Can we import a picture to mc, without upload?](https://forum.kirupa.com/t/can-we-import-a-picture-to-mc-without-upload/293733)

<div class="topic-metadata">

**Author:** [@sempase](https://forum.kirupa.com/u/sempase)\
**Replies:** 0\
**Last updated:** [August 2, 2009, 10:13pm UTC](https://forum.kirupa.com/t/can-we-import-a-picture-to-mc-without-upload/293733 "2009-08-02T22:13:33Z")

</div>

hi friends, Can we import a picture to mc, without upload? for example, when we click browse button and select picture from pc, can it be ? or only use upload? how can i solve this? thanks.

---

## [AS3 OOP - Best design / efficiency practices?](https://forum.kirupa.com/t/as3-oop-best-design-efficiency-practices/293729)

<div class="topic-metadata">

**Author:** [@dingo](https://forum.kirupa.com/u/dingo)\
**Replies:** 0\
**Last updated:** [August 2, 2009, 7:48pm UTC](https://forum.kirupa.com/t/as3-oop-best-design-efficiency-practices/293729 "2009-08-02T19:48:04Z")

</div>

Howdy. So I've been developing a lot more complex Flash projects as of late, and I often find myself fussing over the same decisions over and over. I try to follow good OOP practices as best I can, so I can have nice cle…

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

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