# flash

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

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

**Page:** 755

---

## [Format Date from XML](https://forum.kirupa.com/t/format-date-from-xml/278121)

<div class="topic-metadata">

**Author:** [@Thundercat](https://forum.kirupa.com/u/Thundercat)\
**Replies:** 0\
**Last updated:** [December 22, 2008, 7:12pm UTC](https://forum.kirupa.com/t/format-date-from-xml/278121 "2008-12-22T19:12:09Z")

</div>

I'm trying to read and format a date from XML The XML date is : \<pubDate\>Thu, 28 Aug 2008 09:19:45 -0500\</pubDate\> I have the following code: var newsDate:Date = new Date (); newsDate = xml.item\[0\].pubDat…

---

## [Help with animation loop](https://forum.kirupa.com/t/help-with-animation-loop/278118)

<div class="topic-metadata">

**Author:** [@ihookcreative](https://forum.kirupa.com/u/ihookcreative)\
**Replies:** 0\
**Last updated:** [December 22, 2008, 6:56pm UTC](https://forum.kirupa.com/t/help-with-animation-loop/278118 "2008-12-22T18:56:03Z")

</div>

I have the following code and I need it to loop a certain number of times once it has finished the last animation tween. The clip runs a total of 15 seconds. It is a banner and will go on a few different sites so it need…

---

## [Flash file Reading a Swf File](https://forum.kirupa.com/t/flash-file-reading-a-swf-file/278112)

<div class="topic-metadata">

**Author:** [@zancroft](https://forum.kirupa.com/u/zancroft)\
**Replies:** 0\
**Last updated:** [December 22, 2008, 6:30pm UTC](https://forum.kirupa.com/t/flash-file-reading-a-swf-file/278112 "2008-12-22T18:30:17Z")

</div>

I was wondering if there was a way to make a flash file obtain data from another swf file. What I have is a swf that contains a datagrid and I want to make a flash file that can read the swf and find the number stored in…

---

## [Detecting the flash player version](https://forum.kirupa.com/t/detecting-the-flash-player-version/278110)

<div class="topic-metadata">

**Author:** [@arundracula](https://forum.kirupa.com/u/arundracula)\
**Replies:** 0\
**Last updated:** [December 22, 2008, 5:42pm UTC](https://forum.kirupa.com/t/detecting-the-flash-player-version/278110 "2008-12-22T17:42:09Z")

</div>

Please help. I made a website in flash. And I want to host it. So How do I make the html page, which contains the flash? It has to detect whether the flash player is above 10.0.2. If the condition is not ok, then the …

---

## [Sending a string/text to a dynamic text box](https://forum.kirupa.com/t/sending-a-string-text-to-a-dynamic-text-box/278104)

<div class="topic-metadata">

**Author:** [@j3ron](https://forum.kirupa.com/u/j3ron)\
**Replies:** 0\
**Last updated:** [December 22, 2008, 3:48pm UTC](https://forum.kirupa.com/t/sending-a-string-text-to-a-dynamic-text-box/278104 "2008-12-22T15:48:40Z")

</div>

Hi all. Im a relative newbie to flash (am currently using the CS4 trial), and have been fooling around with it a little. I'm trying to make a swf with 5 objects. The objects can all have X number of colors. The user c…

---

## [Catching flash player events](https://forum.kirupa.com/t/catching-flash-player-events/278103)

<div class="topic-metadata">

**Author:** [@OML](https://forum.kirupa.com/u/OML)\
**Replies:** 0\
**Last updated:** [December 22, 2008, 3:31pm UTC](https://forum.kirupa.com/t/catching-flash-player-events/278103 "2008-12-22T15:31:40Z")

</div>

I really need to know if catching events from a flash player is possible. For example, I would like to know when a user presses the Pause, Stop, Play etc... Is this possible? How? Thanks! OML \[alien\]

---

## [Am I Right or Wrong?](https://forum.kirupa.com/t/am-i-right-or-wrong/278102)

<div class="topic-metadata">

**Author:** [@designkart](https://forum.kirupa.com/u/designkart)\
**Replies:** 0\
**Last updated:** [December 22, 2008, 3:27pm UTC](https://forum.kirupa.com/t/am-i-right-or-wrong/278102 "2008-12-22T15:27:22Z")

</div>

I have a client who has a simple scrolling text field component on her site. All was fine and dandy, until they requested certain words link to other anchor points within that same text field. I'm about to tell my clie…

---

## [Weapons Selection Problem!](https://forum.kirupa.com/t/weapons-selection-problem/278100)

<div class="topic-metadata">

**Author:** [@alleballe90](https://forum.kirupa.com/u/alleballe90)\
**Replies:** 0\
**Last updated:** [December 22, 2008, 3:12pm UTC](https://forum.kirupa.com/t/weapons-selection-problem/278100 "2008-12-22T15:12:53Z")

</div>

So basically what I want is a weapons selection option in my game, for example; press 1 and use the Pistol, press 2 and use the Uzi. Here is the code I've put in the timeline \_root.wpnChoice = 0; //DESERT EAG…

---

## [Changing date with math?](https://forum.kirupa.com/t/changing-date-with-math/278093)

<div class="topic-metadata">

**Author:** [@oliie](https://forum.kirupa.com/u/oliie)\
**Replies:** 0\
**Last updated:** [December 22, 2008, 1:35pm UTC](https://forum.kirupa.com/t/changing-date-with-math/278093 "2008-12-22T13:35:07Z")

</div>

Hello fellow kirupians! I have another problem, still with the same calculator. I want to change date with some math... As you can see on the top tool called "Sparverktyg" at https://www.ekonomikompassen.se/app/ you …

---

## [Strange behaviour?](https://forum.kirupa.com/t/strange-behaviour/278089)

<div class="topic-metadata">

**Author:** [@oliie](https://forum.kirupa.com/u/oliie)\
**Replies:** 0\
**Last updated:** [December 22, 2008, 9:42am UTC](https://forum.kirupa.com/t/strange-behaviour/278089 "2008-12-22T09:42:40Z")

</div>

Ok, so I have this homemade calculator that doesn't understand something. I want this when var1 \> var2, var3 = 0, which works. But when var2 is like = 5000 and var1 = 600, var3 STILL equals 0! But if var1 = 400 var3 is…

---

## [Menu Actionscript](https://forum.kirupa.com/t/menu-actionscript/278088)

<div class="topic-metadata">

**Author:** [@mhtahir](https://forum.kirupa.com/u/mhtahir)\
**Replies:** 0\
**Last updated:** [December 22, 2008, 9:42am UTC](https://forum.kirupa.com/t/menu-actionscript/278088 "2008-12-22T09:42:30Z")

</div>

http://www.isportinternational.com/ How can we make these kind of men, what will be the action script of this file. please send me template thanks for post

---

## [FullScreen wont work](https://forum.kirupa.com/t/fullscreen-wont-work/278086)

<div class="topic-metadata">

**Author:** [@kleelof](https://forum.kirupa.com/u/kleelof)\
**Replies:** 0\
**Last updated:** [December 22, 2008, 8:28am UTC](https://forum.kirupa.com/t/fullscreen-wont-work/278086 "2008-12-22T08:28:51Z")

</div>

Hello, I'm having a problem getting fullscreen to work. When I try to go fullscreen, I get the error #2152. Now, I read this is because the HTML has to say it is ok to go fullscreen, but as you can see in the posted c…

---

## [Textfield help](https://forum.kirupa.com/t/textfield-help/278081)

<div class="topic-metadata">

**Author:** [@delux247](https://forum.kirupa.com/u/delux247)\
**Replies:** 0\
**Last updated:** [December 22, 2008, 2:15am UTC](https://forum.kirupa.com/t/textfield-help/278081 "2008-12-22T02:15:51Z")

</div>

So in my flash movie I have the user enter their name on the first screen. then when the press the button I want a welcome message to say welcome (the input) please click the button… I have it all working but my problem …

---

## [Flash 8: Darts Scorer](https://forum.kirupa.com/t/flash-8-darts-scorer/278077)

<div class="topic-metadata">

**Author:** [@Jos](https://forum.kirupa.com/u/Jos)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 11:39pm UTC](https://forum.kirupa.com/t/flash-8-darts-scorer/278077 "2008-12-21T23:39:31Z")

</div>

Hi there, I'm hoping someone can point me in the direction of a useful tutorial or some relevant info to get me started on this, I've had a good look around flashkit but couldn't find anything. I'm just looking to make…

---

## [HELP - as3 engine](https://forum.kirupa.com/t/help-as3-engine/278076)

<div class="topic-metadata">

**Author:** [@eddu](https://forum.kirupa.com/u/eddu)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 11:11pm UTC](https://forum.kirupa.com/t/help-as3-engine/278076 "2008-12-21T23:11:11Z")

</div>

Hello to all. This is an outstanding website, thank you all for the help... Right now i have a trouble. I need to do a work for the university but i really dont know how to !! I will try to explain: I need to do …

---

## [Problems with removeChild()](https://forum.kirupa.com/t/problems-with-removechild/278075)

<div class="topic-metadata">

**Author:** [@freshrod](https://forum.kirupa.com/u/freshrod)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 9:42pm UTC](https://forum.kirupa.com/t/problems-with-removechild/278075 "2008-12-21T21:42:02Z")

</div>

Greetings I have a main movieclip called pageWork from which I am openeing another (in the future several) movieclip. This movieclip is galled galleryPhoto. This works fine. However when I try to remove this moviecli…

---

## [Navigating Interface with keyboard](https://forum.kirupa.com/t/navigating-interface-with-keyboard/278074)

<div class="topic-metadata">

**Author:** [@filogo](https://forum.kirupa.com/u/filogo)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 9:37pm UTC](https://forum.kirupa.com/t/navigating-interface-with-keyboard/278074 "2008-12-21T21:37:00Z")

</div>

Hi guys ! I have to do some very simple interface tests in flash - let say 3 buttons nothing else but when the swf. is loaded the first button has to be se selected and with the Up/Down buttons I want to navigate to t…

---

## [Click MovieClip and Blackout BG](https://forum.kirupa.com/t/click-movieclip-and-blackout-bg/278072)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 8:18pm UTC](https://forum.kirupa.com/t/click-movieclip-and-blackout-bg/278072 "2008-12-21T20:18:18Z")

</div>

Hey Guys, I have a movie clip that when clicked, it grows larger. I'd like to have the background fill with a faded black tone as to draw attention to the large image in the foreground. Right now I'm just thinking o…

---

## [XML server-side?](https://forum.kirupa.com/t/xml-server-side/278070)

<div class="topic-metadata">

**Author:** [@slhm1](https://forum.kirupa.com/u/slhm1)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 7:29pm UTC](https://forum.kirupa.com/t/xml-server-side/278070 "2008-12-21T19:29:38Z")

</div>

Hi. Hope I've hit the correct forum. My question is, can server-side .asc files load and read XML files? I got the process to do this in AS3, but naturally that's an .as file, not an .asc file. The reason I am asking…

---

## [Alternative method of changing XML attribute?](https://forum.kirupa.com/t/alternative-method-of-changing-xml-attribute/278067)

<div class="topic-metadata">

**Author:** [@frankichiro](https://forum.kirupa.com/u/frankichiro)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 4:23pm UTC](https://forum.kirupa.com/t/alternative-method-of-changing-xml-attribute/278067 "2008-12-21T16:23:15Z")

</div>

My problem is simple: \[AS\]var xml:XML = new XML('\<p class="a"\>Whatever\</p\>'); xml.@class = 'b'; // 1084: Syntax error: expecting identifier before class.\[/AS\] Is there another way to change the attribute? / Frank …

---

## [setInterval problem, gives the same value over and over to function](https://forum.kirupa.com/t/setinterval-problem-gives-the-same-value-over-and-over-to-function/278064)

<div class="topic-metadata">

**Author:** [@deltaone](https://forum.kirupa.com/u/deltaone)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 3:27pm UTC](https://forum.kirupa.com/t/setinterval-problem-gives-the-same-value-over-and-over-to-function/278064 "2008-12-21T15:27:16Z")

</div>

LATER EDIT: apparently, I managed to work around it. Anyway, the second setInterval was the one that did not work, and I put instead of: setInterval(this, "setText", interval, setAcText()); this: StratFlash = new …

---

## [Stage conflict problem](https://forum.kirupa.com/t/stage-conflict-problem/278063)

<div class="topic-metadata">

**Author:** [@nico](https://forum.kirupa.com/u/nico)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 1:35pm UTC](https://forum.kirupa.com/t/stage-conflict-problem/278063 "2008-12-21T13:35:09Z")

</div>

Hello guys, im really getting crazy about this one... im doing a site and i did it by creating the site section as external swfs. Heres the problem. I created my own scrollbard class and used it on one of the external …

---

## [Help w/ using Senocular's Layout Class](https://forum.kirupa.com/t/help-w-using-senoculars-layout-class/278061)

<div class="topic-metadata">

**Author:** [@joomoo79](https://forum.kirupa.com/u/joomoo79)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 12:31pm UTC](https://forum.kirupa.com/t/help-w-using-senoculars-layout-class/278061 "2008-12-21T12:31:43Z")

</div>

Hey guys, As the title says... Basically, I have a main Layout object c, which contains child objects. My only problem is that I can't figure out how to automatically center c on stage. Sounds simple enough but... LO…

---

## [AS2: Sounds and changing volumes](https://forum.kirupa.com/t/as2-sounds-and-changing-volumes/278060)

<div class="topic-metadata">

**Author:** [@RaMath](https://forum.kirupa.com/u/RaMath)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 12:21pm UTC](https://forum.kirupa.com/t/as2-sounds-and-changing-volumes/278060 "2008-12-21T12:21:16Z")

</div>

I'm working on an interactive Christmas card. The idea is that people are in my room, music starts playing and people can click on instruments inside my room to make that instrument play alongside the music that was alre…

---

## [Array into Text Box](https://forum.kirupa.com/t/array-into-text-box/278058)

<div class="topic-metadata">

**Author:** [@ku4kar](https://forum.kirupa.com/u/ku4kar)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 10:16am UTC](https://forum.kirupa.com/t/array-into-text-box/278058 "2008-12-21T10:16:02Z")

</div>

Hello, Sorry for the dummy question, but I really don't have any idea how to display array of numbers into a dynamic text field. Thanks

---

## [Loading multiple swf..not working](https://forum.kirupa.com/t/loading-multiple-swf-not-working/278057)

<div class="topic-metadata">

**Author:** [@max999](https://forum.kirupa.com/u/max999)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 7:21am UTC](https://forum.kirupa.com/t/loading-multiple-swf-not-working/278057 "2008-12-21T07:21:27Z")

</div>

Hi guys i have a main swf that has 6 xml galleries loaded into it, basically i want to load automatically and at the same time all 6 in empty MC. It actually works and these gallery all loads into the main. these are xml…

---

## [DisplayObjcet.graphics.draw\*\*\*\*\*?](https://forum.kirupa.com/t/displayobjcet-graphics-draw/278056)

<div class="topic-metadata">

**Author:** [@audiohominis](https://forum.kirupa.com/u/audiohominis)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 7:20am UTC](https://forum.kirupa.com/t/displayobjcet-graphics-draw/278056 "2008-12-21T07:20:47Z")

</div>

'Sup guys. How can I extend \[FONT="Courier New"\]flash.display.Graphics\[/FONT\] so that the drawing method could be called like so \[FONT="Courier New"\]mySprite.graphics.drawArc\[/FONT\], or \[FONT="Courier New"\]myMovieClip.g…

---

## [Some XML Help](https://forum.kirupa.com/t/some-xml-help/278052)

<div class="topic-metadata">

**Author:** [@wwwdeveloper](https://forum.kirupa.com/u/wwwdeveloper)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 5:49am UTC](https://forum.kirupa.com/t/some-xml-help/278052 "2008-12-21T05:49:42Z")

</div>

The following AS3 code works great to pull in some xml data and do a little slideshow like transition to display news. I've been banging my head against the wall trying to figure out the logic to get it to go back to th…

---

## [Flash Media Server/Red5](https://forum.kirupa.com/t/flash-media-server-red5/278050)

<div class="topic-metadata">

**Author:** [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 4:52am UTC](https://forum.kirupa.com/t/flash-media-server-red5/278050 "2008-12-21T04:52:47Z")

</div>

I have some code that works fine using a SocketXML server, but I want to convert it to work with Red5. Red5 comes with AS2 examples, but nothing AS3. The only example I've been able to find is: http://rails.elctech.com…

---

## [Tile Background Image](https://forum.kirupa.com/t/tile-background-image/278048)

<div class="topic-metadata">

**Author:** [@blink18jew](https://forum.kirupa.com/u/blink18jew)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 4:10am UTC](https://forum.kirupa.com/t/tile-background-image/278048 "2008-12-21T04:10:13Z")

</div>

Hey, im attempting to create a mini-game working off the tutorials on : http://www.tonypa.pri.ee/tbw/flas.html i want to have an image appear on a tile instead of a plain color, can anyone give me some advice on how …

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

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