# flash

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

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

**Page:** 216

---

## [Formatting xml in text field](https://forum.kirupa.com/t/formatting-xml-in-text-field/318400)

<div class="topic-metadata">

**Author:** [@art\_i\_choke](https://forum.kirupa.com/u/art_i_choke)\
**Replies:** 0\
**Last updated:** [January 19, 2011, 5:32am UTC](https://forum.kirupa.com/t/formatting-xml-in-text-field/318400 "2011-01-19T05:32:57Z")

</div>

I've got an external xml file loaded into a text field... I'm trying to format the text within the xml file with actionscript. Specifically, I'd like to make the dates a different color from the actual posts, and I want …

---

## [Do these performance tips still apply?](https://forum.kirupa.com/t/do-these-performance-tips-still-apply/318399)

<div class="topic-metadata">

**Author:** [@OMG](https://forum.kirupa.com/u/OMG)\
**Replies:** 0\
**Last updated:** [January 19, 2011, 4:14am UTC](https://forum.kirupa.com/t/do-these-performance-tips-still-apply/318399 "2011-01-19T04:14:42Z")

</div>

http://www.lostinactionscript.com/blog/index.php/2008/09/28/tips-on-how-to-write-efficient-as3 http://www.lostinactionscript.com/blog/index.php/2008/11/01/tips-on-how-to-write-efficient-as3-part-2/ (since it's written …

---

## [Button Mouse Over](https://forum.kirupa.com/t/button-mouse-over/318397)

<div class="topic-metadata">

**Author:** [@stormchaser](https://forum.kirupa.com/u/stormchaser)\
**Replies:** 0\
**Last updated:** [January 19, 2011, 2:50am UTC](https://forum.kirupa.com/t/button-mouse-over/318397 "2011-01-19T02:50:40Z")

</div>

Dear All Please find the attached image, http://img821.imageshack.us/i/demoq.jpg/ i am trying this for past few days still no idea how to make it work. when the flash loads only 4 buttons will be seen. on mouse over…

---

## [Adding Movieclip in Library through Class to Frame](https://forum.kirupa.com/t/adding-movieclip-in-library-through-class-to-frame/318395)

<div class="topic-metadata">

**Author:** [@Alycone](https://forum.kirupa.com/u/Alycone)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 11:44pm UTC](https://forum.kirupa.com/t/adding-movieclip-in-library-through-class-to-frame/318395 "2011-01-18T23:44:33Z")

</div>

Okay, so I decided to try putting some child movieclip switches into the .as instead of in the frames. After a lot of Googling and reading, I think I learned that each of those movieclips need to be in their own .as. Any…

---

## [Switch/Case Confusion](https://forum.kirupa.com/t/switch-case-confusion/318390)

<div class="topic-metadata">

**Author:** [@phatgreenbuds](https://forum.kirupa.com/u/phatgreenbuds)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 8:15pm UTC](https://forum.kirupa.com/t/switch-case-confusion/318390 "2011-01-18T20:15:14Z")

</div>

I have no idea why this is not working...the last block (case "0") should check for and remove whichever of the two boxs that are currently onstage but for some reason its only removing one and ignores the other. cbs…

---

## [Travel Distance Calculator](https://forum.kirupa.com/t/travel-distance-calculator/318387)

<div class="topic-metadata">

**Author:** [@navigator81](https://forum.kirupa.com/u/navigator81)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 6:50pm UTC](https://forum.kirupa.com/t/travel-distance-calculator/318387 "2011-01-18T18:50:46Z")

</div>

Hello Everyone. I am given a task by my client to develop a calculator which will calculate the Cab fair from one location to another. There is a list of Cab fairs as well as their corresponding Location Name. It would…

---

## [Access an array of Sprites from the timeline](https://forum.kirupa.com/t/access-an-array-of-sprites-from-the-timeline/318385)

<div class="topic-metadata">

**Author:** [@lario](https://forum.kirupa.com/u/lario)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 6:22pm UTC](https://forum.kirupa.com/t/access-an-array-of-sprites-from-the-timeline/318385 "2011-01-18T18:22:48Z")

</div>

Hey! i'm pretty new to AS3 and i'm having a problem with accessing an array from the timeline. What I'm trying to do is to add sprites from the array that is being created in a class. It goes like this package { i…

---

## [AS2 - playing animations depending on what mc's are onstage](https://forum.kirupa.com/t/as2-playing-animations-depending-on-what-mcs-are-onstage/318381)

<div class="topic-metadata">

**Author:** [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 5:07pm UTC](https://forum.kirupa.com/t/as2-playing-animations-depending-on-what-mcs-are-onstage/318381 "2011-01-18T17:07:47Z")

</div>

Im building an interactive courtroom exhibit which has seven thumbnails along the bottom of the screen that can be dragged up to load a larger image of each into three possible positions above. Once in position, an "Asse…

---

## [Reducing redraw regions in snow effect](https://forum.kirupa.com/t/reducing-redraw-regions-in-snow-effect/318378)

<div class="topic-metadata">

**Author:** [@Dan\_Pixel](https://forum.kirupa.com/u/Dan_Pixel)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 3:39pm UTC](https://forum.kirupa.com/t/reducing-redraw-regions-in-snow-effect/318378 "2011-01-18T15:39:06Z")

</div>

Hi all, I have a difficult problem that I can see no way to solve. Perhaps someone here can help me? I've been making a flash animation for a client - the dimensions of the stage are 2,000px wide, 800px tall. They wa…

---

## [Object property from XML behaves erratically in switch statement](https://forum.kirupa.com/t/object-property-from-xml-behaves-erratically-in-switch-statement/318374)

<div class="topic-metadata">

**Author:** [@Shaedo](https://forum.kirupa.com/u/Shaedo)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 1:07pm UTC](https://forum.kirupa.com/t/object-property-from-xml-behaves-erratically-in-switch-statement/318374 "2011-01-18T13:07:51Z")

</div>

Hi, I'll start by saying I don't expect and answer to this but I am really curious if someone else has encountered it or knows what the friggle is going on or just has some thoughts on the matter: Sequence of events: …

---

## [TileList Component, help appreciated](https://forum.kirupa.com/t/tilelist-component-help-appreciated/318373)

<div class="topic-metadata">

**Author:** [@vickyh](https://forum.kirupa.com/u/vickyh)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 12:23pm UTC](https://forum.kirupa.com/t/tilelist-component-help-appreciated/318373 "2011-01-18T12:23:55Z")

</div>

Hi Guys, Hoping for some advice here in regards to a project I'm working on involving the Flash component TileList. Essentially, I want Flash to assign a variable to each item in the TileList, so that when a user cli…

---

## [3D Symbols UNWANTED Blur - Newbie](https://forum.kirupa.com/t/3d-symbols-unwanted-blur-newbie/318371)

<div class="topic-metadata">

**Author:** [@jessemg](https://forum.kirupa.com/u/jessemg)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 10:54am UTC](https://forum.kirupa.com/t/3d-symbols-unwanted-blur-newbie/318371 "2011-01-18T10:54:00Z")

</div>

\[FONT=Times New Roman, serif\]First off, I'm a Flash CS5 and Actionscript 3.0 newbie with no programming background. This is a piece of my first Flash site.\[/FONT\] \[FONT=Times New Roman, serif\]I know my problem is commo…

---

## [Urgent help: Two flash files communicating](https://forum.kirupa.com/t/urgent-help-two-flash-files-communicating/318370)

<div class="topic-metadata">

**Author:** [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 10:51am UTC](https://forum.kirupa.com/t/urgent-help-two-flash-files-communicating/318370 "2011-01-18T10:51:24Z")

</div>

I have a flash banner and a flash video on a webpage. The banner plays straight away when the website loads and the video is further down the page on a stop on the first frame. Once the banner finishes I need the flash v…

---

## [sendAndLoad vars help](https://forum.kirupa.com/t/sendandload-vars-help/318367)

<div class="topic-metadata">

**Author:** [@RobLamox](https://forum.kirupa.com/u/RobLamox)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 8:56am UTC](https://forum.kirupa.com/t/sendandload-vars-help/318367 "2011-01-18T08:56:41Z")

</div>

Hi Guys Please help me out on this. I have a flash gui that I need to integrate with a db. I am tring to save info to a db and get a respone on whether a cellular number exists in the database already. This is my as2…

---

## [Tutorial: Finding the Distance Between Two Points](https://forum.kirupa.com/t/tutorial-finding-the-distance-between-two-points/318364)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 6:09am UTC](https://forum.kirupa.com/t/tutorial-finding-the-distance-between-two-points/318364 "2011-01-18T06:09:00Z")

</div>

This is the happening place to discuss anything and everything related to the Finding the Distance Between Two Points tutorial. Cheers, Kirupa :pa:

---

## [Why is it so difficult to load a swf inside another?](https://forum.kirupa.com/t/why-is-it-so-difficult-to-load-a-swf-inside-another/318363)

<div class="topic-metadata">

**Author:** [@jac4b](https://forum.kirupa.com/u/jac4b)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 5:37am UTC](https://forum.kirupa.com/t/why-is-it-so-difficult-to-load-a-swf-inside-another/318363 "2011-01-18T05:37:18Z")

</div>

I get all kinds of errors, like: ReferenceError: Error #1065: Variable flash.geom::Matrix3D is not defined. at test998\_fla::MainTimeline() TypeError: Error #1009: Cannot access a property or method of a null object r…

---

## [How to move the images moving forward?](https://forum.kirupa.com/t/how-to-move-the-images-moving-forward/318361)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 5:32am UTC](https://forum.kirupa.com/t/how-to-move-the-images-moving-forward/318361 "2011-01-18T05:32:24Z")

</div>

Hi, How can I do the same effect (moving continuously) as in the following link using images? http://activeden.net/item/red-carpet/152701 Thanks.

---

## [getChildByName return null if publis setting is Flash 9](https://forum.kirupa.com/t/getchildbyname-return-null-if-publis-setting-is-flash-9/318360)

<div class="topic-metadata">

**Author:** [@nitinmukesh](https://forum.kirupa.com/u/nitinmukesh)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 5:15am UTC](https://forum.kirupa.com/t/getchildbyname-return-null-if-publis-setting-is-flash-9/318360 "2011-01-18T05:15:41Z")

</div>

Hi, I am facing a weird problem. The following code returns null if targeted player is Flash player 9 but works fine for Flash Player 10. var \_mc:MovieClip = getChildByName("introMC") as MovieClip; It works fine …

---

## [List Component - Making the BG transparent in AS3](https://forum.kirupa.com/t/list-component-making-the-bg-transparent-in-as3/318358)

<div class="topic-metadata">

**Author:** [@Alpha\_Remex](https://forum.kirupa.com/u/Alpha_Remex)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 4:43am UTC](https://forum.kirupa.com/t/list-component-making-the-bg-transparent-in-as3/318358 "2011-01-18T04:43:44Z")

</div>

I've done a ton of searching and I can find some solutions for AS2 that don't apply to AS3 (the use of \_global settings for the list). Does anyone know how to set the list background to alpha = 0???

---

## [Middle of Image goes to the Middle of the Page](https://forum.kirupa.com/t/middle-of-image-goes-to-the-middle-of-the-page/318356)

<div class="topic-metadata">

**Author:** [@treeleaf20](https://forum.kirupa.com/u/treeleaf20)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 4:25am UTC](https://forum.kirupa.com/t/middle-of-image-goes-to-the-middle-of-the-page/318356 "2011-01-18T04:25:52Z")

</div>

All, If I find the the stage width and the stage height and divide each one by 2 then I know where the middle of my stage is. However, how can I use that point to be the middle of the image that I display on the pop up? …

---

## [Loader loading swf not working!](https://forum.kirupa.com/t/loader-loading-swf-not-working/318355)

<div class="topic-metadata">

**Author:** [@VeddyCent](https://forum.kirupa.com/u/VeddyCent)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 3:09am UTC](https://forum.kirupa.com/t/loader-loading-swf-not-working/318355 "2011-01-18T03:09:20Z")

</div>

Hi all, I'm having trouble with a simple loader not loading an external swf file. I have a set of menu buttons (created from a class) that store the swf file name. When these are clicked they run a function that supp…

---

## [cs5 test movie lose focus](https://forum.kirupa.com/t/cs5-test-movie-lose-focus/318354)

<div class="topic-metadata">

**Author:** [@tbo](https://forum.kirupa.com/u/tbo)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 2:44am UTC](https://forum.kirupa.com/t/cs5-test-movie-lose-focus/318354 "2011-01-18T02:44:21Z")

</div>

Sometimes when i test movie(ctrl+enter) the movie itself looses focus behind flash IDE. I think its only when i'm tracing something. So makes sense to say the output gets focus as its tracing...but it only happens like 1…

---

## [AS2.0 and html pop-ups](https://forum.kirupa.com/t/as2-0-and-html-pop-ups/318353)

<div class="topic-metadata">

**Author:** [@s6xspeed](https://forum.kirupa.com/u/s6xspeed)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 2:33am UTC](https://forum.kirupa.com/t/as2-0-and-html-pop-ups/318353 "2011-01-18T02:33:55Z")

</div>

Hi, i have an issue with html pop-ups. I have a page and it has a few buttons with different headings, i would like the user to click on a button and it opens a small html pop-up with some text and maybe a photo. This…

---

## [Displaying xml in text field](https://forum.kirupa.com/t/displaying-xml-in-text-field/318352)

<div class="topic-metadata">

**Author:** [@art\_i\_choke](https://forum.kirupa.com/u/art_i_choke)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 12:46am UTC](https://forum.kirupa.com/t/displaying-xml-in-text-field/318352 "2011-01-18T00:46:30Z")

</div>

I'm trying to display an xml file (news.xml) in a text field (with an instance name of newsTxt). The data displays exactly as I want it to when I trace it, but when I try to load it into the text field, it only shows the…

---

## [Image is bigger then size of screen](https://forum.kirupa.com/t/image-is-bigger-then-size-of-screen/318349)

<div class="topic-metadata">

**Author:** [@treeleaf20](https://forum.kirupa.com/u/treeleaf20)\
**Replies:** 0\
**Last updated:** [January 17, 2011, 10:57pm UTC](https://forum.kirupa.com/t/image-is-bigger-then-size-of-screen/318349 "2011-01-17T22:57:10Z")

</div>

All, I currently have some code that displays an image in a pop up and just takes the width and height of the image. My problem is that some of the images are larger then my screen. How can I get the size of my screen an…

---

## [Problem With Changing Properties of Custom TextField Class](https://forum.kirupa.com/t/problem-with-changing-properties-of-custom-textfield-class/318347)

<div class="topic-metadata">

**Author:** [@marlonpando](https://forum.kirupa.com/u/marlonpando)\
**Replies:** 0\
**Last updated:** [January 17, 2011, 9:52pm UTC](https://forum.kirupa.com/t/problem-with-changing-properties-of-custom-textfield-class/318347 "2011-01-17T21:52:23Z")

</div>

I wrote a simple class called CustomTextField.as as follows: package{ import flash.text.TextField; public class CustomTextField extends TextField{ private var custom\_TextField:TextField=new TextField(); pu…

---

## [Error 1046 & 1180 PLS HELP](https://forum.kirupa.com/t/error-1046-1180-pls-help/318343)

<div class="topic-metadata">

**Author:** [@outback](https://forum.kirupa.com/u/outback)\
**Replies:** 0\
**Last updated:** [January 17, 2011, 7:12pm UTC](https://forum.kirupa.com/t/error-1046-1180-pls-help/318343 "2011-01-17T19:12:36Z")

</div>

Hi all, I'm getting a really annoying error message and could really use some help. here are my lines of code main.swf // main swf import flash.external.ExternalInterface; var urlParser = ExternalInterface.ca…

---

## [How can I make such Snow effect?](https://forum.kirupa.com/t/how-can-i-make-such-snow-effect/318341)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [January 17, 2011, 5:55pm UTC](https://forum.kirupa.com/t/how-can-i-make-such-snow-effect/318341 "2011-01-17T17:55:31Z")

</div>

Hi, How can I make such Snow (Fog) effect as it is in the following link: http://realcasual.com.ua/ Thanks for any help.

---

## [Full Screen without the use of a button](https://forum.kirupa.com/t/full-screen-without-the-use-of-a-button/318340)

<div class="topic-metadata">

**Author:** [@jadalmation](https://forum.kirupa.com/u/jadalmation)\
**Replies:** 0\
**Last updated:** [January 17, 2011, 5:45pm UTC](https://forum.kirupa.com/t/full-screen-without-the-use-of-a-button/318340 "2011-01-17T17:45:19Z")

</div>

Now i know how make my Flash file full screen with the use of a button. But how would i go about it doing it automatically when opened? Thanks José

---

## [Attempted Access of inaccessible method](https://forum.kirupa.com/t/attempted-access-of-inaccessible-method/318337)

<div class="topic-metadata">

**Author:** [@wikiemol](https://forum.kirupa.com/u/wikiemol)\
**Replies:** 0\
**Last updated:** [January 17, 2011, 4:24pm UTC](https://forum.kirupa.com/t/attempted-access-of-inaccessible-method/318337 "2011-01-17T16:24:27Z")

</div>

I am trying to write a simple code that makes a movieclip bounce around the stage, yet every time I test the movie it gives me this error: 1195: Attempted access of inaccessible method stageWidth through reference of s…

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

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