# flash

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

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

**Page:** 140

---

## [Retrieve Pixel Colour of Off Screen Graphics](https://forum.kirupa.com/t/retrieve-pixel-colour-of-off-screen-graphics/323535)

<div class="topic-metadata">

**Author:** [@noahssite](https://forum.kirupa.com/u/noahssite)\
**Replies:** 0\
**Last updated:** [July 5, 2011, 9:17pm UTC](https://forum.kirupa.com/t/retrieve-pixel-colour-of-off-screen-graphics/323535 "2011-07-05T21:17:22Z")

</div>

Hello, I have a sprite which is 125px by 125px. A circle is drawn using the graphics object of this sprite. The circles midpoint is 0,0 of the sprite. When the user clicks the sprite an event is fired. How do I retriev…

---

## [Scrollbar for dynamic textField - one issue](https://forum.kirupa.com/t/scrollbar-for-dynamic-textfield-one-issue/323534)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [July 5, 2011, 7:59pm UTC](https://forum.kirupa.com/t/scrollbar-for-dynamic-textfield-one-issue/323534 "2011-07-05T19:59:28Z")

</div>

Hi, So I have created a scrollbar for a dynamic textField by using the following code: scrollBar = new UIScrollBar(); scrollBar.scrollTarget = lobbyChat.incoming\_txt; scrollBar.height = lobbyChat.incoming\_txt.height…

---

## [Accessing hotspot mcs from inside of an Object()](https://forum.kirupa.com/t/accessing-hotspot-mcs-from-inside-of-an-object/323529)

<div class="topic-metadata">

**Author:** [@chrscote](https://forum.kirupa.com/u/chrscote)\
**Replies:** 0\
**Last updated:** [July 5, 2011, 3:10pm UTC](https://forum.kirupa.com/t/accessing-hotspot-mcs-from-inside-of-an-object/323529 "2011-07-05T15:10:07Z")

</div>

First a little background: I am trying to use a new script that uses XML to dynamically create a menu on the stage. Within the XML, I am establishing a function to use with that button. One button may just link to som…

---

## [Square grid](https://forum.kirupa.com/t/square-grid/323527)

<div class="topic-metadata">

**Author:** [@12abhi12](https://forum.kirupa.com/u/12abhi12)\
**Replies:** 0\
**Last updated:** [July 5, 2011, 2:54pm UTC](https://forum.kirupa.com/t/square-grid/323527 "2011-07-05T14:54:09Z")

</div>

I want to make a square grid of fixed side length but varying grid number using code. That is, the number of grids should be specified by the user (say 3\*3) and after pressing a button, the stage should be broken into 3\*…

---

## [Remove spaces from a String](https://forum.kirupa.com/t/remove-spaces-from-a-string/323526)

<div class="topic-metadata">

**Author:** [@Nuwa](https://forum.kirupa.com/u/Nuwa)\
**Replies:** 0\
**Last updated:** [July 5, 2011, 2:12pm UTC](https://forum.kirupa.com/t/remove-spaces-from-a-string/323526 "2011-07-05T14:12:12Z")

</div>

Is there a simple inbuilt function in AS3 to remove spaces in a String??

---

## [Customizing AS3 form to add phone field](https://forum.kirupa.com/t/customizing-as3-form-to-add-phone-field/323525)

<div class="topic-metadata">

**Author:** [@4mula\_D](https://forum.kirupa.com/u/4mula_D)\
**Replies:** 0\
**Last updated:** [July 5, 2011, 1:53pm UTC](https://forum.kirupa.com/t/customizing-as3-form-to-add-phone-field/323525 "2011-07-05T13:53:59Z")

</div>

The AS3 form and php code are posted below. I have modified the code to my desired layout however the phone number will not post to the email. I receive an email with the name and email address but no phone number. Ca…

---

## [Strange error with Molehill using M2D](https://forum.kirupa.com/t/strange-error-with-molehill-using-m2d/323524)

<div class="topic-metadata">

**Author:** [@dewey](https://forum.kirupa.com/u/dewey)\
**Replies:** 0\
**Last updated:** [July 5, 2011, 1:32pm UTC](https://forum.kirupa.com/t/strange-error-with-molehill-using-m2d/323524 "2011-07-05T13:32:23Z")

</div>

Hi everyone, I've been trying to play around with the M2D framework to create a simple game to learn the basics of this framework and some of the molehill stuff. I've been looking specifically at M2D (http://www.flas…

---

## [Font embedding problem with Cyrillic only! Please help!](https://forum.kirupa.com/t/font-embedding-problem-with-cyrillic-only-please-help/323523)

<div class="topic-metadata">

**Author:** [@alan\_bourne](https://forum.kirupa.com/u/alan_bourne)\
**Replies:** 0\
**Last updated:** [July 5, 2011, 1:18pm UTC](https://forum.kirupa.com/t/font-embedding-problem-with-cyrillic-only-please-help/323523 "2011-07-05T13:18:25Z")

</div>

Hey, I have quite a big issue with regards to bold / italic Verdana fonts in dynamic text boxes in flash with Russian characters. I've tried everything now that I can think of and read various posts but nothing is shou…

---

## [Problems with a radio button group](https://forum.kirupa.com/t/problems-with-a-radio-button-group/323521)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [July 5, 2011, 12:35pm UTC](https://forum.kirupa.com/t/problems-with-a-radio-button-group/323521 "2011-07-05T12:35:59Z")

</div>

OK. So I am having a problem with radio buttons. Here's what I am doing: Add a number of radio buttons to stage Add them to a group (I reuse the same group over and over) User chooses a button and clicks a "Submit" bu…

---

## [Papervision panorama](https://forum.kirupa.com/t/papervision-panorama/323520)

<div class="topic-metadata">

**Author:** [@switchTreFlip](https://forum.kirupa.com/u/switchTreFlip)\
**Replies:** 0\
**Last updated:** [July 5, 2011, 10:33am UTC](https://forum.kirupa.com/t/papervision-panorama/323520 "2011-07-05T10:33:29Z")

</div>

Hello! I've been using flash to create websites and I didn't got into Object Oriented Programming, so I'm fairly new to classes. I'm a photographer as well and I'm trying to create a website with 360 cubic panoramas us…

---

## [AS bridge](https://forum.kirupa.com/t/as-bridge/323515)

<div class="topic-metadata">

**Author:** [@mrelusive](https://forum.kirupa.com/u/mrelusive)\
**Replies:** 0\
**Last updated:** [July 5, 2011, 10:05am UTC](https://forum.kirupa.com/t/as-bridge/323515 "2011-07-05T10:05:59Z")

</div>

I think someone who are good in AS can help me in very short time, maby this is look like big text but it is not. My problem is: I have two buttons, one in AS2 and the other one in AS3 window. Buttons doing different …

---

## [Syntax for accessing an object in another movie clip](https://forum.kirupa.com/t/syntax-for-accessing-an-object-in-another-movie-clip/323512)

<div class="topic-metadata">

**Author:** [@Carl\_Spackler](https://forum.kirupa.com/u/Carl_Spackler)\
**Replies:** 0\
**Last updated:** [July 5, 2011, 7:36am UTC](https://forum.kirupa.com/t/syntax-for-accessing-an-object-in-another-movie-clip/323512 "2011-07-05T07:36:43Z")

</div>

I have an object named "Defer" that I need to access. That object only exists in frame 2 of a movie clip named: B2\_mc. The other 4 frames of the movie clip B2\_mc do not contain the "Defer" object. When I try to access…

---

## [Mediaplayback component, control bar arrow pointer doesnt move as media plays](https://forum.kirupa.com/t/mediaplayback-component-control-bar-arrow-pointer-doesnt-move-as-media-plays/323509)

<div class="topic-metadata">

**Author:** [@plainman007](https://forum.kirupa.com/u/plainman007)\
**Replies:** 0\
**Last updated:** [July 5, 2011, 3:23am UTC](https://forum.kirupa.com/t/mediaplayback-component-control-bar-arrow-pointer-doesnt-move-as-media-plays/323509 "2011-07-05T03:23:31Z")

</div>

Ive used mediaplayback component on a webpage and it works fine except the playhead pointy thing doesnt move as the video plays. Isnt it supposed to do that ? It just stays at the start while the video is actually playin…

---

## [Looping craziness](https://forum.kirupa.com/t/looping-craziness/323507)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [July 5, 2011, 12:25am UTC](https://forum.kirupa.com/t/looping-craziness/323507 "2011-07-05T00:25:03Z")

</div>

I'm probably missing something obvious here, but I don't understand why I'm not getting 12 \<br /\> tags with this loop, but more like one hundred! var lineBreak:String = "\<br /\>"; var offset:uint = 12; for (var …

---

## [addChild/removeChild Problem](https://forum.kirupa.com/t/addchild-removechild-problem/323506)

<div class="topic-metadata">

**Author:** [@rassy7](https://forum.kirupa.com/u/rassy7)\
**Replies:** 0\
**Last updated:** [July 4, 2011, 9:59pm UTC](https://forum.kirupa.com/t/addchild-removechild-problem/323506 "2011-07-04T21:59:36Z")

</div>

Hi, I'm trying to make a basic mouesover and mouseout that will display a help/key box on the screen. I created the help box that will be displayed as a symbol called helpbox. I updated the linkage to export to Actionscr…

---

## [Text Layout component: assigning text](https://forum.kirupa.com/t/text-layout-component-assigning-text/323504)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [July 4, 2011, 8:24pm UTC](https://forum.kirupa.com/t/text-layout-component-assigning-text/323504 "2011-07-04T20:24:21Z")

</div>

I've just started messing around with the Text Layout component for CS4. Adobe doesn't even manage to explain how to assign text to the field (amazing, huh?) in their Help file. import flash.display.DisplayObject; imp…

---

## [(AS 2) simple button link - help please](https://forum.kirupa.com/t/as-2-simple-button-link-help-please/323501)

<div class="topic-metadata">

**Author:** [@camaleon](https://forum.kirupa.com/u/camaleon)\
**Replies:** 0\
**Last updated:** [July 4, 2011, 4:51pm UTC](https://forum.kirupa.com/t/as-2-simple-button-link-help-please/323501 "2011-07-04T16:51:25Z")

</div>

Hi guys. I'm working on a proyect and i have problem linking a simple button. In the Scene 1 I have a movie clip, inside that clip I have a button that have to go to a frame called proyectos on Scene 1 Action - But…

---

## [Calling a nested function with setInterval, is it possible?](https://forum.kirupa.com/t/calling-a-nested-function-with-setinterval-is-it-possible/323500)

<div class="topic-metadata">

**Author:** [@joecoolman](https://forum.kirupa.com/u/joecoolman)\
**Replies:** 0\
**Last updated:** [July 4, 2011, 2:57pm UTC](https://forum.kirupa.com/t/calling-a-nested-function-with-setinterval-is-it-possible/323500 "2011-07-04T14:57:15Z")

</div>

As entitled in this post, suppose we have wrote in timeline function myF1(){ var a=1; //setting initial variables var b=1; function myF2(){ .... //something involved with a and b variables …

---

## [Simple problem with TypeError: Error #1009](https://forum.kirupa.com/t/simple-problem-with-typeerror-error-1009/323498)

<div class="topic-metadata">

**Author:** [@Harry\_Thomas](https://forum.kirupa.com/u/Harry_Thomas)\
**Replies:** 0\
**Last updated:** [July 4, 2011, 1:06pm UTC](https://forum.kirupa.com/t/simple-problem-with-typeerror-error-1009/323498 "2011-07-04T13:06:41Z")

</div>

Hello to all the talented people at Kirupa! I'll make this as simple to follow as possible, as I really need your help! My document is laid out as follows. Frame 1: Preloader. Frame 2: Game content. Frame 3: Game c…

---

## [IF (evaluate a dinamically string expression) (AS2)](https://forum.kirupa.com/t/if-evaluate-a-dinamically-string-expression-as2/323496)

<div class="topic-metadata">

**Author:** [@aditz\_a](https://forum.kirupa.com/u/aditz_a)\
**Replies:** 0\
**Last updated:** [July 4, 2011, 12:14pm UTC](https://forum.kirupa.com/t/if-evaluate-a-dinamically-string-expression-as2/323496 "2011-07-04T12:14:25Z")

</div>

I need to do a filter and I think the better way is to make an IF statement with a string expression made dinamically by the user. I want the user construct his own filter (by comboboxes) and sent it through a string var…

---

## [AS3: Scale tween stops in between](https://forum.kirupa.com/t/as3-scale-tween-stops-in-between/323493)

<div class="topic-metadata">

**Author:** [@mohiniraj](https://forum.kirupa.com/u/mohiniraj)\
**Replies:** 0\
**Last updated:** [July 4, 2011, 8:25am UTC](https://forum.kirupa.com/t/as3-scale-tween-stops-in-between/323493 "2011-07-04T08:25:41Z")

</div>

Hello, I have created a movie clip loader in my main movie and once I click on the button in main movie it loads external swf files accordingly. I have also added script so that the external swf will be scaled from "0" t…

---

## [iPhone AS3](https://forum.kirupa.com/t/iphone-as3/323490)

<div class="topic-metadata">

**Author:** [@givaway](https://forum.kirupa.com/u/givaway)\
**Replies:** 0\
**Last updated:** [July 4, 2011, 5:16am UTC](https://forum.kirupa.com/t/iphone-as3/323490 "2011-07-04T05:16:42Z")

</div>

to quickly get to the point, ive written a little APP for the iphone OS in AS3 and it works fine. but when i sync it on to the phone (iphone 3g) it seems to have framerate issues. is this because of the hardware limitati…

---

## [Vertical Wall Collision Help](https://forum.kirupa.com/t/vertical-wall-collision-help/323486)

<div class="topic-metadata">

**Author:** [@MoonSky356](https://forum.kirupa.com/u/MoonSky356)\
**Replies:** 0\
**Last updated:** [July 4, 2011, 2:40am UTC](https://forum.kirupa.com/t/vertical-wall-collision-help/323486 "2011-07-04T02:40:47Z")

</div>

Hey guys and gals of the forums! I'm new to ActionScript 3.0 and I'm having trouble with collision, specifically with vertical walls. Whenever I move my character into a vertical wall (I'm making a flash game by the way)…

---

## [Conditions with AS3 and XML](https://forum.kirupa.com/t/conditions-with-as3-and-xml/323484)

<div class="topic-metadata">

**Author:** [@RubenDoliveira](https://forum.kirupa.com/u/RubenDoliveira)\
**Replies:** 0\
**Last updated:** [July 3, 2011, 4:13pm UTC](https://forum.kirupa.com/t/conditions-with-as3-and-xml/323484 "2011-07-03T16:13:58Z")

</div>

Hi again, I'm having some difficulties using conditions with XML and AS3. Having something like this in my XML: \<?xml version="1.0"?\> \<schedule\> \<class\> \<name day="monday"\>AAA\</name\> \<time day="monday"\>9h30\</…

---

## [Getting a list from a XML file and printing it in movieclips](https://forum.kirupa.com/t/getting-a-list-from-a-xml-file-and-printing-it-in-movieclips/323483)

<div class="topic-metadata">

**Author:** [@RubenDoliveira](https://forum.kirupa.com/u/RubenDoliveira)\
**Replies:** 0\
**Last updated:** [July 3, 2011, 3:03pm UTC](https://forum.kirupa.com/t/getting-a-list-from-a-xml-file-and-printing-it-in-movieclips/323483 "2011-07-03T15:03:46Z")

</div>

Hi everyone, I have a XML file with the following content: \<?xml version="1.0"?\> \<schedule\> \<class\> \<name\>AAA\</name\> \<time\>9h30\</time\> \</class\> \<class\> \<name\>BBB\</name\> \<time\>10h30\</time\> \</class\> \</sche…

---

## [Balance game](https://forum.kirupa.com/t/balance-game/323481)

<div class="topic-metadata">

**Author:** [@ohya](https://forum.kirupa.com/u/ohya)\
**Replies:** 0\
**Last updated:** [July 3, 2011, 1:45pm UTC](https://forum.kirupa.com/t/balance-game/323481 "2011-07-03T13:45:44Z")

</div>

I would like to create a balance game like player drag a long pole and place on a triangle pivot. Hope to get some example.

---

## [Acceptable number of parameters per function!](https://forum.kirupa.com/t/acceptable-number-of-parameters-per-function/323476)

<div class="topic-metadata">

**Author:** [@Thovas](https://forum.kirupa.com/u/Thovas)\
**Replies:** 0\
**Last updated:** [July 2, 2011, 8:17pm UTC](https://forum.kirupa.com/t/acceptable-number-of-parameters-per-function/323476 "2011-07-02T20:17:38Z")

</div>

Hello, I am kind of new in making classes and massive functions and such, so I have a dilemma. Atm I am creating some sort of interactive background and at is current state of development the master constructor function …

---

## [How to hitTest with attachMovie](https://forum.kirupa.com/t/how-to-hittest-with-attachmovie/323471)

<div class="topic-metadata">

**Author:** [@sangjagoan](https://forum.kirupa.com/u/sangjagoan)\
**Replies:** 0\
**Last updated:** [July 2, 2011, 3:17pm UTC](https://forum.kirupa.com/t/how-to-hittest-with-attachmovie/323471 "2011-07-02T15:17:28Z")

</div>

Please help me, my script below is not working perfectly, Need any correction to my script below, What i want in this animation is Everytime ObjC3 hit ObjCat, then ObjC3 change to other shape, and if ObjC3 \_y position le…

---

## [Cannot publish or test movie](https://forum.kirupa.com/t/cannot-publish-or-test-movie/323470)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [July 2, 2011, 1:09pm UTC](https://forum.kirupa.com/t/cannot-publish-or-test-movie/323470 "2011-07-02T13:09:36Z")

</div>

I have had to go back and update my first ever Flash/ActionScript project. I was just learning so there are 1000's of lines of code all in frame. However, it worked and at least I understand what everything means. Th…

---

## [Simple Custom Scrollbar Actionscript help.. where to plug in numbers?](https://forum.kirupa.com/t/simple-custom-scrollbar-actionscript-help-where-to-plug-in-numbers/323461)

<div class="topic-metadata">

**Author:** [@lys28](https://forum.kirupa.com/u/lys28)\
**Replies:** 0\
**Last updated:** [July 2, 2011, 1:55am UTC](https://forum.kirupa.com/t/simple-custom-scrollbar-actionscript-help-where-to-plug-in-numbers/323461 "2011-07-02T01:55:46Z")

</div>

This is probably a really dumb question, but I recently created a custom scrollbar using this tutorial. http://www.kirupa.com/developer/flash8/scrollbar.htm Have managed to get it working (well sort of...) It scrolls…

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

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