# programming

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

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

**Page:** 558

---

## [Get the duration of a streaming sound](https://forum.kirupa.com/t/get-the-duration-of-a-streaming-sound/305042)

<div class="topic-metadata">

**Author:** [@aub1979](https://forum.kirupa.com/u/aub1979)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 10:54am UTC](https://forum.kirupa.com/t/get-the-duration-of-a-streaming-sound/305042 "2010-02-18T10:54:53Z")

</div>

Hi, I am trying to write an mp3 player. I have tried everything and am suck getting the duration of an mp3. Heres my working code: on(press){ function callback1() { trace("mySound completed"); i++; output\_txt…

---

## [Running Flash as a server application](https://forum.kirupa.com/t/running-flash-as-a-server-application/305040)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 10:20am UTC](https://forum.kirupa.com/t/running-flash-as-a-server-application/305040 "2010-02-18T10:20:10Z")

</div>

We're interested in putting one of our flash applications on the server back-end so that it can run as a module on the server machine (not on the client!). I know flash wasnt designed for this at all, so my question is: …

---

## [F/S yamaha tyros 3 workstation/apple ipad 3g 64gb](https://forum.kirupa.com/t/f-s-yamaha-tyros-3-workstation-apple-ipad-3g-64gb/305031)

<div class="topic-metadata">

**Author:** [@owode2010](https://forum.kirupa.com/u/owode2010)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 7:25am UTC](https://forum.kirupa.com/t/f-s-yamaha-tyros-3-workstation-apple-ipad-3g-64gb/305031 "2010-02-18T07:25:00Z")

</div>

\*\*VIBRANT VENTURS LTD. 3BERRY HILL COURT TAPLOW,BERKSHIRE UNITD KINGDOM +447035997058 owodeelect1@hotmail.com owodeelect1@gmail.com owodeelect@yahoo.com www.vibrantventures.co.cc Pioneer CDJ-1000MK3 Pioneer CDJ 400 …

---

## [Rollover Delay](https://forum.kirupa.com/t/rollover-delay/305030)

<div class="topic-metadata">

**Author:** [@pixelpixie7](https://forum.kirupa.com/u/pixelpixie7)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 7:19am UTC](https://forum.kirupa.com/t/rollover-delay/305030 "2010-02-18T07:19:54Z")

</div>

Hi everyone, I apologize if this topic has been covered before but I've been searching the internet high and low for solutions to my problem all day and have yet to find one that will work for me. My problem is tha…

---

## [Custom cursor and google chrome](https://forum.kirupa.com/t/custom-cursor-and-google-chrome/305028)

<div class="topic-metadata">

**Author:** [@luoruize](https://forum.kirupa.com/u/luoruize)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 6:42am UTC](https://forum.kirupa.com/t/custom-cursor-and-google-chrome/305028 "2010-02-18T06:42:59Z")

</div>

I'm using a custom cursor in a project, and it's working fine on both Internet Explorer and Firefox. When I try it using Chrome, it's still shows the regular cursor over the custom one. Is there any way to fix this?

---

## [Video Streaming](https://forum.kirupa.com/t/video-streaming/305026)

<div class="topic-metadata">

**Author:** [@vikrant29nov](https://forum.kirupa.com/u/vikrant29nov)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 6:15am UTC](https://forum.kirupa.com/t/video-streaming/305026 "2010-02-18T06:15:01Z")

</div>

Hi, I have loaded an external video with playback component in Flash CS4. Now the question is do I need to add streaming script or not?

---

## [Display preloader for main](https://forum.kirupa.com/t/display-preloader-for-main/305024)

<div class="topic-metadata">

**Author:** [@nitinmukesh](https://forum.kirupa.com/u/nitinmukesh)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 5:43am UTC](https://forum.kirupa.com/t/display-preloader-for-main/305024 "2010-02-18T05:43:23Z")

</div>

I have just started to work in AS3 and stuck in a problem. I have created a fla document named main.fla I have defined the document class as Main which is attached. The problem is preloader shows only when the file i…

---

## [Error #1009: Cannot access a property or method of a null object reference:presscheck](https://forum.kirupa.com/t/error-1009-cannot-access-a-property-or-method-of-a-null-object-reference-presscheck/305021)

<div class="topic-metadata">

**Author:** [@jakmagi](https://forum.kirupa.com/u/jakmagi)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 3:28am UTC](https://forum.kirupa.com/t/error-1009-cannot-access-a-property-or-method-of-a-null-object-reference-presscheck/305021 "2010-02-18T03:28:06Z")

</div>

Hullo.. A newbie here..and AS3.. Anyways..I was trying out AS3...when got this kinda error.. TypeError: Error #1009: Cannot access a property or method of a null object reference. at testCollision1\_fla::MainTimel…

---

## [Printing from flash](https://forum.kirupa.com/t/printing-from-flash/305018)

<div class="topic-metadata">

**Author:** [@pillageTHENburn](https://forum.kirupa.com/u/pillageTHENburn)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 1:29am UTC](https://forum.kirupa.com/t/printing-from-flash/305018 "2010-02-18T01:29:34Z")

</div>

Using AS3 I am printing a long datagrid, I finally have it printing okay but the second (and beyond) page there is no margin at the top. I am using a rectangle added to the print job with addpage. I simply moved the rec…

---

## [Object doesn't drag if Container MovieClip is rotated to a 3D Environment](https://forum.kirupa.com/t/object-doesnt-drag-if-container-movieclip-is-rotated-to-a-3d-environment/305017)

<div class="topic-metadata">

**Author:** [@tcabaco](https://forum.kirupa.com/u/tcabaco)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 1:23am UTC](https://forum.kirupa.com/t/object-doesnt-drag-if-container-movieclip-is-rotated-to-a-3d-environment/305017 "2010-02-18T01:23:50Z")

</div>

Hey I have this enter\_frame listener to make my Container MovieClip rotate on a 3D environment in relation to the position of the mouse. addEventListener( Event.ENTER\_FRAME, loop ); private function loop( e:Event )…

---

## [Type Troubles](https://forum.kirupa.com/t/type-troubles/305016)

<div class="topic-metadata">

**Author:** [@mmcgowan](https://forum.kirupa.com/u/mmcgowan)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 1:22am UTC](https://forum.kirupa.com/t/type-troubles/305016 "2010-02-18T01:22:52Z")

</div>

Hi. Flash CS4 does not recognize all activated fonts in either Font Book or Linotype FontExplorer X. The fonts it does recognize seem like a fairly random selection of the activated typefaces. Very vexing. Thanks for any…

---

## [Need array help - AC2](https://forum.kirupa.com/t/need-array-help-ac2/305015)

<div class="topic-metadata">

**Author:** [@mercuryfx](https://forum.kirupa.com/u/mercuryfx)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 1:14am UTC](https://forum.kirupa.com/t/need-array-help-ac2/305015 "2010-02-18T01:14:19Z")

</div>

I'm making a game that has 28 large animation movie clips in the library and 28 matching small movie clips sitting off to the side on the stage. Please see file at: acceleratedchild.com/paths3.fla The large animatio…

---

## [Flex components with Flash IDE](https://forum.kirupa.com/t/flex-components-with-flash-ide/305014)

<div class="topic-metadata">

**Author:** [@enridp](https://forum.kirupa.com/u/enridp)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 1:13am UTC](https://forum.kirupa.com/t/flex-components-with-flash-ide/305014 "2010-02-18T01:13:53Z")

</div>

Hi!! I found a lot of very useful components in the web, but they are all for Flex, is it possible to use Flex Components with Flash IDE? Thanks !!! jenry PS: this is one of the components I need to use (a tree with …

---

## [Bitmap width change not reflected in bitmapData?](https://forum.kirupa.com/t/bitmap-width-change-not-reflected-in-bitmapdata/305013)

<div class="topic-metadata">

**Author:** [@AlexWD](https://forum.kirupa.com/u/AlexWD)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 1:10am UTC](https://forum.kirupa.com/t/bitmap-width-change-not-reflected-in-bitmapdata/305013 "2010-02-18T01:10:18Z")

</div>

I have a small bitmap, and it's one that's going to be scaled to be much larger then added to another bitmap. So I have the bitmap and I changed to width to make it larger, then when I use copyPixels to place this bitmap…

---

## [Can I "seek" video from VideoDisplay control?](https://forum.kirupa.com/t/can-i-seek-video-from-videodisplay-control/305012)

<div class="topic-metadata">

**Author:** [@lectersmeal](https://forum.kirupa.com/u/lectersmeal)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 12:49am UTC](https://forum.kirupa.com/t/can-i-seek-video-from-videodisplay-control/305012 "2010-02-18T00:49:13Z")

</div>

\*\*\[URL="http://tinyurl.com/yk4jcxd"\] \*\*I used the VideoDisplay control to create this little flex project for my research. So far, I've been developing everything locally. Once I changed the source to an online FLV file,…

---

## [Php code generating an XML file Help](https://forum.kirupa.com/t/php-code-generating-an-xml-file-help/305011)

<div class="topic-metadata">

**Author:** [@samy4movies](https://forum.kirupa.com/u/samy4movies)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 12:44am UTC](https://forum.kirupa.com/t/php-code-generating-an-xml-file-help/305011 "2010-02-18T00:44:51Z")

</div>

Hi PHP gurus, I have a php code that I found very helpful to generate an xml file. It get the files from a folder an creates the xml file, but I need to know how can I generate a #CDATA-Section, because this xml file wi…

---

## [Link to cue points in flash](https://forum.kirupa.com/t/link-to-cue-points-in-flash/305009)

<div class="topic-metadata">

**Author:** [@alexmel7](https://forum.kirupa.com/u/alexmel7)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 12:03am UTC](https://forum.kirupa.com/t/link-to-cue-points-in-flash/305009 "2010-02-18T00:03:00Z")

</div>

Hey Everyone, I have a fla file with a menu and flv video in it. The buttons for the menu are created with an xml file. I want to use the buttons to go to navigation cue points in my flv instead of a url, but I do not …

---

## [Need Help playing multipul mCs](https://forum.kirupa.com/t/need-help-playing-multipul-mcs/305008)

<div class="topic-metadata">

**Author:** [@Will11207](https://forum.kirupa.com/u/Will11207)\
**Replies:** 0\
**Last updated:** [February 17, 2010, 11:56pm UTC](https://forum.kirupa.com/t/need-help-playing-multipul-mcs/305008 "2010-02-17T23:56:20Z")

</div>

Hey All. I'm new to this forum and AS3 as well. :hurt: need a little help with Flash, have a few movieClips and I would like them to play one after the other. \[at end of MovieClip play next movieClip\]. Using AS3 to T…

---

## [Text color in a datagrid](https://forum.kirupa.com/t/text-color-in-a-datagrid/305006)

<div class="topic-metadata">

**Author:** [@pillageTHENburn](https://forum.kirupa.com/u/pillageTHENburn)\
**Replies:** 0\
**Last updated:** [February 17, 2010, 10:31pm UTC](https://forum.kirupa.com/t/text-color-in-a-datagrid/305006 "2010-02-17T22:31:08Z")

</div>

I need to make the text for the cells of a datagrid white. I have read a load of articles that tell how to do this but I must be missing something critical because nothing is working. I have very successfully changed the…

---

## [\[opinion needed\] best way to create/render multiple movieclips?](https://forum.kirupa.com/t/opinion-needed-best-way-to-create-render-multiple-movieclips/305004)

<div class="topic-metadata">

**Author:** [@ligaa](https://forum.kirupa.com/u/ligaa)\
**Replies:** 0\
**Last updated:** [February 17, 2010, 10:10pm UTC](https://forum.kirupa.com/t/opinion-needed-best-way-to-create-render-multiple-movieclips/305004 "2010-02-17T22:10:26Z")

</div>

Hey all \[smile\] I'm starting work on a new game that has a lot of shapes dynamically generated on the stage. They're all the same shape, just different sizes. I figured the best way to do this would be an array of movi…

---

## [Targeting dynamically created nested movieclips](https://forum.kirupa.com/t/targeting-dynamically-created-nested-movieclips/305002)

<div class="topic-metadata">

**Author:** [@sluke](https://forum.kirupa.com/u/sluke)\
**Replies:** 0\
**Last updated:** [February 17, 2010, 9:40pm UTC](https://forum.kirupa.com/t/targeting-dynamically-created-nested-movieclips/305002 "2010-02-17T21:40:39Z")

</div>

Hi all, got a bit of a problem I've moved into while working on a project. I'm dynamically creating movieclips with dynamically created movieclips inside them and am having trouble with targeting them. Below is a s…

---

## [12-step volume bar issue](https://forum.kirupa.com/t/12-step-volume-bar-issue/304999)

<div class="topic-metadata">

**Author:** [@STAD](https://forum.kirupa.com/u/STAD)\
**Replies:** 0\
**Last updated:** [February 17, 2010, 8:47pm UTC](https://forum.kirupa.com/t/12-step-volume-bar-issue/304999 "2010-02-17T20:47:20Z")

</div>

Hi, As some of you might notice I'm new around here. Unfortunately I'm just about as green when it comes to Action Script. The thing is, I'm currently working on a small project which I, against all common sense, agr…

---

## [ASO won't go away](https://forum.kirupa.com/t/aso-wont-go-away/304997)

<div class="topic-metadata">

**Author:** [@magarik](https://forum.kirupa.com/u/magarik)\
**Replies:** 0\
**Last updated:** [February 17, 2010, 8:07pm UTC](https://forum.kirupa.com/t/aso-wont-go-away/304997 "2010-02-17T20:07:16Z")

</div>

hi, i am experiencing symptoms of flash caching my classes. having this problem before, after a lot of time i have found out what it is,l deleted them and everything was solved. now, when i press control \> delete ASO, …

---

## [Stalling AS3 tweens](https://forum.kirupa.com/t/stalling-as3-tweens/304996)

<div class="topic-metadata">

**Author:** [@joobny](https://forum.kirupa.com/u/joobny)\
**Replies:** 0\
**Last updated:** [February 17, 2010, 8:04pm UTC](https://forum.kirupa.com/t/stalling-as3-tweens/304996 "2010-02-17T20:04:28Z")

</div>

I'm using AS3 to create some motion tweens in a game that I'm creating, though they have been pretty temperamental so far... Here's some code that places a movie clip on the stage and tweens it: function fatControll…

---

## [Google Maps API XML Add Marker Description](https://forum.kirupa.com/t/google-maps-api-xml-add-marker-description/304995)

<div class="topic-metadata">

**Author:** [@spyderfx](https://forum.kirupa.com/u/spyderfx)\
**Replies:** 0\
**Last updated:** [February 17, 2010, 8:04pm UTC](https://forum.kirupa.com/t/google-maps-api-xml-add-marker-description/304995 "2010-02-17T20:04:11Z")

</div>

I'm trying to help my dad out with his real estate website. He wants to have a google map displaying his properties on there. So far I've been able to use the Google Map API to make a map and add markers downloaded from …

---

## [List the contents of a directory](https://forum.kirupa.com/t/list-the-contents-of-a-directory/304992)

<div class="topic-metadata">

**Author:** [@pillageTHENburn](https://forum.kirupa.com/u/pillageTHENburn)\
**Replies:** 0\
**Last updated:** [February 17, 2010, 6:10pm UTC](https://forum.kirupa.com/t/list-the-contents-of-a-directory/304992 "2010-02-17T18:10:15Z")

</div>

I have looked far and wide for an answer to this; I fear the solution is simple and I've probably been looking in the wrong places (or for the wrong thing). I am using Flash CS3 with Actionscript 3 and outputting an AI…

---

## [Publishing SWF to a different size](https://forum.kirupa.com/t/publishing-swf-to-a-different-size/304990)

<div class="topic-metadata">

**Author:** [@bladeswim83](https://forum.kirupa.com/u/bladeswim83)\
**Replies:** 0\
**Last updated:** [February 17, 2010, 5:54pm UTC](https://forum.kirupa.com/t/publishing-swf-to-a-different-size/304990 "2010-02-17T17:54:04Z")

</div>

Hello all! Is there a way to publish or export a an SWF file to a different size? I created this swf a while ago and now I need to send it with a short portfolio but the swf is 22MB. Plus I have a few other swf's to…

---

## [Returning specific parameters passed from FlashVars in an html doc](https://forum.kirupa.com/t/returning-specific-parameters-passed-from-flashvars-in-an-html-doc/304989)

<div class="topic-metadata">

**Author:** [@snape](https://forum.kirupa.com/u/snape)\
**Replies:** 0\
**Last updated:** [February 17, 2010, 5:23pm UTC](https://forum.kirupa.com/t/returning-specific-parameters-passed-from-flashvars-in-an-html-doc/304989 "2010-02-17T17:23:37Z")

</div>

Hi, Please bear with me as I am very new to flash and as3. I am sending variables from my html page: \<param name="FlashVars" value="nameCheck=boo&imageCheck=image01.jpg"\> ...in the parameters section of the…

---

## [Firefox Mouse Event Issues](https://forum.kirupa.com/t/firefox-mouse-event-issues/304986)

<div class="topic-metadata">

**Author:** [@Agold](https://forum.kirupa.com/u/Agold)\
**Replies:** 0\
**Last updated:** [February 17, 2010, 4:37pm UTC](https://forum.kirupa.com/t/firefox-mouse-event-issues/304986 "2010-02-17T16:37:09Z")

</div>

I'm now convinced there is some sort of mechanism built into Firefox that seems to turn off the mouse event handlers in flash applications on the html page when the user scrolls the page or does any other sort of mouse i…

---

## [Help with Flash CS4](https://forum.kirupa.com/t/help-with-flash-cs4/304985)

<div class="topic-metadata">

**Author:** [@Dave\_Rovinelli](https://forum.kirupa.com/u/Dave_Rovinelli)\
**Replies:** 0\
**Last updated:** [February 17, 2010, 4:11pm UTC](https://forum.kirupa.com/t/help-with-flash-cs4/304985 "2010-02-17T16:11:04Z")

</div>

I am working on a tutorial where the user navigates through a series of questions. I need Flash to remember the users answer after the users moves to the next or previous frame.

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

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