# flash

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

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

**Page:** 1931

---

## [Only numbers in a textField](https://forum.kirupa.com/t/only-numbers-in-a-textfield/172576)

<div class="topic-metadata">

**Author:** [@parad0xl0g](https://forum.kirupa.com/u/parad0xl0g)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 7:51pm UTC](https://forum.kirupa.com/t/only-numbers-in-a-textfield/172576 "2005-12-15T19:51:31Z")

</div>

I did a restriction on a textfield in flash mx some time ago. But now, i can't do it in mx 2004. How can i do it? I need to restrict input data, to just numbers Thanks

---

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

<div class="topic-metadata">

**Author:** [@sean1983uk](https://forum.kirupa.com/u/sean1983uk)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 5:53pm UTC](https://forum.kirupa.com/t/actionscript-menu-question/172567 "2005-12-15T17:53:45Z")

</div>

I'm building a menu in flash 8 using some actionscript to control it. what i want it to do is when a menu item is clicked, then play the fade out animation, then when thats complete play the fade in amimation for the s…

---

## [Flash Paper API UI Fonts](https://forum.kirupa.com/t/flash-paper-api-ui-fonts/172564)

<div class="topic-metadata">

**Author:** [@rolando\_lopez](https://forum.kirupa.com/u/rolando_lopez)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 5:05pm UTC](https://forum.kirupa.com/t/flash-paper-api-ui-fonts/172564 "2005-12-15T17:05:38Z")

</div>

Hi all, I'm trying to use the Flash Paper API to set the font for the UI of Flash Paper. However I can't find any function that will do that. Anyone? Also, whenever I use a flashpaper swf file, I don't see any text i…

---

## [My life's a script](https://forum.kirupa.com/t/my-lifes-a-script/172562)

<div class="topic-metadata">

**Author:** [@skenzie](https://forum.kirupa.com/u/skenzie)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 4:28pm UTC](https://forum.kirupa.com/t/my-lifes-a-script/172562 "2005-12-15T16:28:00Z")

</div>

Any eagle eyed actionscripters out there know how to turn a portion of this code into something that would animate a circle fill to the duration of a song being played. Please accept my apologies for being a total pain …

---

## [MX2004 -- Stage.height and Stage.width different from Mac to Windows](https://forum.kirupa.com/t/mx2004-stage-height-and-stage-width-different-from-mac-to-windows/172560)

<div class="topic-metadata">

**Author:** [@jcnes](https://forum.kirupa.com/u/jcnes)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 4:15pm UTC](https://forum.kirupa.com/t/mx2004-stage-height-and-stage-width-different-from-mac-to-windows/172560 "2005-12-15T16:15:01Z")

</div>

I have a really strange problem that is ruining my movie. I have set the size of the stage to 450px by 400px in the properties dialog. In my actionscript, I've got all kinds of things that rely on Stage.width. So, I deve…

---

## [Changing a date to next year in a countdown timer](https://forum.kirupa.com/t/changing-a-date-to-next-year-in-a-countdown-timer/172559)

<div class="topic-metadata">

**Author:** [@revjackassholio](https://forum.kirupa.com/u/revjackassholio)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 4:11pm UTC](https://forum.kirupa.com/t/changing-a-date-to-next-year-in-a-countdown-timer/172559 "2005-12-15T16:11:13Z")

</div>

I am trying to make a countdown timer and am using this code: // first get this current year so this example // remains valid for some time to come currentDate = new Date(); thisYear = currentDate.getFullYear(); eventD…

---

## [Book Recommendation – developing flash components](https://forum.kirupa.com/t/book-recommendation-developing-flash-components/172556)

<div class="topic-metadata">

**Author:** [@Bojan](https://forum.kirupa.com/u/Bojan)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 3:36pm UTC](https://forum.kirupa.com/t/book-recommendation-developing-flash-components/172556 "2005-12-15T15:36:07Z")

</div>

\[font=Arial\]Anyone know good book which explains developing flash components?\[/font\]\[font=Arial\] \[/font\] \[font=Arial\]Thanks,\[/font\]

---

## [Text Question](https://forum.kirupa.com/t/text-question/172554)

<div class="topic-metadata">

**Author:** [@HecticMedia](https://forum.kirupa.com/u/HecticMedia)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 3:23pm UTC](https://forum.kirupa.com/t/text-question/172554 "2005-12-15T15:23:03Z")

</div>

Hey guys, This is a real newbie question but I guess I just never needed to know before.. Say I write "Test" with the text tool (static, not dynamic), didn't break it apart, just left it how I wrote it and made it into…

---

## [XML/PHP and flash](https://forum.kirupa.com/t/xml-php-and-flash/172550)

<div class="topic-metadata">

**Author:** [@aphexburn](https://forum.kirupa.com/u/aphexburn)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 2:25pm UTC](https://forum.kirupa.com/t/xml-php-and-flash/172550 "2005-12-15T14:25:33Z")

</div>

Hello all! I had a question about XML/PHP and flash. Yesterday I read through the XML and PHP section in the kirupa website and was very pleased with the information that I found. I downloaded the simple\_editor.fla and w…

---

## [Need a bit of general direction](https://forum.kirupa.com/t/need-a-bit-of-general-direction/172543)

<div class="topic-metadata">

**Author:** [@Oli\_G](https://forum.kirupa.com/u/Oli_G)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 11:38am UTC](https://forum.kirupa.com/t/need-a-bit-of-general-direction/172543 "2005-12-15T11:38:08Z")

</div>

Ok, i'm not looking for code as such, just advice on the best way to go about this (with little of a learning curve if possible, very tight deadline!). It's basically a stage with 10 characters, and a song (2.5 minute…

---

## [Adding easing to hitTest movement](https://forum.kirupa.com/t/adding-easing-to-hittest-movement/172540)

<div class="topic-metadata">

**Author:** [@jerry](https://forum.kirupa.com/u/jerry)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 11:10am UTC](https://forum.kirupa.com/t/adding-easing-to-hittest-movement/172540 "2005-12-15T11:10:23Z")

</div>

Hey Kirupa people.. :thumb2: I need a little help here: I've got a simple setup of to movieclips on stage, mc\_1 and mc\_2. var theX = 120; var theY = 90; this.onEnterFrame = function() { if(mc\_1.hitTest(\_root.\_xmo…

---

## [Wordpress PHP/RSS/ANYTHING in flash?](https://forum.kirupa.com/t/wordpress-php-rss-anything-in-flash/172538)

<div class="topic-metadata">

**Author:** [@rodgerb](https://forum.kirupa.com/u/rodgerb)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 10:55am UTC](https://forum.kirupa.com/t/wordpress-php-rss-anything-in-flash/172538 "2005-12-15T10:55:56Z")

</div>

Hello, Pardon any pending noobishness, but... Does anyone know how to import wordpress generated rss (the wp-rss2.php file I'm assuming) into flash? Actually hoping to import in any format. Looking to use the WP admi…

---

## [comboBox selection in txt box?](https://forum.kirupa.com/t/combobox-selection-in-txt-box/172536)

<div class="topic-metadata">

**Author:** [@yossarian](https://forum.kirupa.com/u/yossarian)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 10:42am UTC](https://forum.kirupa.com/t/combobox-selection-in-txt-box/172536 "2005-12-15T10:42:43Z")

</div>

How can I create a comboBox where your selections are inserted into a text box? Y

---

## [Lottery ticket look alike - help?](https://forum.kirupa.com/t/lottery-ticket-look-alike-help/172534)

<div class="topic-metadata">

**Author:** [@Kimserov](https://forum.kirupa.com/u/Kimserov)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 8:30am UTC](https://forum.kirupa.com/t/lottery-ticket-look-alike-help/172534 "2005-12-15T08:30:53Z")

</div>

I desperately need some help. I need to create a banner that shows the effect of scratching off numbers on a lottery ticket (like you do with a coin) I don't need it to actually work (meaning I don't want the coin to fol…

---

## [Reset button help needed](https://forum.kirupa.com/t/reset-button-help-needed/172532)

<div class="topic-metadata">

**Author:** [@Tildy](https://forum.kirupa.com/u/Tildy)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 7:34am UTC](https://forum.kirupa.com/t/reset-button-help-needed/172532 "2005-12-15T07:34:38Z")

</div>

Hi. I am learning Flash and I have made a photo puzzle using "drag and drop" actionscripting. My puzzle has 20 pieces and 20 targets set up on a grid. Everything exists on separate layers but in one frame in the ma…

---

## [Global Math.floor()](https://forum.kirupa.com/t/global-math-floor/172529)

<div class="topic-metadata">

**Author:** [@fried](https://forum.kirupa.com/u/fried)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 6:48am UTC](https://forum.kirupa.com/t/global-math-floor/172529 "2005-12-15T06:48:32Z")

</div>

Hi there is there a way to globally assign Math.floor() or Math.round() to a flash presentation, so that all values in the presentation are rounded off?

---

## [Rotating around the centre when registeration point is at the upper left-hand corner](https://forum.kirupa.com/t/rotating-around-the-centre-when-registeration-point-is-at-the-upper-left-hand-corner/172527)

<div class="topic-metadata">

**Author:** [@Extrakun](https://forum.kirupa.com/u/Extrakun)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 5:39am UTC](https://forum.kirupa.com/t/rotating-around-the-centre-when-registeration-point-is-at-the-upper-left-hand-corner/172527 "2005-12-15T05:39:03Z")

</div>

Hi, How do I rotate around the centre of a movie-clip, if I have set the registration point of the movie-clip to the upper left hand corner? Thanks in advance!

---

## [Loading internal image into dynamic textbox](https://forum.kirupa.com/t/loading-internal-image-into-dynamic-textbox/172525)

<div class="topic-metadata">

**Author:** [@logikal2](https://forum.kirupa.com/u/logikal2)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 4:41am UTC](https://forum.kirupa.com/t/loading-internal-image-into-dynamic-textbox/172525 "2005-12-15T04:41:40Z")

</div>

Hey guys, I'm having a little trouble loading an INTERNAL image into a dynamic text box. It works fine while loading an EXTERNAL image, such as the following: strTxt = "\<img src='gorilla.jpg'\>"; out.htmlText = strTx…

---

## [Images...making them a graphic make smaller file size?](https://forum.kirupa.com/t/images-making-them-a-graphic-make-smaller-file-size/172523)

<div class="topic-metadata">

**Author:** [@trainpixsnet](https://forum.kirupa.com/u/trainpixsnet)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 3:42am UTC](https://forum.kirupa.com/t/images-making-them-a-graphic-make-smaller-file-size/172523 "2005-12-15T03:42:11Z")

</div>

I am working on a mapping project. With all the images, my \*.swf file is large -- currently at 11.8MB. I would like to make the file smaller, by making all the images a \[symbol\] graphic, would it decrease the project's s…

---

## [Circular Preloader](https://forum.kirupa.com/t/circular-preloader/172522)

<div class="topic-metadata">

**Author:** [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 3:37am UTC](https://forum.kirupa.com/t/circular-preloader/172522 "2005-12-15T03:37:50Z")

</div>

I have an animation that is contained within a movieclip. It is an animation of a car travelling round a globe. The car is set to a circular motion guide. I would like to use this as a preloader. What is the best way to …

---

## [Tween/easing HELP!](https://forum.kirupa.com/t/tween-easing-help/172520)

<div class="topic-metadata">

**Author:** [@glyn3332](https://forum.kirupa.com/u/glyn3332)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 3:00am UTC](https://forum.kirupa.com/t/tween-easing-help/172520 "2005-12-15T03:00:03Z")

</div>

Hi all, i can'tget theis function to work: textBox.textArea.onEnterFrame = function(){ var tw\_x:Tween = new Tween(this,"\_xscale",Elastic.easeOut,100,10,2,true); var tw\_y:Tween = new Tween(this,"\_yscale",Ela…

---

## [Interval to pass param to EnterFrame](https://forum.kirupa.com/t/interval-to-pass-param-to-enterframe/172519)

<div class="topic-metadata">

**Author:** [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 2:14am UTC](https://forum.kirupa.com/t/interval-to-pass-param-to-enterframe/172519 "2005-12-15T02:14:14Z")

</div>

Can I use an interval to pass a parameter to an onEnterFrame function like this: myInterval = setInterval(target\_mc.onEnterFrame, 1000, "parameter"); Does that work? I'm not in front of my workstation or I'd put this…

---

## [XML-Squirrel Finder Question](https://forum.kirupa.com/t/xml-squirrel-finder-question/172517)

<div class="topic-metadata">

**Author:** [@KILTRO](https://forum.kirupa.com/u/KILTRO)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 1:53am UTC](https://forum.kirupa.com/t/xml-squirrel-finder-question/172517 "2005-12-15T01:53:15Z")

</div>

I did read almost all the XML introduction tutorial . I made something like the squirrel finder by myself (http://www.kirupa.com/web/xml/examples/squirrelfinder.htm). All is ok but i got a question about this: functio…

---

## [Circle fill](https://forum.kirupa.com/t/circle-fill/172513)

<div class="topic-metadata">

**Author:** [@skenzie](https://forum.kirupa.com/u/skenzie)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 12:51am UTC](https://forum.kirupa.com/t/circle-fill/172513 "2005-12-15T00:51:26Z")

</div>

Hi, I was wondering if anyone could help with a problem I'm having making a circle fill in a circular fashion in sync with a song being played ? I want the circle to start to fill only when the music start's and comp…

---

## [How to ignore escape key?](https://forum.kirupa.com/t/how-to-ignore-escape-key/172512)

<div class="topic-metadata">

**Author:** [@amcasperforu](https://forum.kirupa.com/u/amcasperforu)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 12:39am UTC](https://forum.kirupa.com/t/how-to-ignore-escape-key/172512 "2005-12-15T00:39:16Z")

</div>

Hi to all, I used the fscommand("fullscreen",true) in my application to make it fullscreen. However when the user presses the Escape key, the window goes into the normal view. Is there any way of disabling the Escape k…

---

## [\[F8\] Old file script problem](https://forum.kirupa.com/t/f8-old-file-script-problem/172510)

<div class="topic-metadata">

**Author:** [@dec27](https://forum.kirupa.com/u/dec27)\
**Replies:** 0\
**Last updated:** [December 15, 2005, 12:28am UTC](https://forum.kirupa.com/t/f8-old-file-script-problem/172510 "2005-12-15T00:28:17Z")

</div>

I'm trying to get a compass effect and with these script I can, but how can I get some easing effect? onClipEvent (enterFrame) { myRadians = Math.atan2(root.ymouse-this.y, \_root.xmouse-this.\_x); myDegrees = Math.roun…

---

## [How to import some classes?](https://forum.kirupa.com/t/how-to-import-some-classes/172505)

<div class="topic-metadata">

**Author:** [@parad0xl0g](https://forum.kirupa.com/u/parad0xl0g)\
**Replies:** 0\
**Last updated:** [December 14, 2005, 11:19pm UTC](https://forum.kirupa.com/t/how-to-import-some-classes/172505 "2005-12-14T23:19:16Z")

</div>

I suppose I need to import an special class to use data types as integer, long or double from my own class. But i don't know what is the correct class I have to import? Can you help me?

---

## [PHP Form Mailer Problems](https://forum.kirupa.com/t/php-form-mailer-problems/172501)

<div class="topic-metadata">

**Author:** [@xposed](https://forum.kirupa.com/u/xposed)\
**Replies:** 0\
**Last updated:** [December 14, 2005, 10:37pm UTC](https://forum.kirupa.com/t/php-form-mailer-problems/172501 "2005-12-14T22:37:54Z")

</div>

When I click submit I get these errors Warning: Unexpected character in input: '\\' (ASCII=92) state=1 in /home/hanken05/public\_html/test/mailer.php on line 2 Parse error: parse error, unexpected T\_VARIABLE in /ho…

---

## [Flash file conflicting with drop-down menu](https://forum.kirupa.com/t/flash-file-conflicting-with-drop-down-menu/172495)

<div class="topic-metadata">

**Author:** [@rusty27851](https://forum.kirupa.com/u/rusty27851)\
**Replies:** 0\
**Last updated:** [December 14, 2005, 9:16pm UTC](https://forum.kirupa.com/t/flash-file-conflicting-with-drop-down-menu/172495 "2005-12-14T21:16:13Z")

</div>

http://velocitymotorsports.com/dev/index2.html If you mouse over the "About" link, you'll see a drop-down with sub-navigation. However, in the Flash slideshow below it, whenever it transitions to a new photo, the drop-…

---

## [Web-site](https://forum.kirupa.com/t/web-site/172494)

<div class="topic-metadata">

**Author:** [@buya7](https://forum.kirupa.com/u/buya7)\
**Replies:** 0\
**Last updated:** [December 14, 2005, 9:12pm UTC](https://forum.kirupa.com/t/web-site/172494 "2005-12-14T21:12:33Z")

</div>

How can a flash game be accesed by a hyperlink in a front page web site?

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

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