# programming

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

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

**Page:** 943

---

## [Help with tile class](https://forum.kirupa.com/t/help-with-tile-class/280358)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 6:37pm UTC](https://forum.kirupa.com/t/help-with-tile-class/280358 "2009-01-26T18:37:17Z")

</div>

I am making a class for a tiled background. To initiate my class I am doing: import com.ronnieswietek.GUI.BGTile; var tile:BGTile = new BGTile(new Wood(0,0)); addChild(tile); and my class file looks like: pac…

---

## [Text tool panel gets stuck](https://forum.kirupa.com/t/text-tool-panel-gets-stuck/280357)

<div class="topic-metadata">

**Author:** [@ridd412](https://forum.kirupa.com/u/ridd412)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 6:37pm UTC](https://forum.kirupa.com/t/text-tool-panel-gets-stuck/280357 "2009-01-26T18:37:09Z")

</div>

Hey everyone, I purchased Flash CS4 (Adobe probably laughed at me, saying "SUUUCCKKKERR"). I'm having a serious problem with some of the panels randomly freezing. Mainly, when I edit ANY text on the stage, or in a movi…

---

## [Flash 8 email with check box problem](https://forum.kirupa.com/t/flash-8-email-with-check-box-problem/280355)

<div class="topic-metadata">

**Author:** [@RobertMX](https://forum.kirupa.com/u/RobertMX)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 6:28pm UTC](https://forum.kirupa.com/t/flash-8-email-with-check-box-problem/280355 "2009-01-26T18:28:51Z")

</div>

I have a flash PHP email form that has works greet. I want to add some check boxes to it and am not able to get the values sent to my email. I think the php file is good, But I need some help with the action scripting pa…

---

## [URL Loader complete event not working](https://forum.kirupa.com/t/url-loader-complete-event-not-working/280353)

<div class="topic-metadata">

**Author:** [@GeorgeCrabtree](https://forum.kirupa.com/u/GeorgeCrabtree)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 6:06pm UTC](https://forum.kirupa.com/t/url-loader-complete-event-not-working/280353 "2009-01-26T18:06:08Z")

</div>

Hi Kirupa, this is my first post so please be nice. I usually dig around and find the answers to my problems somewhere but im really stumped on this one. I have a really simple class that loads in some XML and splits i…

---

## [Modifying disabledRanges Value](https://forum.kirupa.com/t/modifying-disabledranges-value/280350)

<div class="topic-metadata">

**Author:** [@sk8er5960](https://forum.kirupa.com/u/sk8er5960)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 5:16pm UTC](https://forum.kirupa.com/t/modifying-disabledranges-value/280350 "2009-01-26T17:16:51Z")

</div>

I was wondering if anybody knew how to append the disabledRanges property of the dateChooser Component, kinda like this(assuming cal as the instance name): \*dRange = \[{rangeStart: new Date(2009,0,0), rangeEnd: new Date…

---

## [Hover function not working when loaded into parent swf](https://forum.kirupa.com/t/hover-function-not-working-when-loaded-into-parent-swf/280348)

<div class="topic-metadata">

**Author:** [@big\_bood](https://forum.kirupa.com/u/big_bood)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 4:47pm UTC](https://forum.kirupa.com/t/hover-function-not-working-when-loaded-into-parent-swf/280348 "2009-01-26T16:47:58Z")

</div>

Hi AS 2 question: I am having issues with a hover funtion in a loaded swf file. Hover file swf works on its own. Parent file swf loads hover swf \[COLOR=darkred\]3. Hover funtion no longer works in parent swf\[/COL…

---

## [Flash:CS3, Databases and Javascript](https://forum.kirupa.com/t/flash-cs3-databases-and-javascript/280345)

<div class="topic-metadata">

**Author:** [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 4:33pm UTC](https://forum.kirupa.com/t/flash-cs3-databases-and-javascript/280345 "2009-01-26T16:33:04Z")

</div>

I need to know if this is at all possible: Can I take a value in flash - output it into html and using Javascript pass that value from one page to another? Or can I pass information from flash to a database using Jav…

---

## [\_root for CS3?](https://forum.kirupa.com/t/-root-for-cs3/280343)

<div class="topic-metadata">

**Author:** [@jpearson311](https://forum.kirupa.com/u/jpearson311)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 4:14pm UTC](https://forum.kirupa.com/t/-root-for-cs3/280343 "2009-01-26T16:14:03Z")

</div>

Ok, I'm trying to learn as 3.0 and so far I'm not happy with it. Could someone please tell me what the 3.0 call is for \_root? I can't believe I'm struggling with this. So basic. Thanks! Jesse

---

## [toString() not adding 0 in front](https://forum.kirupa.com/t/tostring-not-adding-0-in-front/280336)

<div class="topic-metadata">

**Author:** [@vxd](https://forum.kirupa.com/u/vxd)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 3:00pm UTC](https://forum.kirupa.com/t/tostring-not-adding-0-in-front/280336 "2009-01-26T15:00:30Z")

</div>

Hi, I'm trying to convert 0xcolour into colour using toString(16). The problem I've got is it's not adding the zeroes in front of the number. here is the code \[AS\]var aColours:Array=new Array(0x000000,0x0000FF,0xF…

---

## [How do i implement Google Maps into my Loop?](https://forum.kirupa.com/t/how-do-i-implement-google-maps-into-my-loop/280335)

<div class="topic-metadata">

**Author:** [@cyandi\_man](https://forum.kirupa.com/u/cyandi_man)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 2:29pm UTC](https://forum.kirupa.com/t/how-do-i-implement-google-maps-into-my-loop/280335 "2009-01-26T14:29:25Z")

</div>

Hi guys - I have a comapany listing page which the user can do a search for companies by city in the gta, ontario canada. The thing is how do i implement the following code: \<!DOCTYPE html PUBLIC "-//W3C//DTD XHT…

---

## [Speedtest](https://forum.kirupa.com/t/speedtest/280332)

<div class="topic-metadata">

**Author:** [@Magnit](https://forum.kirupa.com/u/Magnit)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 1:14pm UTC](https://forum.kirupa.com/t/speedtest/280332 "2009-01-26T13:14:35Z")

</div>

Hello, I need help I'll make a something like Speed test on flash, but i haven't worked with flash and Action Script before who can tell me how it's work and what commands i need in AC to make w spped test with p…

---

## [Float swf file to left-bottom of browser](https://forum.kirupa.com/t/float-swf-file-to-left-bottom-of-browser/280330)

<div class="topic-metadata">

**Author:** [@Purik](https://forum.kirupa.com/u/Purik)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 12:27pm UTC](https://forum.kirupa.com/t/float-swf-file-to-left-bottom-of-browser/280330 "2009-01-26T12:27:53Z")

</div>

Hi everyone I want align my flash file to the left-bottom of browser in float mode for all resolution its position fixed to the left-bottom. I don't know how to use html, dhtml or css for this purpose. I use DW 8 and F…

---

## [Align swf file to left-bottom browser](https://forum.kirupa.com/t/align-swf-file-to-left-bottom-browser/280328)

<div class="topic-metadata">

**Author:** [@Purik](https://forum.kirupa.com/u/Purik)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 12:03pm UTC](https://forum.kirupa.com/t/align-swf-file-to-left-bottom-browser/280328 "2009-01-26T12:03:31Z")

</div>

Hi everyone I want align my flash file to left-bottom of browser in float mode for all resolution it's position fixed left-bottom. I use DW 8 and Flash MX. thanx for your time!

---

## [Accessing the main timeline](https://forum.kirupa.com/t/accessing-the-main-timeline/280325)

<div class="topic-metadata">

**Author:** [@southpaw](https://forum.kirupa.com/u/southpaw)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 11:00am UTC](https://forum.kirupa.com/t/accessing-the-main-timeline/280325 "2009-01-26T11:00:57Z")

</div>

i am still in the process of coming to terms with AS3. while some things such as responding to mouse events came easy, yet other topics such as classes continues to elude me. anywho, I am still in the process of updati…

---

## [E4X problem](https://forum.kirupa.com/t/e4x-problem/280321)

<div class="topic-metadata">

**Author:** [@IanCremona](https://forum.kirupa.com/u/IanCremona)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 8:18am UTC](https://forum.kirupa.com/t/e4x-problem/280321 "2009-01-26T08:18:16Z")

</div>

please read http://www.kirupa.com/forum/showthread.php?t=318173

---

## [Sequential .swf file loads problem with flicker](https://forum.kirupa.com/t/sequential-swf-file-loads-problem-with-flicker/280315)

<div class="topic-metadata">

**Author:** [@guamguy](https://forum.kirupa.com/u/guamguy)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 5:52am UTC](https://forum.kirupa.com/t/sequential-swf-file-loads-problem-with-flicker/280315 "2009-01-26T05:52:26Z")

</div>

I'm working with code to sequentially load .swf files. I'm using the code below with some success except I'm getting a flicker during the loading of about the first half of the first movie. That is the second movie load …

---

## [Adding 1 to a page\_count field](https://forum.kirupa.com/t/adding-1-to-a-page-count-field/280314)

<div class="topic-metadata">

**Author:** [@jasonhardwick](https://forum.kirupa.com/u/jasonhardwick)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 5:26am UTC](https://forum.kirupa.com/t/adding-1-to-a-page-count-field/280314 "2009-01-26T05:26:15Z")

</div>

So i need to add 1 to the INT in my "play\_count" field each time this script is executed. $sql1="UPDATE Movies SET play\_count = play\_count+1 WHERE id = 'id'"; $result1 = mysql\_query($sql1) or die (mysql\_error()); if(…

---

## [PureMVC dilemmas](https://forum.kirupa.com/t/puremvc-dilemmas/280313)

<div class="topic-metadata">

**Author:** [@minim\_mb](https://forum.kirupa.com/u/minim_mb)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 5:14am UTC](https://forum.kirupa.com/t/puremvc-dilemmas/280313 "2009-01-26T05:14:37Z")

</div>

As part of the learning PureMVC I've created \[this example (\[URL="http://minim.pl/misc/pureMVCExample/SomePureMVCProject.rar"\]sources\](http://minim.pl/misc/pureMVCExample/)). And I must say that I'm quite disappointment …

---

## [Loaded Movie calls function in Main Interface](https://forum.kirupa.com/t/loaded-movie-calls-function-in-main-interface/280311)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 3:33am UTC](https://forum.kirupa.com/t/loaded-movie-calls-function-in-main-interface/280311 "2009-01-26T03:33:00Z")

</div>

I have an interface that contains audio controls in the Library (class: AudioControls) When a movie is loaded into the interface, and it happens to contain a sound (class: Audio\_1), this loaded movie calls an interface…

---

## [IE text spacing problem](https://forum.kirupa.com/t/ie-text-spacing-problem/280307)

<div class="topic-metadata">

**Author:** [@celicasaur](https://forum.kirupa.com/u/celicasaur)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 1:27am UTC](https://forum.kirupa.com/t/ie-text-spacing-problem/280307 "2009-01-26T01:27:04Z")

</div>

In FF my text displays perfectly (no surprises there then!) but on IE the text begins one sentance lower than what I've asked for (ahem :diss: ) I've had the same issue before but with an image that didn't want to sit …

---

## [AS3: Timer is being retarded.... :(](https://forum.kirupa.com/t/as3-timer-is-being-retarded/280302)

<div class="topic-metadata">

**Author:** [@crucifix](https://forum.kirupa.com/u/crucifix)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 12:10am UTC](https://forum.kirupa.com/t/as3-timer-is-being-retarded/280302 "2009-01-26T00:10:04Z")

</div>

Heyo Kirupians, I cant seem to stop my Timer in this project i have from sometime running to quickly. This resaults in my gun reloading to fast and sort of ruins the gameplay. ok thats my code and ill attach the swf so y…

---

## [How do I remove a filter I've applied to a Sprite?](https://forum.kirupa.com/t/how-do-i-remove-a-filter-ive-applied-to-a-sprite/280297)

<div class="topic-metadata">

**Author:** [@juniorspecial](https://forum.kirupa.com/u/juniorspecial)\
**Replies:** 0\
**Last updated:** [January 25, 2009, 9:44pm UTC](https://forum.kirupa.com/t/how-do-i-remove-a-filter-ive-applied-to-a-sprite/280297 "2009-01-25T21:44:20Z")

</div>

Is there any way to remove a filter that's been applied to a sprite? Let's say I have a sprite named rect, and I've applied three filters to it: var dS:DropShadowFilter = new DropShadowFilter(); var gF:GlowFilter = n…

---

## [\[CS3 - AS2\] Multiple Load Bitmap issues](https://forum.kirupa.com/t/cs3-as2-multiple-load-bitmap-issues/280294)

<div class="topic-metadata">

**Author:** [@ISDExecutor](https://forum.kirupa.com/u/ISDExecutor)\
**Replies:** 0\
**Last updated:** [January 25, 2009, 8:49pm UTC](https://forum.kirupa.com/t/cs3-as2-multiple-load-bitmap-issues/280294 "2009-01-25T20:49:05Z")

</div>

Can anyone spot an obvious mistake in here? Maybe someone has an example of loading multiple bitmap data into same mc? Been bashing my head for a while. Greatly appreciated. Fla: http://imanb.com/test/fla/myGetColor.…

---

## [addChild buttons pointing at XML data](https://forum.kirupa.com/t/addchild-buttons-pointing-at-xml-data/280290)

<div class="topic-metadata">

**Author:** [@icebrk](https://forum.kirupa.com/u/icebrk)\
**Replies:** 0\
**Last updated:** [January 25, 2009, 7:34pm UTC](https://forum.kirupa.com/t/addchild-buttons-pointing-at-xml-data/280290 "2009-01-25T19:34:35Z")

</div>

Hi everybody, This is probably a pretty newbie question but since this is my first AS3 project I hope someone will be kind enough to point me in the right direction. I have a scroll component that I use to scroll th…

---

## [Proper Syntax for HTML Tags in Dynamic Text](https://forum.kirupa.com/t/proper-syntax-for-html-tags-in-dynamic-text/280286)

<div class="topic-metadata">

**Author:** [@av104](https://forum.kirupa.com/u/av104)\
**Replies:** 0\
**Last updated:** [January 25, 2009, 6:52pm UTC](https://forum.kirupa.com/t/proper-syntax-for-html-tags-in-dynamic-text/280286 "2009-01-25T18:52:07Z")

</div>

I have a question regarding the proper syntax to use while inserting html tags for font face, font color etc. Please look at excellent tutorial written by Arjen Gosman on creating a Guest book using XML and PHP http://ww…

---

## [flashVars?](https://forum.kirupa.com/t/flashvars/280285)

<div class="topic-metadata">

**Author:** [@jasonhardwick](https://forum.kirupa.com/u/jasonhardwick)\
**Replies:** 0\
**Last updated:** [January 25, 2009, 6:32pm UTC](https://forum.kirupa.com/t/flashvars/280285 "2009-01-25T18:32:00Z")

</div>

I am passing a php value to my flash movie but it isn't inserting the file. Here is the PHP code: AC\_FL\_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0','…

---

## [Stuck in a loop](https://forum.kirupa.com/t/stuck-in-a-loop/280282)

<div class="topic-metadata">

**Author:** [@imcabee](https://forum.kirupa.com/u/imcabee)\
**Replies:** 0\
**Last updated:** [January 25, 2009, 5:27pm UTC](https://forum.kirupa.com/t/stuck-in-a-loop/280282 "2009-01-25T17:27:23Z")

</div>

Hello, I am a AS 3 newbie..I have a swf within a html page. There is a function that opens an html page when an object gets to a certain x position. However, when the object gets to that point the new html page (in \_self…

---

## [Set textFormat of dynamically created textField](https://forum.kirupa.com/t/set-textformat-of-dynamically-created-textfield/280279)

<div class="topic-metadata">

**Author:** [@dawdus](https://forum.kirupa.com/u/dawdus)\
**Replies:** 0\
**Last updated:** [January 25, 2009, 4:36pm UTC](https://forum.kirupa.com/t/set-textformat-of-dynamically-created-textfield/280279 "2009-01-25T16:36:18Z")

</div>

here is the code: // Create new textFormat object----- var myTF:TextFormat = new TextFormat(); myTF.font = "Verdana"; myTF.color = 0x333333; // LOOP - create textfields, and name them. for (var i:int = 1; i\<6; i++){ v…

---

## [Directory Search...?](https://forum.kirupa.com/t/directory-search/280274)

<div class="topic-metadata">

**Author:** [@cyandi\_man](https://forum.kirupa.com/u/cyandi_man)\
**Replies:** 0\
**Last updated:** [January 25, 2009, 2:57pm UTC](https://forum.kirupa.com/t/directory-search/280274 "2009-01-25T14:57:52Z")

</div>

Hi guys - i have a mini search page on my site in which i want people to be able to pull contact info by either typing in a Phone number or Company name in the search fields. Question is: how do i have php compare t…

---

## [Side bars size, in html (or javascript?)](https://forum.kirupa.com/t/side-bars-size-in-html-or-javascript/280270)

<div class="topic-metadata">

**Author:** [@Myung](https://forum.kirupa.com/u/Myung)\
**Replies:** 0\
**Last updated:** [January 25, 2009, 11:40am UTC](https://forum.kirupa.com/t/side-bars-size-in-html-or-javascript/280270 "2009-01-25T11:40:28Z")

</div>

Hi There! I'm trying to make a header DIV with 3 part, from left to right: 1. left side (div)- including backgroung image, right aligned 2. center part (div) - including header content, constant size of 800px 3. right …

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

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