# programming

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

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

**Page:** 746

---

## [AS3 problem - URL issue - PLEASE HELP](https://forum.kirupa.com/t/as3-problem-url-issue-please-help/293070)

<div class="topic-metadata">

**Author:** [@grantnichols25](https://forum.kirupa.com/u/grantnichols25)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 8:26pm UTC](https://forum.kirupa.com/t/as3-problem-url-issue-please-help/293070 "2009-07-22T20:26:51Z")

</div>

Hi, I'm new to AS3 and have an issue, i'm sure you guys can probably spot the issue straight away but i'm still learning ;( ! Basically I have a 2 swf files. Within the main swf i have a button that I want to call …

---

## [\[Flash CS3\]New cursor on MC click- spawn MC from library at cursor click area](https://forum.kirupa.com/t/flash-cs3-new-cursor-on-mc-click-spawn-mc-from-library-at-cursor-click-area/293069)

<div class="topic-metadata">

**Author:** [@SilentStrife](https://forum.kirupa.com/u/SilentStrife)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 8:24pm UTC](https://forum.kirupa.com/t/flash-cs3-new-cursor-on-mc-click-spawn-mc-from-library-at-cursor-click-area/293069 "2009-07-22T20:24:49Z")

</div>

Hi all, forgive my newbie-ness. Here is what I want to do: I have four movieclips on the stage. Right now I have it set up so that as I click each movieclip, it will follow the mouse around until I click another cli…

---

## [New cursor on click-new cursor spawns MC from library on click](https://forum.kirupa.com/t/new-cursor-on-click-new-cursor-spawns-mc-from-library-on-click/293068)

<div class="topic-metadata">

**Author:** [@SilentStrife](https://forum.kirupa.com/u/SilentStrife)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 8:22pm UTC](https://forum.kirupa.com/t/new-cursor-on-click-new-cursor-spawns-mc-from-library-on-click/293068 "2009-07-22T20:22:25Z")

</div>

Hi all, forgive my newbie-ness. Here is what I want to do: I am currently in AS2 and would like an AS3 solution if anyone knows, I'm a bit new... I have four movieclips on the stage. Right now I have it set up so …

---

## [Can't get getBytesLoaded and getBytesTotal to work properly](https://forum.kirupa.com/t/cant-get-getbytesloaded-and-getbytestotal-to-work-properly/293066)

<div class="topic-metadata">

**Author:** [@jsherk](https://forum.kirupa.com/u/jsherk)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 7:33pm UTC](https://forum.kirupa.com/t/cant-get-getbytesloaded-and-getbytestotal-to-work-properly/293066 "2009-07-22T19:33:30Z")

</div>

I am using Flash CS3 with ActionScript 2 and am having a problem getting getBytesLoaded and getBytesTotal to work properly. Probably I am taking the reading in the wrong spot, but I can't figure out where I should be doi…

---

## [Manage Multiple Depths](https://forum.kirupa.com/t/manage-multiple-depths/293065)

<div class="topic-metadata">

**Author:** [@cortezcreations](https://forum.kirupa.com/u/cortezcreations)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 7:11pm UTC](https://forum.kirupa.com/t/manage-multiple-depths/293065 "2009-07-22T19:11:41Z")

</div>

Hey Boys and Girls. So I've created an interactive map that loads info in from a csv file and displays that information on 120 cities with a radius around each city. The cities have been manually placed on the map and th…

---

## [\[Question\] Why cant classes acces objects on stage?](https://forum.kirupa.com/t/question-why-cant-classes-acces-objects-on-stage/293064)

<div class="topic-metadata">

**Author:** [@flashmxboy](https://forum.kirupa.com/u/flashmxboy)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 6:46pm UTC](https://forum.kirupa.com/t/question-why-cant-classes-acces-objects-on-stage/293064 "2009-07-22T18:46:40Z")

</div>

Hi:) Im trying to get used to packages and classes in AS3. Im used to put all code on the first frame of the timeline, but now i have 442 lines of code on the first frame. Yeah 442. And this is for a game engine so i t…

---

## [Need to duplicate a loaded image -- AS3](https://forum.kirupa.com/t/need-to-duplicate-a-loaded-image-as3/293063)

<div class="topic-metadata">

**Author:** [@justmesaying](https://forum.kirupa.com/u/justmesaying)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 6:12pm UTC](https://forum.kirupa.com/t/need-to-duplicate-a-loaded-image-as3/293063 "2009-07-22T18:12:29Z")

</div>

I'm trying to create a panning feature where the image repeats itself again and again as the image scrolls right or left. It looks as if it is a 360 view of a room. (No warping of sides, just simply repeating the image…

---

## [How to close browser window with buttonclick?](https://forum.kirupa.com/t/how-to-close-browser-window-with-buttonclick/293062)

<div class="topic-metadata">

**Author:** [@nando973](https://forum.kirupa.com/u/nando973)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 5:41pm UTC](https://forum.kirupa.com/t/how-to-close-browser-window-with-buttonclick/293062 "2009-07-22T17:41:38Z")

</div>

Hi, I spent hours and hours trying to figure out how to close the browser window from within the movie (on button click) - I have read thousands of posts and tried different methods, but nothing worked. Here is the la…

---

## [textFormat Object question - probably an easy answer](https://forum.kirupa.com/t/textformat-object-question-probably-an-easy-answer/293060)

<div class="topic-metadata">

**Author:** [@Nicole](https://forum.kirupa.com/u/Nicole)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 5:38pm UTC](https://forum.kirupa.com/t/textformat-object-question-probably-an-easy-answer/293060 "2009-07-22T17:38:56Z")

</div>

Hi, I'm trying to modify a matching game for a project I'm doing. I am extremely novice at AS so excuse the "dumb" questions I may come out with. Right now, one problem I'm having (the smallest issue, but the easiest to…

---

## [AS3/ XML navigateToURL not opening the correct xml url](https://forum.kirupa.com/t/as3-xml-navigatetourl-not-opening-the-correct-xml-url/293059)

<div class="topic-metadata">

**Author:** [@wuzzi2ya](https://forum.kirupa.com/u/wuzzi2ya)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 5:38pm UTC](https://forum.kirupa.com/t/as3-xml-navigatetourl-not-opening-the-correct-xml-url/293059 "2009-07-22T17:38:19Z")

</div>

With this code my button which contains the navigateToURL function opens my browser to yahoo.com regardless of the url in the xml. Please review my code and let me know if you can see the problem. Thanks for any help …

---

## [Loading external swf that are xml slideshows](https://forum.kirupa.com/t/loading-external-swf-that-are-xml-slideshows/293056)

<div class="topic-metadata">

**Author:** [@nickw8](https://forum.kirupa.com/u/nickw8)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 4:32pm UTC](https://forum.kirupa.com/t/loading-external-swf-that-are-xml-slideshows/293056 "2009-07-22T16:32:41Z")

</div>

So i followed the tutorials to create xml slide-shows and then when a guest mouses over a button i load another xml swf slide-show and reload the main xml slide-show when they mouse off. it works great to start by auto…

---

## [AS3 TileBased RPG Map Editor](https://forum.kirupa.com/t/as3-tilebased-rpg-map-editor/293054)

<div class="topic-metadata">

**Author:** [@bojosiri](https://forum.kirupa.com/u/bojosiri)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 4:10pm UTC](https://forum.kirupa.com/t/as3-tilebased-rpg-map-editor/293054 "2009-07-22T16:10:09Z")

</div>

Hi Every1! Im currently making a simple 2d based tile game and I have been looking everywhere for map editors, will look into creating my own later on, need to do this for a project with strict deadlines! = S Anyway, b…

---

## [Making a carousel style selector](https://forum.kirupa.com/t/making-a-carousel-style-selector/293052)

<div class="topic-metadata">

**Author:** [@bboybeatle](https://forum.kirupa.com/u/bboybeatle)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 3:12pm UTC](https://forum.kirupa.com/t/making-a-carousel-style-selector/293052 "2009-07-22T15:12:14Z")

</div>

Hi, i've been making a selector where you chose a characters expression/hair etc. Iv got 2 buttons for each component (left & right) ... the code on these buttons tells the movie clip it refers to to move to nextFrame …

---

## [\[Flash8\] Mouse Traking](https://forum.kirupa.com/t/flash8-mouse-traking/293051)

<div class="topic-metadata">

**Author:** [@rsthilaire](https://forum.kirupa.com/u/rsthilaire)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 2:43pm UTC](https://forum.kirupa.com/t/flash8-mouse-traking/293051 "2009-07-22T14:43:54Z")

</div>

I recently downloaded a star background for an ad. The site where the ad is posting does not allow mouse tracking. I have made an attempt at removing it from this script, and i know once i remove it it will work like …

---

## [Would this be difficult?](https://forum.kirupa.com/t/would-this-be-difficult/293050)

<div class="topic-metadata">

**Author:** [@zm15](https://forum.kirupa.com/u/zm15)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 2:43pm UTC](https://forum.kirupa.com/t/would-this-be-difficult/293050 "2009-07-22T14:43:21Z")

</div>

I am just beginning to learn flash and would like to make an application for displaying houses. I would like to have a drop down menu with several different option: Let's say #of bedrooms, and #of bathrooms. When the…

---

## [getChildByName](https://forum.kirupa.com/t/getchildbyname/293049)

<div class="topic-metadata">

**Author:** [@regbolD](https://forum.kirupa.com/u/regbolD)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 1:54pm UTC](https://forum.kirupa.com/t/getchildbyname/293049 "2009-07-22T13:54:24Z")

</div>

if I have \*\*unknown \*\*number of movieClips on stage all named like so: HOME30 HOME31 HOME32 HOME33 HOME34 ..... how could I run a loop which would push into array all movieclips named like so? myArray.push(getChild…

---

## [Anyone Use Google Analytics Tracking for Adobe Flash?](https://forum.kirupa.com/t/anyone-use-google-analytics-tracking-for-adobe-flash/293046)

<div class="topic-metadata">

**Author:** [@ctioScript](https://forum.kirupa.com/u/ctioScript)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 12:58pm UTC](https://forum.kirupa.com/t/anyone-use-google-analytics-tracking-for-adobe-flash/293046 "2009-07-22T12:58:41Z")

</div>

http://code.google.com/apis/analytics/docs/tracking/flashTrackingIntro.html Is it out of Beta? Is it possible to use on 3rd party sites like Myspace, ect...

---

## [Gamer stats (QnA)](https://forum.kirupa.com/t/gamer-stats-qna/293039)

<div class="topic-metadata">

**Author:** [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 10:52am UTC](https://forum.kirupa.com/t/gamer-stats-qna/293039 "2009-07-22T10:52:23Z")

</div>

I'm taking a stab at a game stats widget. The top white bar (right) is Legend rating. Atm it takes 1/3 of relational score to top player, then adds a top 3 bonus, again compared to a top player. IE you can't easily spa…

---

## [Rotating Menu change Values](https://forum.kirupa.com/t/rotating-menu-change-values/293038)

<div class="topic-metadata">

**Author:** [@donkeykong](https://forum.kirupa.com/u/donkeykong)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 10:51am UTC](https://forum.kirupa.com/t/rotating-menu-change-values/293038 "2009-07-22T10:51:25Z")

</div>

hi all still working with the rotating menu,closed other threads. I am trying to change the values so that I can position correclty but I can't seem to tweek it? looking as it rotates the other images get smaller, …

---

## [Compiling Actionscript 3 in Flex SDK](https://forum.kirupa.com/t/compiling-actionscript-3-in-flex-sdk/293035)

<div class="topic-metadata">

**Author:** [@gitanjali](https://forum.kirupa.com/u/gitanjali)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 10:17am UTC](https://forum.kirupa.com/t/compiling-actionscript-3-in-flex-sdk/293035 "2009-07-22T10:17:34Z")

</div>

I am trying to switch from using Flash IDE to Flex SDK. Uptil now, I had been writing actionscript on the timeline. I tried modifying 1 such code to create an external actionscript with a package and class as per the rul…

---

## [Code hints are gone!](https://forum.kirupa.com/t/code-hints-are-gone/293034)

<div class="topic-metadata">

**Author:** [@NightRider](https://forum.kirupa.com/u/NightRider)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 10:03am UTC](https://forum.kirupa.com/t/code-hints-are-gone/293034 "2009-07-22T10:03:19Z")

</div>

I've got the same exact problem as this guy (but I'm on win xp). Basically, code hints were working fine and suddenly most of them disappeared. Just look: \[image\] Any idea on how to fix it?

---

## [XML and Flash(unicode problem)](https://forum.kirupa.com/t/xml-and-flash-unicode-problem/293032)

<div class="topic-metadata">

**Author:** [@hd3333](https://forum.kirupa.com/u/hd3333)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 9:33am UTC](https://forum.kirupa.com/t/xml-and-flash-unicode-problem/293032 "2009-07-22T09:33:52Z")

</div>

\<!-- /\* CATEGORY START \*/--\> \<category colour="0x0D5EBF" navtext="ÖÄÜ" titletext="" \> \<section navtext="J" titletext="" href=".swf" /\> \</category\> So thats the part I need help. I cant find a w…

---

## [Using the new save() in the file reference class](https://forum.kirupa.com/t/using-the-new-save-in-the-file-reference-class/293030)

<div class="topic-metadata">

**Author:** [@romit\_2034](https://forum.kirupa.com/u/romit_2034)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 9:32am UTC](https://forum.kirupa.com/t/using-the-new-save-in-the-file-reference-class/293030 "2009-07-22T09:32:03Z")

</div>

For a project I am working on, I allow users to drag stuff around the stage and then let them save it as JPEG. I have used the new save method from player 10. This is my code so far. var fr:FileReference; test\_btn.ad…

---

## [XML slideshow document class improvement question](https://forum.kirupa.com/t/xml-slideshow-document-class-improvement-question/293016)

<div class="topic-metadata">

**Author:** [@humbucker](https://forum.kirupa.com/u/humbucker)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 6:39am UTC](https://forum.kirupa.com/t/xml-slideshow-document-class-improvement-question/293016 "2009-07-22T06:39:57Z")

</div>

Hello! I'm using the script below to slide pictures read from a XML file. My project got 12 slideshowz like this one loading differents sets of pictures. My question : I was wondering what I could change in every FLA…

---

## [How to Replace Character in String](https://forum.kirupa.com/t/how-to-replace-character-in-string/293015)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 5:53am UTC](https://forum.kirupa.com/t/how-to-replace-character-in-string/293015 "2009-07-22T05:53:49Z")

</div>

I have some code that grabs the variable value on the end of a query string, and I want to deal with phrases (such as "Great Road Race") by placing a plus (+) sign between the words (like "Great+Road+Race) and then run a…

---

## [Help: Tween via Actionscript 2.0](https://forum.kirupa.com/t/help-tween-via-actionscript-2-0/293011)

<div class="topic-metadata">

**Author:** [@Josh\_P](https://forum.kirupa.com/u/Josh_P)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 2:55am UTC](https://forum.kirupa.com/t/help-tween-via-actionscript-2-0/293011 "2009-07-22T02:55:12Z")

</div>

Well I've been working at this for a while and I can't find any solution. Essentially what I'm trying to do is this: When the user clicks on a movie clip (menu button) another movie clip will preform a tween from one pos…

---

## [Reorder database rows](https://forum.kirupa.com/t/reorder-database-rows/293010)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 2:28am UTC](https://forum.kirupa.com/t/reorder-database-rows/293010 "2009-07-22T02:28:33Z")

</div>

I am wanting for the user to be able to reorder the pages in the CMS. I have table called 'pages' with values 'id', 'title', and 'maintext'. What is the best way to do this? It would be ideal to just have a button wit…

---

## [Multiline printing problem - please help!](https://forum.kirupa.com/t/multiline-printing-problem-please-help/293003)

<div class="topic-metadata">

**Author:** [@rachjm](https://forum.kirupa.com/u/rachjm)\
**Replies:** 0\
**Last updated:** [July 21, 2009, 11:01pm UTC](https://forum.kirupa.com/t/multiline-printing-problem-please-help/293003 "2009-07-21T23:01:52Z")

</div>

I am using Flash CS3 and AS2. I have a dynamically generated text string that is displaying in a multiline dynamic text box. This dynamic text box is inside a container movie clip which contains everything that I want …

---

## [Basic RollOver mc button problem](https://forum.kirupa.com/t/basic-rollover-mc-button-problem/293002)

<div class="topic-metadata">

**Author:** [@Dream\_Storm](https://forum.kirupa.com/u/Dream_Storm)\
**Replies:** 0\
**Last updated:** [July 21, 2009, 10:29pm UTC](https://forum.kirupa.com/t/basic-rollover-mc-button-problem/293002 "2009-07-21T22:29:01Z")

</div>

Hey folks, I was toiling to title this one but put simply, I have a roll over and out button that is an mc. When the button goes into its mouse over state i have a layer inside the mc which is much larger than the butt…

---

## [Basic styling for a dynamic text field](https://forum.kirupa.com/t/basic-styling-for-a-dynamic-text-field/293000)

<div class="topic-metadata">

**Author:** [@Ricky55](https://forum.kirupa.com/u/Ricky55)\
**Replies:** 0\
**Last updated:** [July 21, 2009, 9:44pm UTC](https://forum.kirupa.com/t/basic-styling-for-a-dynamic-text-field/293000 "2009-07-21T21:44:32Z")

</div>

I'm populating a dynamic text field using instance\_mc.textField\_txt.htmlText = "some string of text"; Can this method of populating a text field be styled with CSS? or do you have to use an external text file? One…

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

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