# flash

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

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

**Page:** 545

---

## [Problem centering a MC since the use of Z axe](https://forum.kirupa.com/t/problem-centering-a-mc-since-the-use-of-z-axe/294096)

<div class="topic-metadata">

**Author:** [@humbucker](https://forum.kirupa.com/u/humbucker)\
**Replies:** 0\
**Last updated:** [August 8, 2009, 8:37am UTC](https://forum.kirupa.com/t/problem-centering-a-mc-since-the-use-of-z-axe/294096 "2009-08-08T08:37:43Z")

</div>

Hi everyone! I'm playing around with the Z axe for a project of thumbnails gallery and here's my problem: Let's say I'm centering a square (register point centered) in the middle of my screen, and I want it to keep b…

---

## [Script for horizontal sliding menu](https://forum.kirupa.com/t/script-for-horizontal-sliding-menu/294092)

<div class="topic-metadata">

**Author:** [@neeldin](https://forum.kirupa.com/u/neeldin)\
**Replies:** 0\
**Last updated:** [August 8, 2009, 5:49am UTC](https://forum.kirupa.com/t/script-for-horizontal-sliding-menu/294092 "2009-08-08T05:49:10Z")

</div>

hi friends i m looking for a script to make a horizontal sliding menu just like one of the at the site \[COLOR=#003366\]www.carron.com\[/COLOR\] pls do the needful Thanks Dinesh

---

## [For i\<array.length Not Doing Whole Array](https://forum.kirupa.com/t/for-i-array-length-not-doing-whole-array/294086)

<div class="topic-metadata">

**Author:** [@pi3rc3](https://forum.kirupa.com/u/pi3rc3)\
**Replies:** 0\
**Last updated:** [August 8, 2009, 1:32am UTC](https://forum.kirupa.com/t/for-i-array-length-not-doing-whole-array/294086 "2009-08-08T01:32:09Z")

</div>

this problem is blowing my mind i have a for loop that i want to go through my entire array but it seems to not be counting the last element in the arraay! for(var i:int=0; i\<gridControl.game.blockG.length; i++){ trac…

---

## [Looking for a non XML driven Flash banner rotator](https://forum.kirupa.com/t/looking-for-a-non-xml-driven-flash-banner-rotator/294083)

<div class="topic-metadata">

**Author:** [@sliilvia](https://forum.kirupa.com/u/sliilvia)\
**Replies:** 0\
**Last updated:** [August 8, 2009, 12:50am UTC](https://forum.kirupa.com/t/looking-for-a-non-xml-driven-flash-banner-rotator/294083 "2009-08-08T00:50:46Z")

</div>

I am looking for a non XML driven Flash banner rotator, something where I can load my images into the FLA and publish. The only rotators I can seem to find have external XML/image files, etc. All I want to do is create…

---

## [Picture scroll problem？](https://forum.kirupa.com/t/picture-scroll-problem/294082)

<div class="topic-metadata">

**Author:** [@changmeng](https://forum.kirupa.com/u/changmeng)\
**Replies:** 0\
**Last updated:** [August 8, 2009, 12:20am UTC](https://forum.kirupa.com/t/picture-scroll-problem/294082 "2009-08-08T00:20:20Z")

</div>

:no\_love:Hi Picture from the stage from rolling around, for example: How to write code？ Thank you

---

## [Makiing CS4/AS3 Site, need some advice please](https://forum.kirupa.com/t/makiing-cs4-as3-site-need-some-advice-please/294078)

<div class="topic-metadata">

**Author:** [@frostBite](https://forum.kirupa.com/u/frostBite)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 10:10pm UTC](https://forum.kirupa.com/t/makiing-cs4-as3-site-need-some-advice-please/294078 "2009-08-07T22:10:27Z")

</div>

I'm making a site in AS3 for a client, and have some general questions before I begin. Im using SWFfit (swffit.com) to resize the flash site properly for any screen size and was wondering what I should set the default …

---

## [\[AS2\] Date Field selectableRange starting "yesterday"](https://forum.kirupa.com/t/as2-date-field-selectablerange-starting-yesterday/294077)

<div class="topic-metadata">

**Author:** [@vascoraf](https://forum.kirupa.com/u/vascoraf)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 9:29pm UTC](https://forum.kirupa.com/t/as2-date-field-selectablerange-starting-yesterday/294077 "2009-08-07T21:29:07Z")

</div>

Im using a DateField component and i would like to set the selectableRange so that the rangeStart is set for yesterday (the day before today). I have another DateField where the rangeStart is "today" and im using this: …

---

## [Problem checking against types](https://forum.kirupa.com/t/problem-checking-against-types/294075)

<div class="topic-metadata">

**Author:** [@midimid](https://forum.kirupa.com/u/midimid)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 9:23pm UTC](https://forum.kirupa.com/t/problem-checking-against-types/294075 "2009-08-07T21:23:23Z")

</div>

I have a project that's going to get big soon, so need to solve this problem. What I'm doing here is looping through a staged movieclip (the obj argument) that has a bunch of its own staged instances, looking for MCs t…

---

## [as2 - code from frame 2 running on anchor frame 3?](https://forum.kirupa.com/t/as2-code-from-frame-2-running-on-anchor-frame-3/294073)

<div class="topic-metadata">

**Author:** [@hondo311](https://forum.kirupa.com/u/hondo311)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 9:01pm UTC](https://forum.kirupa.com/t/as2-code-from-frame-2-running-on-anchor-frame-3/294073 "2009-08-07T21:01:40Z")

</div>

Hi, I have a timeline with a bunch of frames. At the beginning of my timeline (frame 2) I have actionscript that makes movieclips that are transparent (alpha 0) visible, and also some rollover and link/button code us…

---

## [Optimizing a AS3 Class for Better Performance](https://forum.kirupa.com/t/optimizing-a-as3-class-for-better-performance/294071)

<div class="topic-metadata">

**Author:** [@FPG](https://forum.kirupa.com/u/FPG)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 8:53pm UTC](https://forum.kirupa.com/t/optimizing-a-as3-class-for-better-performance/294071 "2009-08-07T20:53:58Z")

</div>

I've been working with AS3 now for a few months and am making good progress in it (I'm a AS2 transfer student). However, on a project I'm working on I'm having a little issue with performance within the browser. I was …

---

## [Variables from php to flash](https://forum.kirupa.com/t/variables-from-php-to-flash/294069)

<div class="topic-metadata">

**Author:** [@m\_u\_r](https://forum.kirupa.com/u/m_u_r)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 8:38pm UTC](https://forum.kirupa.com/t/variables-from-php-to-flash/294069 "2009-08-07T20:38:57Z")

</div>

So, I read the tutorial about passing variables by changing the url of the .swf with the following code: if (movie==1 or movie=="") { trace("default"); } if (movie==2) { getURL("http://www.yahoo.com"); } My que…

---

## [Text spelling? Text reading?](https://forum.kirupa.com/t/text-spelling-text-reading/294068)

<div class="topic-metadata">

**Author:** [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 8:16pm UTC](https://forum.kirupa.com/t/text-spelling-text-reading/294068 "2009-08-07T20:16:45Z")

</div>

Hi there... I am trying to create a system that u type the text and after pressing a button, it will be said by the software. How do i do it? What do i need in order to do it? Thanks, Cheers. Leo.

---

## [External .as, adding scroll bar](https://forum.kirupa.com/t/external-as-adding-scroll-bar/294067)

<div class="topic-metadata">

**Author:** [@Mr\_Print](https://forum.kirupa.com/u/Mr_Print)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 8:15pm UTC](https://forum.kirupa.com/t/external-as-adding-scroll-bar/294067 "2009-08-07T20:15:58Z")

</div>

Newbie, First let me say I'm looking for direction, make my project work, and to learn. I would have no problems making the scroll bar inside flash, however to do it in an external file and the code I'm using. I'm tot…

---

## [AS3 zoom in on particular mc in a carousel on rollover?](https://forum.kirupa.com/t/as3-zoom-in-on-particular-mc-in-a-carousel-on-rollover/294065)

<div class="topic-metadata">

**Author:** [@wuzzi2ya](https://forum.kirupa.com/u/wuzzi2ya)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 8:03pm UTC](https://forum.kirupa.com/t/as3-zoom-in-on-particular-mc-in-a-carousel-on-rollover/294065 "2009-08-07T20:03:34Z")

</div>

I need to upon rolling over a particular mc that mc to zoom to the forefront and the carousel stop. Any suggestions on where to go from here? Thanks as all and everything is help... AS3: import fl.transitions.Tween…

---

## [Pull a variable from a public function in class](https://forum.kirupa.com/t/pull-a-variable-from-a-public-function-in-class/294064)

<div class="topic-metadata">

**Author:** [@adlib33](https://forum.kirupa.com/u/adlib33)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 7:05pm UTC](https://forum.kirupa.com/t/pull-a-variable-from-a-public-function-in-class/294064 "2009-08-07T19:05:14Z")

</div>

What would be the scoping to reach a variable within a external class public function FROM a function on the main timeline? In menu.as public function buttonClick() Need to reach a starFunction variable(var starFunc…

---

## [Question about Shared Objects and Secure DB Queries](https://forum.kirupa.com/t/question-about-shared-objects-and-secure-db-queries/294061)

<div class="topic-metadata">

**Author:** [@fishtank22](https://forum.kirupa.com/u/fishtank22)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 5:22pm UTC](https://forum.kirupa.com/t/question-about-shared-objects-and-secure-db-queries/294061 "2009-08-07T17:22:50Z")

</div>

Hey all. I'm helping out a friend with some changes to their complex flash site after their previous developer jumped ship on them. In the process of making some edits I noticed that the previous developer had expo…

---

## [Resizing Extnernal SWF (file Attached)](https://forum.kirupa.com/t/resizing-extnernal-swf-file-attached/294058)

<div class="topic-metadata">

**Author:** [@eanimator](https://forum.kirupa.com/u/eanimator)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 4:52pm UTC](https://forum.kirupa.com/t/resizing-extnernal-swf-file-attached/294058 "2009-08-07T16:52:00Z")

</div>

Hello guys, I am facing problem. I am loading an external SWF and trying to resize according to the width and height (650 x 500). I have code for the resize but its clipping from the right and bottom. Any one? …

---

## [Actionscript 3.0 looping through stage and DisplayObject items](https://forum.kirupa.com/t/actionscript-3-0-looping-through-stage-and-displayobject-items/294057)

<div class="topic-metadata">

**Author:** [@clem\_c\_rock](https://forum.kirupa.com/u/clem_c_rock)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 4:51pm UTC](https://forum.kirupa.com/t/actionscript-3-0-looping-through-stage-and-displayobject-items/294057 "2009-08-07T16:51:40Z")

</div>

Hello, I'm trying to convert to Actionscript 3.0 and I'm trying to find out how to loop through Stage objects as well as DisplayObject. With AS 2.0 - I would only have to do: for(var i in \_root) // or MovieClip, …

---

## [Saving array values using SharedObject](https://forum.kirupa.com/t/saving-array-values-using-sharedobject/294054)

<div class="topic-metadata">

**Author:** [@BoppoBoy](https://forum.kirupa.com/u/BoppoBoy)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 4:29pm UTC](https://forum.kirupa.com/t/saving-array-values-using-sharedobject/294054 "2009-08-07T16:29:42Z")

</div>

I'm trying to write a save function for my project using a SharedObject. However, I've noticed that when you save Array values to one, the values only stay in there when loading the game from the same instance I saved it…

---

## [Image Pan?](https://forum.kirupa.com/t/image-pan/294053)

<div class="topic-metadata">

**Author:** [@jc\_](https://forum.kirupa.com/u/jc_)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 4:02pm UTC](https://forum.kirupa.com/t/image-pan/294053 "2009-08-07T16:02:40Z")

</div>

Howdy! Was curious if anyone knows where I can find info on creating an Image Pan effect in as3? I'm looking to create an effect similar to this: Source (as2): http://www.kirupa.com/forum/showthread.php?t=227359 Sa…

---

## [Passing variables to flash](https://forum.kirupa.com/t/passing-variables-to-flash/294052)

<div class="topic-metadata">

**Author:** [@m\_u\_r](https://forum.kirupa.com/u/m_u_r)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 3:55pm UTC](https://forum.kirupa.com/t/passing-variables-to-flash/294052 "2009-08-07T15:55:30Z")

</div>

So, I read the tutorial about passing variables by changing the url of the .swf with the following code: if (movie==1 or movie=="") { trace("default"); } if (movie==2) { getURL("http://www.yahoo.com"); } My que…

---

## [POST isn't passing vars right? Flash, PHP, & MySQL](https://forum.kirupa.com/t/post-isnt-passing-vars-right-flash-php-mysql/294049)

<div class="topic-metadata">

**Author:** [@Alex\_Stanfill](https://forum.kirupa.com/u/Alex_Stanfill)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 2:44pm UTC](https://forum.kirupa.com/t/post-isnt-passing-vars-right-flash-php-mysql/294049 "2009-08-07T14:44:00Z")

</div>

I've been working on this one for days :/ I have a basic login script that I'm working on using Flash, PHP, and MySQL. I pass two variables (playerusername and playerpassword) to a PHP script that checks for them in …

---

## [Removing event listeners problem \[AS3\]](https://forum.kirupa.com/t/removing-event-listeners-problem-as3/294048)

<div class="topic-metadata">

**Author:** [@fjckls](https://forum.kirupa.com/u/fjckls)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 1:58pm UTC](https://forum.kirupa.com/t/removing-event-listeners-problem-as3/294048 "2009-08-07T13:58:57Z")

</div>

Hi, I have created particle effect adding onMouseMove random MC's to stage. There are two buttons on stage. On MOUSE\_OVER I want to remove event listeners for particle effect and on MOUSE\_OUT i am adding back event list…

---

## [\[BUG\] Caching Actionscript - Kinda](https://forum.kirupa.com/t/bug-caching-actionscript-kinda/294046)

<div class="topic-metadata">

**Author:** [@Digitalosophy](https://forum.kirupa.com/u/Digitalosophy)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 1:29pm UTC](https://forum.kirupa.com/t/bug-caching-actionscript-kinda/294046 "2009-08-07T13:29:03Z")

</div>

Sen I have another bug for you, I was wondering if anyone else had this issue. Problem: Flex is literally caching Actionscript code. Example: public function getAdURL(type:String,action:String="",itemID:String="")…

---

## [Replace MC Instane names from variables AS2](https://forum.kirupa.com/t/replace-mc-instane-names-from-variables-as2/294040)

<div class="topic-metadata">

**Author:** [@jotte](https://forum.kirupa.com/u/jotte)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 11:23am UTC](https://forum.kirupa.com/t/replace-mc-instane-names-from-variables-as2/294040 "2009-08-07T11:23:54Z")

</div>

Hi! I am using AS 2.0 and Flash Player 9. I want to change MC Instance names and target paths, by using variables. As an example, this is the traditional working code. enter\_btn.onPress = function () { clip1\_mc.gotoA…

---

## [Full Screen issues in Chrome](https://forum.kirupa.com/t/full-screen-issues-in-chrome/294034)

<div class="topic-metadata">

**Author:** [@J\_Mo](https://forum.kirupa.com/u/J_Mo)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 8:38am UTC](https://forum.kirupa.com/t/full-screen-issues-in-chrome/294034 "2009-08-07T08:38:00Z")

</div>

Hi, I have competed a project recently but I have noticed that when you toggle to full screen none of the buttons work on the site. Is there any reason for this and can I do anything about it? Thanks J\_Mo

---

## [HOW do I make .FLV start from scratch from externally loaded .swf?](https://forum.kirupa.com/t/how-do-i-make-flv-start-from-scratch-from-externally-loaded-swf/294032)

<div class="topic-metadata">

**Author:** [@CallClass](https://forum.kirupa.com/u/CallClass)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 7:15am UTC](https://forum.kirupa.com/t/how-do-i-make-flv-start-from-scratch-from-externally-loaded-swf/294032 "2009-08-07T07:15:27Z")

</div>

With the assistance of a very kind member of another forum, I have got as far as getting an .FLV to load into my API via its own .SWF. http://www.playingthepoet.com/ Please click on "Animalia - Verse from the Zoo" to…

---

## [Error #2015: Invalid BitmapData (class for pixelate bitmap)](https://forum.kirupa.com/t/error-2015-invalid-bitmapdata-class-for-pixelate-bitmap/294031)

<div class="topic-metadata">

**Author:** [@tklecor](https://forum.kirupa.com/u/tklecor)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 6:43am UTC](https://forum.kirupa.com/t/error-2015-invalid-bitmapdata-class-for-pixelate-bitmap/294031 "2009-08-07T06:43:08Z")

</div>

I am trying to rebuild "Pixelator" class writen by Eric Hallander, becouse I need it for my personal site, and orginal class doesn't give me all that I need. I thought I have everythig right scripted but after compilate …

---

## [Converting code to use in AS2](https://forum.kirupa.com/t/converting-code-to-use-in-as2/294029)

<div class="topic-metadata">

**Author:** [@stogkos](https://forum.kirupa.com/u/stogkos)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 6:18am UTC](https://forum.kirupa.com/t/converting-code-to-use-in-as2/294029 "2009-08-07T06:18:32Z")

</div>

Hi, is there a code for Actionscript 2.0 for the "Auto-Resizing and Centering your Content" Tutorial all my code is in AS2 and i cant change it. The link to the tutorial is http://www.kirupa.com/developer/as3/resizin…

---

## [Fading out part of a Sprite](https://forum.kirupa.com/t/fading-out-part-of-a-sprite/294028)

<div class="topic-metadata">

**Author:** [@noobie123](https://forum.kirupa.com/u/noobie123)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 6:08am UTC](https://forum.kirupa.com/t/fading-out-part-of-a-sprite/294028 "2009-08-07T06:08:22Z")

</div>

I have sprite object (a rectangle) with a line dividing it into 2 parts and a text field in the 2nd part. Now, I want to gradually fade out only the 2nd part of this rectangular object to alpha=0.2. How can I achieve thi…

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

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