# programming

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

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

**Page:** 730

---

## [\[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…

---

## [IE6 putting messing up css](https://forum.kirupa.com/t/ie6-putting-messing-up-css/294059)

<div class="topic-metadata">

**Author:** [@spindrift](https://forum.kirupa.com/u/spindrift)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 4:58pm UTC](https://forum.kirupa.com/t/ie6-putting-messing-up-css/294059 "2009-08-07T16:58:05Z")

</div>

hi guys, thanks for your interest in my post... ive created a website using divs and css and it seems fine. however when i view it in ie6, somehow the site has spaces put between divs and pushes the side panels out. …

---

## [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="")…

---

## [Hidden ISP Counter](https://forum.kirupa.com/t/hidden-isp-counter/294044)

<div class="topic-metadata">

**Author:** [@lillizzierae](https://forum.kirupa.com/u/lillizzierae)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 12:57pm UTC](https://forum.kirupa.com/t/hidden-isp-counter/294044 "2009-08-07T12:57:23Z")

</div>

I wasn't too sure where to post this but I was curious about where to find or how to add a hidden ISP counter to a website. I tried searching on the internet but I couldn't find one. Do any of you know where I could find…

---

## [How to upload images using PHP](https://forum.kirupa.com/t/how-to-upload-images-using-php/294043)

<div class="topic-metadata">

**Author:** [@johnfrey](https://forum.kirupa.com/u/johnfrey)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 12:22pm UTC](https://forum.kirupa.com/t/how-to-upload-images-using-php/294043 "2009-08-07T12:22:35Z")

</div>

Uploading a file is a basic requirement of most of the websites. In this post, I will explain in detail about how to upload an image using PHP. First of all, we will add HTML code to display the browse button to upload…

---

## [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…

---

## [Problem with recursive menu and variable scope with mouseovers](https://forum.kirupa.com/t/problem-with-recursive-menu-and-variable-scope-with-mouseovers/294025)

<div class="topic-metadata">

**Author:** [@mlee](https://forum.kirupa.com/u/mlee)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 5:03am UTC](https://forum.kirupa.com/t/problem-with-recursive-menu-and-variable-scope-with-mouseovers/294025 "2009-08-07T05:03:10Z")

</div>

Long time listener, first time poster... I solved a similar problem before in AS2, but can't figure out the solution to this issue. In the code below, I'm looping through nested xml structure of an unknown number of le…

---

## [Help as3 graph formula](https://forum.kirupa.com/t/help-as3-graph-formula/294022)

<div class="topic-metadata">

**Author:** [@cosmicloverocks](https://forum.kirupa.com/u/cosmicloverocks)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 2:05am UTC](https://forum.kirupa.com/t/help-as3-graph-formula/294022 "2009-08-07T02:05:17Z")

</div>

For further explanation of what i am trying to achieve pls download the zip attachment thanks in advanced.

---

## [Delayed Message Processing?](https://forum.kirupa.com/t/delayed-message-processing/294016)

<div class="topic-metadata">

**Author:** [@drakoniis](https://forum.kirupa.com/u/drakoniis)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 12:20am UTC](https://forum.kirupa.com/t/delayed-message-processing/294016 "2009-08-07T00:20:26Z")

</div>

I've been working with a 3rd-party multiplayer engine for a game I'm developing. A lot of messages get sent during certain times (loading, etc) to the point where it is possible that multiple messages may be sent per gam…

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

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