# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=37

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

**Page:** 38

---

## [Documents dir](https://forum.kirupa.com/t/documents-dir/330786)

<div class="topic-metadata">

**Author:** [@FJW](https://forum.kirupa.com/u/FJW)\
**Replies:** 0\
**Last updated:** [March 15, 2013, 8:24pm UTC](https://forum.kirupa.com/t/documents-dir/330786 "2013-03-15T20:24:56Z")

</div>

Hi Guys I know how to basically use the air functions but is it possibly to identify the actual path hwt ai men is that on each machine the documents directory as a String will be different. How just to read the path of …

---

## [\[Flash8\] As2 Help Needed. I cant sort my string according to numeric](https://forum.kirupa.com/t/flash8-as2-help-needed-i-cant-sort-my-string-according-to-numeric/330785)

<div class="topic-metadata">

**Author:** [@ekoneo](https://forum.kirupa.com/u/ekoneo)\
**Replies:** 0\
**Last updated:** [March 15, 2013, 1:16pm UTC](https://forum.kirupa.com/t/flash8-as2-help-needed-i-cant-sort-my-string-according-to-numeric/330785 "2013-03-15T13:16:05Z")

</div>

\[COLOR=#333333\]\*\*I have a string: \*\*\[/COLOR\]\[COLOR=#2E8B57\]\[FONT=Monaco\]var Numbers:String = "10,1,2,15,21,13,33,3"; \[/FONT\]\[/COLOR\]\[COLOR=#333333\]\*\*I try to convert it to an array by using split operation. Then I try t…

---

## [Key Up events not ALWAYS registered (only when in FireFox)](https://forum.kirupa.com/t/key-up-events-not-always-registered-only-when-in-firefox/330783)

<div class="topic-metadata">

**Author:** [@GBurg](https://forum.kirupa.com/u/GBurg)\
**Replies:** 0\
**Last updated:** [March 14, 2013, 11:30pm UTC](https://forum.kirupa.com/t/key-up-events-not-always-registered-only-when-in-firefox/330783 "2013-03-14T23:30:10Z")

</div>

Hi guys, Although this is strictly not an AS3 problem, but more a browser problem. It is a problem I am having recently, and would gladly want to have a solution for. I noticed that in Firefox, my Key Up events are not…

---

## [Update code as3 with new function](https://forum.kirupa.com/t/update-code-as3-with-new-function/330782)

<div class="topic-metadata">

**Author:** [@farofakids](https://forum.kirupa.com/u/farofakids)\
**Replies:** 0\
**Last updated:** [March 14, 2013, 10:01pm UTC](https://forum.kirupa.com/t/update-code-as3-with-new-function/330782 "2013-03-14T22:01:09Z")

</div>

My plugin was updated through this line: (removed a game) public function {.{}((}.({(.)().))(param1:Object) : void { var \_loc\_2:\* = 0; )}}}{{((({)}){{((}.(.({..}.{....}... = param1.ctrlKey; …

---

## [Shuffle / randomizer for XML data](https://forum.kirupa.com/t/shuffle-randomizer-for-xml-data/330780)

<div class="topic-metadata">

**Author:** [@red2034](https://forum.kirupa.com/u/red2034)\
**Replies:** 0\
**Last updated:** [March 14, 2013, 7:21pm UTC](https://forum.kirupa.com/t/shuffle-randomizer-for-xml-data/330780 "2013-03-14T19:21:06Z")

</div>

I have a quiz set up pulling xml data in: \<?xml version="1.0" encoding="UTF-8"?\> \<document\> \<intro\>\<b\>Introduction & Instructions\</b\>\</intro\> \<desc\>Description can go here\</desc\> \<question\>question 1 would go here\</que…

---

## [Action after an array](https://forum.kirupa.com/t/action-after-an-array/330775)

<div class="topic-metadata">

**Author:** [@hsiehson](https://forum.kirupa.com/u/hsiehson)\
**Replies:** 0\
**Last updated:** [March 14, 2013, 8:07am UTC](https://forum.kirupa.com/t/action-after-an-array/330775 "2013-03-14T08:07:17Z")

</div>

Hi all, I have created a random quiz that using array, the problem is; how do I suppose to do if I want to do a certain action, e.g. jump to certain frame, once the array has been cleared/through/etc... ? Many thinks! h…

---

## [Need flv video to stop once loaded](https://forum.kirupa.com/t/need-flv-video-to-stop-once-loaded/330772)

<div class="topic-metadata">

**Author:** [@catcat31](https://forum.kirupa.com/u/catcat31)\
**Replies:** 0\
**Last updated:** [March 13, 2013, 5:24pm UTC](https://forum.kirupa.com/t/need-flv-video-to-stop-once-loaded/330772 "2013-03-13T17:24:07Z")

</div>

Hi I have created a document which has 3 buttons. when each is pressed an action happens...loads a movie, jumps to next frame, plays video. The problem I have is when I click the Frame button, my video plays and stays. I…

---

## [AS3 with FMS](https://forum.kirupa.com/t/as3-with-fms/330771)

<div class="topic-metadata">

**Author:** [@harry1](https://forum.kirupa.com/u/harry1)\
**Replies:** 0\
**Last updated:** [March 13, 2013, 1:12pm UTC](https://forum.kirupa.com/t/as3-with-fms/330771 "2013-03-13T13:12:01Z")

</div>

Hello people, My first post here. I couldnt find a forum for FMSM so, i hope i have posted this question in the correct place. I am new to the Flash Media Server gig. I have just installed Adobe Media I have been readin…

---

## [Simplify code with for loop?](https://forum.kirupa.com/t/simplify-code-with-for-loop/330769)

<div class="topic-metadata">

**Author:** [@emmti](https://forum.kirupa.com/u/emmti)\
**Replies:** 0\
**Last updated:** [March 13, 2013, 10:45am UTC](https://forum.kirupa.com/t/simplify-code-with-for-loop/330769 "2013-03-13T10:45:02Z")

</div>

I have 3 diagrams with movieclips. In each diagram, when one movieclip is selected, that movieclip opens up in a container, using addChild. The movieclip var names reflect which diagram they are from, ie soc\_a1, soc\_b1, …

---

## [ENTER\_FRAME glitches Help](https://forum.kirupa.com/t/enter-frame-glitches-help/330768)

<div class="topic-metadata">

**Author:** [@duchman](https://forum.kirupa.com/u/duchman)\
**Replies:** 0\
**Last updated:** [March 13, 2013, 9:08am UTC](https://forum.kirupa.com/t/enter-frame-glitches-help/330768 "2013-03-13T09:08:29Z")

</div>

Why cant I get smooth rotation with simple code like this: addEventListener(Event.ENTER\_FRAME, rotate); function rotate(e:Event):void{ ball.rotation += 2; } It seems that rotation looses frames, not going …

---

## [My for each created textboxes, are not matching up to my XML nodes (but should)](https://forum.kirupa.com/t/my-for-each-created-textboxes-are-not-matching-up-to-my-xml-nodes-but-should/330764)

<div class="topic-metadata">

**Author:** [@puppies\_amp\_pigeons](https://forum.kirupa.com/u/puppies_amp_pigeons)\
**Replies:** 0\
**Last updated:** [March 12, 2013, 4:58pm UTC](https://forum.kirupa.com/t/my-for-each-created-textboxes-are-not-matching-up-to-my-xml-nodes-but-should/330764 "2013-03-12T16:58:43Z")

</div>

Hi all! So, I have some textfields created in a for each loop that are filled with XML data. They are generated using my xml node Directory, and later searched using the same node to match them up with, and output anothe…

---

## [MultiTimer](https://forum.kirupa.com/t/multitimer/330760)

<div class="topic-metadata">

**Author:** [@escorlapio](https://forum.kirupa.com/u/escorlapio)\
**Replies:** 0\
**Last updated:** [March 12, 2013, 3:16am UTC](https://forum.kirupa.com/t/multitimer/330760 "2013-03-12T03:16:14Z")

</div>

Hello, I’m doing a multi timer that shows 50 timers in 50 rows and I need to show in one dynamic Text Field the total time recorded from all timers.(totalSum). I’m an action script beginner that is learning from tutorial…

---

## [Error #1069 Help?](https://forum.kirupa.com/t/error-1069-help/330759)

<div class="topic-metadata">

**Author:** [@NikkiKat](https://forum.kirupa.com/u/NikkiKat)\
**Replies:** 0\
**Last updated:** [March 12, 2013, 1:17am UTC](https://forum.kirupa.com/t/error-1069-help/330759 "2013-03-12T01:17:33Z")

</div>

I'm a total noob at programming at the moment, and I ran into a problem with a game I'm trying to finish. Its where the user answers a few questions and at the end it will decide what your color is. Everything has been g…

---

## [BitmapData.draw is drawing very slow](https://forum.kirupa.com/t/bitmapdata-draw-is-drawing-very-slow/330755)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [March 11, 2013, 4:20pm UTC](https://forum.kirupa.com/t/bitmapdata-draw-is-drawing-very-slow/330755 "2013-03-11T16:20:21Z")

</div>

Last week I learned about drawing smaller parts of a bigger sprite I had, to be able to both render and process the bitmapData at the same time. I managed to find the perfect chunk size to use and everything was load sup…

---

## [Basic Help Pls](https://forum.kirupa.com/t/basic-help-pls/330752)

<div class="topic-metadata">

**Author:** [@catcat31](https://forum.kirupa.com/u/catcat31)\
**Replies:** 0\
**Last updated:** [March 11, 2013, 10:03am UTC](https://forum.kirupa.com/t/basic-help-pls/330752 "2013-03-11T10:03:17Z")

</div>

Hi, Please can you help me with my basic AS3 code? My .fla will have a small video on the first frame \> I've added a stop to the timeline \> I've added a movieclip button called start\_btn which I want to take me to the ne…

---

## [as3 button handler](https://forum.kirupa.com/t/as3-button-handler/330750)

<div class="topic-metadata">

**Author:** [@quest20](https://forum.kirupa.com/u/quest20)\
**Replies:** 0\
**Last updated:** [March 9, 2013, 10:53pm UTC](https://forum.kirupa.com/t/as3-button-handler/330750 "2013-03-09T22:53:41Z")

</div>

\[TABLE\] \[TR\] \[TD="class: votecell"\] \[/TD\] \[TD="class: postcell"\]I am relatively new to ActionScript 3. I like to know How you send data messages to other clients using the button handler? \[/TD\] \[/TR\] \[/TABLE\]

---

## [Google Maps API for AS3 are dying?](https://forum.kirupa.com/t/google-maps-api-for-as3-are-dying/330747)

<div class="topic-metadata">

**Author:** [@GiGaGiG](https://forum.kirupa.com/u/GiGaGiG)\
**Replies:** 0\
**Last updated:** [March 9, 2013, 4:44pm UTC](https://forum.kirupa.com/t/google-maps-api-for-as3-are-dying/330747 "2013-03-09T16:44:58Z")

</div>

Hi, I am going to create an AIR app that uses Google Maps APIs, but I stumbled on a bad news: according to what is written here https://developers.google.com/maps/documentation/flash/tutorial-flex the GM API for Fles…

---

## [drawTriangles and projectVectors for 3D](https://forum.kirupa.com/t/drawtriangles-and-projectvectors-for-3d/330745)

<div class="topic-metadata">

**Author:** [@Ph03nix](https://forum.kirupa.com/u/Ph03nix)\
**Replies:** 0\
**Last updated:** [March 9, 2013, 6:39am UTC](https://forum.kirupa.com/t/drawtriangles-and-projectvectors-for-3d/330745 "2013-03-09T06:39:05Z")

</div>

I'm trying to render a 3D model in flash. I don't want to use Stage3D or an external library. What I'm currently doing is: \[LIST\] \[\*\]Defining a perspective matrix using PerspectiveProjection \[/LIST\] \[LIST\] \[\*\]Defining an…

---

## [Pages flip effect](https://forum.kirupa.com/t/pages-flip-effect/330744)

<div class="topic-metadata">

**Author:** [@Mohit\_Kapoor](https://forum.kirupa.com/u/Mohit_Kapoor)\
**Replies:** 0\
**Last updated:** [March 9, 2013, 6:19am UTC](https://forum.kirupa.com/t/pages-flip-effect/330744 "2013-03-09T06:19:12Z")

</div>

I want to create a flash book and want to know how to create pages flipping effect in as3 . Please help !

---

## [How to modify the code to import from external XML file?](https://forum.kirupa.com/t/how-to-modify-the-code-to-import-from-external-xml-file/330742)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [March 8, 2013, 8:41pm UTC](https://forum.kirupa.com/t/how-to-modify-the-code-to-import-from-external-xml-file/330742 "2013-03-08T20:41:37Z")

</div>

Hi, How can I modify the following working code to get data from external XML file? import fl.controls.DataGrid; import fl.controls.TextInput; import fl.controls.dataGridClasses.DataGridColumn; import fl.data.DataProvi…

---

## [How to add Search (Filter) option to my existing code?](https://forum.kirupa.com/t/how-to-add-search-filter-option-to-my-existing-code/330740)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [March 8, 2013, 4:58pm UTC](https://forum.kirupa.com/t/how-to-add-search-filter-option-to-my-existing-code/330740 "2013-03-08T16:58:29Z")

</div>

Hi, The following code works great. Just I want to add a Text Box to search the desired item from the huge list. Please help me in this regard. import fl.data.DataProvider; import fl.controls.dataGridClasses.DataGrid…

---

## [SCript problem](https://forum.kirupa.com/t/script-problem/330739)

<div class="topic-metadata">

**Author:** [@ohya](https://forum.kirupa.com/u/ohya)\
**Replies:** 0\
**Last updated:** [March 8, 2013, 2:24pm UTC](https://forum.kirupa.com/t/script-problem/330739 "2013-03-08T14:24:13Z")

</div>

Hi dear, I put my script in as file, after publishing I got the following message in output panel: man.as Line 1. Action Script 2.0 class script may only define class or interface constructs stop(); what does it mean …

---

## [as3 Clock play events at certain times](https://forum.kirupa.com/t/as3-clock-play-events-at-certain-times/330738)

<div class="topic-metadata">

**Author:** [@bradholz](https://forum.kirupa.com/u/bradholz)\
**Replies:** 0\
**Last updated:** [March 8, 2013, 2:16pm UTC](https://forum.kirupa.com/t/as3-clock-play-events-at-certain-times/330738 "2013-03-08T14:16:49Z")

</div>

i have a digital clock that i want to have different events happen at certain times of the morning, i managed to work it for 1:00am but i need it to work for example 1:30am start and finish at 5am not to sure how to go a…

---

## [Read/Write simple data to server (ex: high scores)](https://forum.kirupa.com/t/read-write-simple-data-to-server-ex-high-scores/330734)

<div class="topic-metadata">

**Author:** [@bking20](https://forum.kirupa.com/u/bking20)\
**Replies:** 0\
**Last updated:** [March 7, 2013, 11:38pm UTC](https://forum.kirupa.com/t/read-write-simple-data-to-server-ex-high-scores/330734 "2013-03-07T23:38:00Z")

</div>

Read/Write simple data to server (ex: high scores) What would be the simplest way to write (and then read) simple txt data to a server? I'm hosting a site for elementary aged educatoinal games for children (www.roomreces…

---

## [How to align a column to center in a DataGrid?](https://forum.kirupa.com/t/how-to-align-a-column-to-center-in-a-datagrid/330733)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [March 7, 2013, 8:35pm UTC](https://forum.kirupa.com/t/how-to-align-a-column-to-center-in-a-datagrid/330733 "2013-03-07T20:35:51Z")

</div>

Hi, The following code is to add a first column in a DataGrid table. How to align this column as center using code? var COL\_SLNO:DataGridColumn = new DataGridColumn("SL\_NO"); myGrid.addColumn(COL\_SLNO); COL\_SLNO.width=…

---

## [Difference between Cirrus or FMS](https://forum.kirupa.com/t/difference-between-cirrus-or-fms/330732)

<div class="topic-metadata">

**Author:** [@rickyhay](https://forum.kirupa.com/u/rickyhay)\
**Replies:** 0\
**Last updated:** [March 7, 2013, 1:39pm UTC](https://forum.kirupa.com/t/difference-between-cirrus-or-fms/330732 "2013-03-07T13:39:02Z")

</div>

I am building a small video chat application. I am debating whether to use Cirrus or FMS. So my question is, what is the primary difference between using Cirrus or Adobe Media Server? What are the advantages and disadvan…

---

## [Box2D - PhysGround, PhysBox, PhysCircle](https://forum.kirupa.com/t/box2d-physground-physbox-physcircle/330729)

<div class="topic-metadata">

**Author:** [@beugen](https://forum.kirupa.com/u/beugen)\
**Replies:** 0\
**Last updated:** [March 7, 2013, 7:09am UTC](https://forum.kirupa.com/t/box2d-physground-physbox-physcircle/330729 "2013-03-07T07:09:34Z")

</div>

Hi, Please help me with the followng question (beeing a newbee is difficult). What is the implementation of PhysGround, PhysCircle and PhysBox in Box2d ?. How to implement them ? I searched but found nothing. Thank yo…

---

## [Trying to handle m3u8 file in flash project need help!](https://forum.kirupa.com/t/trying-to-handle-m3u8-file-in-flash-project-need-help/330725)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 0\
**Last updated:** [March 7, 2013, 12:26am UTC](https://forum.kirupa.com/t/trying-to-handle-m3u8-file-in-flash-project-need-help/330725 "2013-03-07T00:26:56Z")

</div>

Hi All, I think I've reached the end of the internet with my flash/as3/m3u8 queries and I've always had the best of luck on Kirupa so I thought I'd give it a try. I have a video player which is loading some basic flv…

---

## [Preloader makes my swf react differently](https://forum.kirupa.com/t/preloader-makes-my-swf-react-differently/330721)

<div class="topic-metadata">

**Author:** [@digitaleyes](https://forum.kirupa.com/u/digitaleyes)\
**Replies:** 0\
**Last updated:** [March 6, 2013, 3:43pm UTC](https://forum.kirupa.com/t/preloader-makes-my-swf-react-differently/330721 "2013-03-06T15:43:32Z")

</div>

I have an external preloader that runs before my main swf file. The main file has an enter frame listener that starts an audio file and then automatically proceeds to the second frame. This works fine if I run the swf…

---

## [Rotate Toward Object (Complex Issue)](https://forum.kirupa.com/t/rotate-toward-object-complex-issue/330718)

<div class="topic-metadata">

**Author:** [@gamedesigner](https://forum.kirupa.com/u/gamedesigner)\
**Replies:** 0\
**Last updated:** [March 6, 2013, 9:06am UTC](https://forum.kirupa.com/t/rotate-toward-object-complex-issue/330718 "2013-03-06T09:06:29Z")

</div>

I have been searching the web for a bit trying to find a solution... And after going through every related post in stackoverflow I still can't find a working solution... This looked promising but didn't work... http://s…

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=36)

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