# programming

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

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

**Page:** 353

---

## [2 screens...1 swf](https://forum.kirupa.com/t/2-screens-1-swf/317858)

<div class="topic-metadata">

**Author:** [@FlawlessDog](https://forum.kirupa.com/u/FlawlessDog)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 10:14pm UTC](https://forum.kirupa.com/t/2-screens-1-swf/317858 "2011-01-04T22:14:30Z")

</div>

I have an interesting problem to solve... I need to basically create an image gallery. Ok, so far not so hard. Good xml gallery will do. Next, in one swf...I need to display onto 2 screens. ok...again...maybe not so ha…

---

## [Formmail variables](https://forum.kirupa.com/t/formmail-variables/317854)

<div class="topic-metadata">

**Author:** [@alva](https://forum.kirupa.com/u/alva)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 7:49pm UTC](https://forum.kirupa.com/t/formmail-variables/317854 "2011-01-04T19:49:33Z")

</div>

I'm trying to make a formmail for a couple of days now and I can't get the variables from to pass from Flash to php. The php is found and called correctly, because the mail is sent, but the message isn't there. In fla…

---

## [Local persistent remote shared object](https://forum.kirupa.com/t/local-persistent-remote-shared-object/317853)

<div class="topic-metadata">

**Author:** [@psvdwal](https://forum.kirupa.com/u/psvdwal)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 7:40pm UTC](https://forum.kirupa.com/t/local-persistent-remote-shared-object/317853 "2011-01-04T19:40:26Z")

</div>

I am writing code for an app that uses a Remote Shared Object as a database. I want that shared object to be locally persistent, which is an option you can set by defining the file location ("/") of the local file: var…

---

## [Help with Countdown timers](https://forum.kirupa.com/t/help-with-countdown-timers/317851)

<div class="topic-metadata">

**Author:** [@cup\_joe](https://forum.kirupa.com/u/cup_joe)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 6:25pm UTC](https://forum.kirupa.com/t/help-with-countdown-timers/317851 "2011-01-04T18:25:47Z")

</div>

Hi Kirupa Forum Community, I am a new user who has been searching high and low on how to do a very specific countdown timer effect in Flash. I am a graphic designer that has minimal Flash experience although I can get si…

---

## [Flash sample of Kirupa](https://forum.kirupa.com/t/flash-sample-of-kirupa/317850)

<div class="topic-metadata">

**Author:** [@Rockamedia](https://forum.kirupa.com/u/Rockamedia)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 5:55pm UTC](https://forum.kirupa.com/t/flash-sample-of-kirupa/317850 "2011-01-04T17:55:04Z")

</div>

I am new to flash and was working with the Kirupa tutorial that showed the letters of Kirupa being moved and fading, all done within 30 frames. The example that was posted is so smooth and slow in its transition. I follo…

---

## [Multiple onmouseover/onclick targets from one button- possible?](https://forum.kirupa.com/t/multiple-onmouseover-onclick-targets-from-one-button-possible/317848)

<div class="topic-metadata">

**Author:** [@drnen101](https://forum.kirupa.com/u/drnen101)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 4:54pm UTC](https://forum.kirupa.com/t/multiple-onmouseover-onclick-targets-from-one-button-possible/317848 "2011-01-04T16:54:34Z")

</div>

Currently been using some simple java and some onmouseover and onclick events to load into some targeted \<object\>'s. My hope is to have TWO targets loaded at the same time. So for example, here is current code: \<div id…

---

## [embedFonts and TextLineMetrics.width problem](https://forum.kirupa.com/t/embedfonts-and-textlinemetrics-width-problem/317847)

<div class="topic-metadata">

**Author:** [@bftawfik](https://forum.kirupa.com/u/bftawfik)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 4:31pm UTC](https://forum.kirupa.com/t/embedfonts-and-textlinemetrics-width-problem/317847 "2011-01-04T16:31:23Z")

</div>

i have this problem when i use the "embedFonts = true" i get the "TextLineMetrics.width =0" while i'm sure i have text in the TextField any one knew why and how can i fix this ?? this is the code : var metrics:TextLineMe…

---

## [Collision Detection Kit and player](https://forum.kirupa.com/t/collision-detection-kit-and-player/317846)

<div class="topic-metadata">

**Author:** [@Antago](https://forum.kirupa.com/u/Antago)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 4:15pm UTC](https://forum.kirupa.com/t/collision-detection-kit-and-player/317846 "2011-01-04T16:15:50Z")

</div>

I'm trying to use Cory Oneil's Collision Detection Kit for managing collisions. The problem I am coming across is I will be having a lot of different objects that collide with each other. Naturally, the CollisionGroup …

---

## [AS3 - connection flash and php](https://forum.kirupa.com/t/as3-connection-flash-and-php/317845)

<div class="topic-metadata">

**Author:** [@Superman123](https://forum.kirupa.com/u/Superman123)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 4:00pm UTC](https://forum.kirupa.com/t/as3-connection-flash-and-php/317845 "2011-01-04T16:00:06Z")

</div>

Hello all, I have problem with connection flash actionscript 3 and php. Normally it's ok, if I put code on main scene. Problem starts, when it I want in personal class\[FONT=Arial\] . \[/FONT\] Error: 1046: Type was…

---

## [Help needed with switching sounds based on visibility](https://forum.kirupa.com/t/help-needed-with-switching-sounds-based-on-visibility/317842)

<div class="topic-metadata">

**Author:** [@justicity](https://forum.kirupa.com/u/justicity)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 3:38pm UTC](https://forum.kirupa.com/t/help-needed-with-switching-sounds-based-on-visibility/317842 "2011-01-04T15:38:15Z")

</div>

Hi, new around here so sorry if I've got anything wrong. I haven't been using Flash long enough to know if I'm using Flash 8 Actionscript or Flash MX 2004 Actionscript, etc. I don't really know the difference or where to…

---

## [XML bold in Flash2004 not working](https://forum.kirupa.com/t/xml-bold-in-flash2004-not-working/317838)

<div class="topic-metadata">

**Author:** [@steff1010](https://forum.kirupa.com/u/steff1010)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 1:48pm UTC](https://forum.kirupa.com/t/xml-bold-in-flash2004-not-working/317838 "2011-01-04T13:48:38Z")

</div>

I am trying to bold a line of text in my XML and it is coming up undefined and deleting all text that comes after it this is what it looks like... \<txtField id="text"\>\<b\>Review Inventory\</b\> all other text here.... ... …

---

## ['If' and a specific var not working -.-](https://forum.kirupa.com/t/if-and-a-specific-var-not-working/317836)

<div class="topic-metadata">

**Author:** [@vbkun](https://forum.kirupa.com/u/vbkun)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 12:46pm UTC](https://forum.kirupa.com/t/if-and-a-specific-var-not-working/317836 "2011-01-04T12:46:49Z")

</div>

Hi! I'm having huge problems to get a really simple if statement to work, after a few checks i noticed the problem was in my condition! To review it: -On first frame i have set a var 'var foto2 = 'oie';' (just decl…

---

## [Definiton Of Drug Addicton](https://forum.kirupa.com/t/definiton-of-drug-addicton/317834)

<div class="topic-metadata">

**Author:** [@NackNidovok](https://forum.kirupa.com/u/NackNidovok)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 11:57am UTC](https://forum.kirupa.com/t/definiton-of-drug-addicton/317834 "2011-01-04T11:57:43Z")

</div>

Teen Drugs Marijuana http://www.bergensinc.com/ - ativan medication Ativan may be associated with some side effects. ativan 2mg

---

## [Server Probelm](https://forum.kirupa.com/t/server-probelm/317831)

<div class="topic-metadata">

**Author:** [@ramprabhucse](https://forum.kirupa.com/u/ramprabhucse)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 9:57am UTC](https://forum.kirupa.com/t/server-probelm/317831 "2011-01-04T09:57:55Z")

</div>

hi I am using AIR with tomcat..(blaze ds as bridge) but i changed in service.config also in server side but i got the following error..please explain.how to rectify this problem Result : \[RPC Fault faultString="Send …

---

## [Accessing variable from another class](https://forum.kirupa.com/t/accessing-variable-from-another-class/317830)

<div class="topic-metadata">

**Author:** [@tlhood1080](https://forum.kirupa.com/u/tlhood1080)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 9:52am UTC](https://forum.kirupa.com/t/accessing-variable-from-another-class/317830 "2011-01-04T09:52:31Z")

</div>

I'm having trouble setting up my Ball class so I can set a variable which I can then access in another class later. I'm under the impression you can only do this with a public static var, but when I try to make my variab…

---

## [Hope to play your favorite game on Mac?](https://forum.kirupa.com/t/hope-to-play-your-favorite-game-on-mac/317828)

<div class="topic-metadata">

**Author:** [@daney](https://forum.kirupa.com/u/daney)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 8:23am UTC](https://forum.kirupa.com/t/hope-to-play-your-favorite-game-on-mac/317828 "2011-01-04T08:23:42Z")

</div>

\[FONT=宋体\] \[COLOR=#004080\]In order to appreciate your consistent supporting, we – iCoolsoft - carry on the promotion up to 60% discount on the eve of Christmas Day. And you can enjoy the favorable treatment no matter wh…

---

## [How to detect position of each tile on a grid for pathfinding in isometric game](https://forum.kirupa.com/t/how-to-detect-position-of-each-tile-on-a-grid-for-pathfinding-in-isometric-game/317823)

<div class="topic-metadata">

**Author:** [@iceherosubzero](https://forum.kirupa.com/u/iceherosubzero)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 6:29am UTC](https://forum.kirupa.com/t/how-to-detect-position-of-each-tile-on-a-grid-for-pathfinding-in-isometric-game/317823 "2011-01-04T06:29:28Z")

</div>

Hello All I am making an isometric game in flash and wanting to do pathfinding. I have all the code ready and working fine, the only thing is that I am not able to move my character to the location where the user click…

---

## [Text Field Variable Issues](https://forum.kirupa.com/t/text-field-variable-issues/317819)

<div class="topic-metadata">

**Author:** [@jfx1026](https://forum.kirupa.com/u/jfx1026)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 2:45am UTC](https://forum.kirupa.com/t/text-field-variable-issues/317819 "2011-01-04T02:45:16Z")

</div>

I'm keeping score in a game. I have a text field with an instance name "finalScore". The score is a Number. trace ("score = "+score); finalScore.text = String(score); trace ("finalScore = "+finalScore); The output …

---

## [Cursor Animation](https://forum.kirupa.com/t/cursor-animation/317818)

<div class="topic-metadata">

**Author:** [@mrdamon](https://forum.kirupa.com/u/mrdamon)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 12:56am UTC](https://forum.kirupa.com/t/cursor-animation/317818 "2011-01-04T00:56:52Z")

</div>

Hello all and Happy New Year. I saw a cool cursor effect in flash where the mouse rolls over an object then a text box or object appears at the tip of the cursor and moves with the cursor until you roll out (or off) th…

---

## [If statement does not work](https://forum.kirupa.com/t/if-statement-does-not-work/317817)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 12:34am UTC](https://forum.kirupa.com/t/if-statement-does-not-work/317817 "2011-01-04T00:34:02Z")

</div>

the problem is that for some reason my if statement doesn't work if( key.isDown( Keyboard.UP ) ) { ship.thrust-=.02; …

---

## [Igonoring a function call](https://forum.kirupa.com/t/igonoring-a-function-call/317815)

<div class="topic-metadata">

**Author:** [@jfx1026](https://forum.kirupa.com/u/jfx1026)\
**Replies:** 0\
**Last updated:** [January 3, 2011, 11:43pm UTC](https://forum.kirupa.com/t/igonoring-a-function-call/317815 "2011-01-03T23:43:58Z")

</div>

I'm building a simple matching game (still really early on) and I'm running into an odd situation where I'm making a simple function call and getting not action what-so-ever. Not even an error. Here's the function /…

---

## [as3.0 shopping cart](https://forum.kirupa.com/t/as3-0-shopping-cart/317814)

<div class="topic-metadata">

**Author:** [@Ineedsleep](https://forum.kirupa.com/u/Ineedsleep)\
**Replies:** 0\
**Last updated:** [January 3, 2011, 10:35pm UTC](https://forum.kirupa.com/t/as3-0-shopping-cart/317814 "2011-01-03T22:35:09Z")

</div>

Hi, I found this: http://www.flashmint.com/template-demo-2809.html I dont have a project that needs this but I have wondered for a while how people have made shopping carts. Is there somekind of API or something I have…

---

## [SWF file sizes different on external drive](https://forum.kirupa.com/t/swf-file-sizes-different-on-external-drive/317813)

<div class="topic-metadata">

**Author:** [@thalamus](https://forum.kirupa.com/u/thalamus)\
**Replies:** 0\
**Last updated:** [January 3, 2011, 10:13pm UTC](https://forum.kirupa.com/t/swf-file-sizes-different-on-external-drive/317813 "2011-01-03T22:13:40Z")

</div>

I'm running Flash CS4/AS 2.0 on Mac OS X. I keep my work files on a flash drive. One of these FLA files is a parent (container) movie that, when compiled, results in a SWF that is 6,983 bytes. I saved a copy of the …

---

## ["Code cannot be placed on object" Action Script 3.0](https://forum.kirupa.com/t/code-cannot-be-placed-on-object-action-script-3-0/317812)

<div class="topic-metadata">

**Author:** [@GSH](https://forum.kirupa.com/u/GSH)\
**Replies:** 0\
**Last updated:** [January 3, 2011, 9:55pm UTC](https://forum.kirupa.com/t/code-cannot-be-placed-on-object-action-script-3-0/317812 "2011-01-03T21:55:33Z")

</div>

\[COLOR=#000000\]\[COLOR=#000000\]Found the solution; unmatched instance name! \[/COLOR\]\[/COLOR\]

---

## [Reading ActionScript Version with PHP](https://forum.kirupa.com/t/reading-actionscript-version-with-php/317811)

<div class="topic-metadata">

**Author:** [@arunforce](https://forum.kirupa.com/u/arunforce)\
**Replies:** 0\
**Last updated:** [January 3, 2011, 9:52pm UTC](https://forum.kirupa.com/t/reading-actionscript-version-with-php/317811 "2011-01-03T21:52:00Z")

</div>

I took a look at the C# psuedo code, even tried busting out a hex editor to try to figure out where its stored, but I'm totally lost, don't know that much about bytecode, etc. Here is an example of the psuedo code: h…

---

## [Avoiding registering events with multiple movieclips](https://forum.kirupa.com/t/avoiding-registering-events-with-multiple-movieclips/317809)

<div class="topic-metadata">

**Author:** [@TomAuger](https://forum.kirupa.com/u/TomAuger)\
**Replies:** 0\
**Last updated:** [January 3, 2011, 7:45pm UTC](https://forum.kirupa.com/t/avoiding-registering-events-with-multiple-movieclips/317809 "2011-01-03T19:45:20Z")

</div>

Man, I couldn't figure out the best way to phrase this in a title. I guess I need an example: imagine that you have a lots and lots of the same library item on stage - movieclips - and you want each of them to be click…

---

## [CSS issue IE7 vs. IE8 arghhhhhh!](https://forum.kirupa.com/t/css-issue-ie7-vs-ie8-arghhhhhh/317807)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [January 3, 2011, 7:12pm UTC](https://forum.kirupa.com/t/css-issue-ie7-vs-ie8-arghhhhhh/317807 "2011-01-03T19:12:50Z")

</div>

I have been asked to implement a browser bottom hugging panel & turned to Jarod Taylor's meerkat/jquery plugin http://meerkat.jarodtaylor.com/how-to/basic-usage/comment-page-1/#comment-255 Because the container div I…

---

## [Implementing Multiple Interfaces in The Same File](https://forum.kirupa.com/t/implementing-multiple-interfaces-in-the-same-file/317804)

<div class="topic-metadata">

**Author:** [@Ximenao](https://forum.kirupa.com/u/Ximenao)\
**Replies:** 0\
**Last updated:** [January 3, 2011, 4:33pm UTC](https://forum.kirupa.com/t/implementing-multiple-interfaces-in-the-same-file/317804 "2011-01-03T16:33:28Z")

</div>

Can someone plz help me with this? I have looked all over the web for this but no luck... I know it is impossible to extend two classes in the same .as file, but, after some extensive googling, I see that it is possible t…

---

## [Help (transparant GIF/PNG problem)](https://forum.kirupa.com/t/help-transparant-gif-png-problem/317803)

<div class="topic-metadata">

**Author:** [@joey007](https://forum.kirupa.com/u/joey007)\
**Replies:** 0\
**Last updated:** [January 3, 2011, 4:06pm UTC](https://forum.kirupa.com/t/help-transparant-gif-png-problem/317803 "2011-01-03T16:06:23Z")

</div>

can be deleted, fixed. somehow it seems that when you use alot of dynamic (on the fly) created movieclips with lotsa transparant images in them they go beserk if you loop the loading over and over. i fixed it with us…

---

## [Log File](https://forum.kirupa.com/t/log-file/317799)

<div class="topic-metadata">

**Author:** [@ramprabhucse](https://forum.kirupa.com/u/ramprabhucse)\
**Replies:** 0\
**Last updated:** [January 3, 2011, 10:03am UTC](https://forum.kirupa.com/t/log-file/317799 "2011-01-03T10:03:29Z")

</div>

Hi How to create Log file in AIR application with detailed steps..I am new to the flex..Someone says two types of logging is there please explain briefly

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

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