# flash

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

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

**Page:** 132

---

## [Use bitmap as a colour With Code?](https://forum.kirupa.com/t/use-bitmap-as-a-colour-with-code/324129)

<div class="topic-metadata">

**Author:** [@cortezcreations](https://forum.kirupa.com/u/cortezcreations)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 8:48pm UTC](https://forum.kirupa.com/t/use-bitmap-as-a-colour-with-code/324129 "2011-08-03T20:48:04Z")

</div>

Hey there. Been awhile for a flash as2 question, but came upon a new one today. I am creating a little drawing app for an online contest using lineStyle and moveTo with a selected colour controlled by the hex values eg 0…

---

## [5.5 font weirdness](https://forum.kirupa.com/t/5-5-font-weirdness/324128)

<div class="topic-metadata">

**Author:** [@activa](https://forum.kirupa.com/u/activa)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 6:26pm UTC](https://forum.kirupa.com/t/5-5-font-weirdness/324128 "2011-08-03T18:26:14Z")

</div>

I started using 5.5 today, from CS3. I have a routine that loads a font from an SWF. It was working great in CS3. In CS5.5 the font loads but doesn't appear. If I remove the ".embedFonts = true" statement from the TextFi…

---

## [Pull numbers out of a string](https://forum.kirupa.com/t/pull-numbers-out-of-a-string/324127)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 5:25pm UTC](https://forum.kirupa.com/t/pull-numbers-out-of-a-string/324127 "2011-08-03T17:25:07Z")

</div>

I need to pull numbers out of a string. I can easily iterate over all the characters, but the problem I am having is that often the numbers are zeroes. Is there a way to convert a string to an integer other than casting …

---

## [Call to main timeline, after external video or audio is done playing?](https://forum.kirupa.com/t/call-to-main-timeline-after-external-video-or-audio-is-done-playing/324126)

<div class="topic-metadata">

**Author:** [@lazerbrains](https://forum.kirupa.com/u/lazerbrains)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 4:46pm UTC](https://forum.kirupa.com/t/call-to-main-timeline-after-external-video-or-audio-is-done-playing/324126 "2011-08-03T16:46:54Z")

</div>

I am curious if there is a way to call back to the main timeline using AS3 after a video clip or audio clip that is being loaded externally, is done playing? For instance: you get to a page with a video on it, but whe…

---

## [Dynamically Removing Filters](https://forum.kirupa.com/t/dynamically-removing-filters/324125)

<div class="topic-metadata">

**Author:** [@Rinkusu](https://forum.kirupa.com/u/Rinkusu)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 4:37pm UTC](https://forum.kirupa.com/t/dynamically-removing-filters/324125 "2011-08-03T16:37:28Z")

</div>

Basically, the effect I'm going for is, you click on a button that calls an mc to the stage and blurs everything below it. Within that mc is a button that when clicked, should remove both the mc and the blur filter. Th…

---

## [Help regarding Hover Caption Tutorial on Kirupa](https://forum.kirupa.com/t/help-regarding-hover-caption-tutorial-on-kirupa/324124)

<div class="topic-metadata">

**Author:** [@jatintalwar](https://forum.kirupa.com/u/jatintalwar)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 2:39pm UTC](https://forum.kirupa.com/t/help-regarding-hover-caption-tutorial-on-kirupa/324124 "2011-08-03T14:39:16Z")

</div>

Dear all . My query is in respect to the tutorial posted on kirupa : \[URL="http://www.kirupa.com/developer/mx2004/hover\_captions.htm"\]http://www.kirupa.com/developer/mx2004/hover\_captions.htm Now : 1) If I want to add…

---

## [An actual size FLV of my MPEG... possible?](https://forum.kirupa.com/t/an-actual-size-flv-of-my-mpeg-possible/324123)

<div class="topic-metadata">

**Author:** [@nkaps7](https://forum.kirupa.com/u/nkaps7)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 1:47pm UTC](https://forum.kirupa.com/t/an-actual-size-flv-of-my-mpeg-possible/324123 "2011-08-03T13:47:55Z")

</div>

I have converted my MPEG video recorded from my camcorder to FLV to use on "Flash CS4" using "Adobe Media Converter". But the FLV playback on the "Flash player 10" is alot smaller than the playback of the MPEG video on "…

---

## [Different Security sandboxType when debugging](https://forum.kirupa.com/t/different-security-sandboxtype-when-debugging/324118)

<div class="topic-metadata">

**Author:** [@mono\_eric3](https://forum.kirupa.com/u/mono_eric3)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 10:05am UTC](https://forum.kirupa.com/t/different-security-sandboxtype-when-debugging/324118 "2011-08-03T10:05:00Z")

</div>

Hey everyone, I'm finishing up a game with the Flash IDE (CS5) and I've hit an issue with Security.sandboxType. When testing the movie locally the sandboxType is localTrusted. When debugging locally the sandboxType…

---

## [Flash application architecture question](https://forum.kirupa.com/t/flash-application-architecture-question/324113)

<div class="topic-metadata">

**Author:** [@johnsonw](https://forum.kirupa.com/u/johnsonw)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 12:07am UTC](https://forum.kirupa.com/t/flash-application-architecture-question/324113 "2011-08-03T00:07:31Z")

</div>

Hello, I'm building a flash application using a three-tier environment and amazon web services (EC2) for hosting. I have three server instances of ubuntu; let's call them Server A, Server B and Server C. Server A hosts…

---

## [Trouble with Reversing Movie Clips (Greensock TweenLite)](https://forum.kirupa.com/t/trouble-with-reversing-movie-clips-greensock-tweenlite/324110)

<div class="topic-metadata">

**Author:** [@Rob\_Clark](https://forum.kirupa.com/u/Rob_Clark)\
**Replies:** 0\
**Last updated:** [August 2, 2011, 6:56pm UTC](https://forum.kirupa.com/t/trouble-with-reversing-movie-clips-greensock-tweenlite/324110 "2011-08-02T18:56:23Z")

</div>

Hey all, AS3 newb here. I am (trying) to build a Banner for my companies website in AS3. I am currently using CS5 with the Greensock TweenLite package. I want product images to slide in from the right of the screen, …

---

## [SWF Address](https://forum.kirupa.com/t/swf-address/324109)

<div class="topic-metadata">

**Author:** [@meli\_melo](https://forum.kirupa.com/u/meli_melo)\
**Replies:** 0\
**Last updated:** [August 2, 2011, 5:58pm UTC](https://forum.kirupa.com/t/swf-address/324109 "2011-08-02T17:58:18Z")

</div>

Hi everyone, I am very new to flash and as3. I built a website with swf address and it works great except the back/forward browser buttons do not change the content of the page, just the address. I followed a tutorial an…

---

## [AS 3 getBounds](https://forum.kirupa.com/t/as-3-getbounds/324106)

<div class="topic-metadata">

**Author:** [@globo23](https://forum.kirupa.com/u/globo23)\
**Replies:** 0\
**Last updated:** [August 2, 2011, 3:40pm UTC](https://forum.kirupa.com/t/as-3-getbounds/324106 "2011-08-02T15:40:54Z")

</div>

Can anyone of you guys help me out with this one? The following piece of code works in the timeline: var ball:Sprite = new Sprite; addChild(ball); ball.graphics.beginFill(Math.random()\*0xff0000); ball.graphics.drawCi…

---

## ["Press Enter To Continue"?](https://forum.kirupa.com/t/press-enter-to-continue/324104)

<div class="topic-metadata">

**Author:** [@kwekzh](https://forum.kirupa.com/u/kwekzh)\
**Replies:** 0\
**Last updated:** [August 2, 2011, 3:13pm UTC](https://forum.kirupa.com/t/press-enter-to-continue/324104 "2011-08-02T15:13:53Z")

</div>

I'm doing up a flash file as a project, and so far I have one frame with 2 types of text, one introduction and another that says, "Press Enter To Continue..." I also have another frame side-by-side with another bunch of …

---

## [mp3 file not playing](https://forum.kirupa.com/t/mp3-file-not-playing/324101)

<div class="topic-metadata">

**Author:** [@lordrt](https://forum.kirupa.com/u/lordrt)\
**Replies:** 0\
**Last updated:** [August 2, 2011, 12:28pm UTC](https://forum.kirupa.com/t/mp3-file-not-playing/324101 "2011-08-02T12:28:06Z")

</div>

Hello I have a flash file developed by an ex-colleague, to load and play a flash file, however after moving the website to OVH server, the mp3 stopped playing: code for mp3: this.\_lockroot = true; var loopTune:Sou…

---

## [Reading Epub files](https://forum.kirupa.com/t/reading-epub-files/324099)

<div class="topic-metadata">

**Author:** [@tstefan](https://forum.kirupa.com/u/tstefan)\
**Replies:** 0\
**Last updated:** [August 2, 2011, 10:15am UTC](https://forum.kirupa.com/t/reading-epub-files/324099 "2011-08-02T10:15:08Z")

</div>

Hello, is there a library or something that can bee used to read epub file in the flash CS5 Air, so it can be viewed on mobile devices. Thanks

---

## [Verlet integration](https://forum.kirupa.com/t/verlet-integration/324096)

<div class="topic-metadata">

**Author:** [@m\_elemental](https://forum.kirupa.com/u/m_elemental)\
**Replies:** 0\
**Last updated:** [August 2, 2011, 6:12am UTC](https://forum.kirupa.com/t/verlet-integration/324096 "2011-08-02T06:12:16Z")

</div>

Does anybody over here know about Verlet integration? Between these three classes I've got a bitmap object moving around nicely with the arrow keys... but most of the time when I open the SWF there is a flash of the bi…

---

## [Ternary Operator - Please help me understand this line of code](https://forum.kirupa.com/t/ternary-operator-please-help-me-understand-this-line-of-code/324091)

<div class="topic-metadata">

**Author:** [@SquirtGun](https://forum.kirupa.com/u/SquirtGun)\
**Replies:** 0\
**Last updated:** [August 1, 2011, 9:50pm UTC](https://forum.kirupa.com/t/ternary-operator-please-help-me-understand-this-line-of-code/324091 "2011-08-01T21:50:30Z")

</div>

Hello all, I recently took over a project and I am trying to wrap my head around this line of code which uses the Ternary Operator. I am only familiar with the basics. I don't quite understand the nested nature of thi…

---

## [Am I doing something wrong here? (drawRect not showing up)](https://forum.kirupa.com/t/am-i-doing-something-wrong-here-drawrect-not-showing-up/324086)

<div class="topic-metadata">

**Author:** [@cam94509](https://forum.kirupa.com/u/cam94509)\
**Replies:** 0\
**Last updated:** [August 1, 2011, 5:16pm UTC](https://forum.kirupa.com/t/am-i-doing-something-wrong-here-drawrect-not-showing-up/324086 "2011-08-01T17:16:53Z")

</div>

I'm using this code to try to draw a background (actually, I'm using modified versions of it to do all sorts of stuff, but w/e, the background isn't drawing, even when I comment the rest of the drawing fail out): var g…

---

## [Where is flashplayer located on the mac](https://forum.kirupa.com/t/where-is-flashplayer-located-on-the-mac/324083)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [August 1, 2011, 3:32pm UTC](https://forum.kirupa.com/t/where-is-flashplayer-located-on-the-mac/324083 "2011-08-01T15:32:13Z")

</div>

Stupid question and I know this, just can't remember... (not the version inside Flash IDE)

---

## [How to get Columns Comment with amfphp](https://forum.kirupa.com/t/how-to-get-columns-comment-with-amfphp/324082)

<div class="topic-metadata">

**Author:** [@zeeto](https://forum.kirupa.com/u/zeeto)\
**Replies:** 0\
**Last updated:** [August 1, 2011, 3:26pm UTC](https://forum.kirupa.com/t/how-to-get-columns-comment-with-amfphp/324082 "2011-08-01T15:26:19Z")

</div>

Hello, I'm using amfphp to get some info from SQL database. My php code of the file in "services" folder looks like: function getImages() { return mysql\_query("SELECT \* FROM images");} And I'm getting the info u…

---

## [Functions and Classes](https://forum.kirupa.com/t/functions-and-classes/324080)

<div class="topic-metadata">

**Author:** [@CCG1993](https://forum.kirupa.com/u/CCG1993)\
**Replies:** 0\
**Last updated:** [August 1, 2011, 1:25pm UTC](https://forum.kirupa.com/t/functions-and-classes/324080 "2011-08-01T13:25:12Z")

</div>

Say, I have: \[LIST\] \[\*\]A main class \[\*\]A sub class \[\*\]A function defined in the sub - class \[/LIST\] How would I call said function from the Main class? Help would be much appreciated. Thank you, CCG1993

---

## [mouseX problem when width changed](https://forum.kirupa.com/t/mousex-problem-when-width-changed/324079)

<div class="topic-metadata">

**Author:** [@palmjack](https://forum.kirupa.com/u/palmjack)\
**Replies:** 0\
**Last updated:** [August 1, 2011, 1:15pm UTC](https://forum.kirupa.com/t/mousex-problem-when-width-changed/324079 "2011-08-01T13:15:11Z")

</div>

Not sure if I'm missing sth or is it just a bug. I have a movieclip on stage, it's a simple rectangle drawn with a rect tool (no stroke) I add an event listener to trace out the mouseX, works OK so far. When I increa…

---

## [Multiple font weight embedding](https://forum.kirupa.com/t/multiple-font-weight-embedding/324075)

<div class="topic-metadata">

**Author:** [@Ricardinho](https://forum.kirupa.com/u/Ricardinho)\
**Replies:** 0\
**Last updated:** [August 1, 2011, 9:34am UTC](https://forum.kirupa.com/t/multiple-font-weight-embedding/324075 "2011-08-01T09:34:04Z")

</div>

Hi, I'm looking for solutions to embed multiple font weights into an FLA. E.g. Helvetica Light, Medium, black etc etc. Has anyone hot any working examples/best practice opinions Thanks in advance

---

## [Bitmap Data](https://forum.kirupa.com/t/bitmap-data/324071)

<div class="topic-metadata">

**Author:** [@arks](https://forum.kirupa.com/u/arks)\
**Replies:** 0\
**Last updated:** [July 31, 2011, 11:55pm UTC](https://forum.kirupa.com/t/bitmap-data/324071 "2011-07-31T23:55:35Z")

</div>

Hi, so I've been stuck on this problem for a few days now. Basically I have an external image, brought in through XML and loaded up with the Loader class. I know it loads because there is another child on the stage. \_gre…

---

## [1119: Access of possibly undefined property parent through a reference with static ty](https://forum.kirupa.com/t/1119-access-of-possibly-undefined-property-parent-through-a-reference-with-static-ty/324070)

<div class="topic-metadata">

**Author:** [@zeeto](https://forum.kirupa.com/u/zeeto)\
**Replies:** 0\
**Last updated:** [July 31, 2011, 8:20pm UTC](https://forum.kirupa.com/t/1119-access-of-possibly-undefined-property-parent-through-a-reference-with-static-ty/324070 "2011-07-31T20:20:04Z")

</div>

Hi, I'm having bit of a headache with 1119 error and I can't figure out why. The problematic line is in red. What I'm trying to do is: 1. Add Display Object "imagesGallery" to mainWin 2. Add MovieClip "imagesPreloade…

---

## [DRM s for SWFs](https://forum.kirupa.com/t/drm-s-for-swfs/324065)

<div class="topic-metadata">

**Author:** [@ColinDavies](https://forum.kirupa.com/u/ColinDavies)\
**Replies:** 0\
**Last updated:** [July 31, 2011, 8:02am UTC](https://forum.kirupa.com/t/drm-s-for-swfs/324065 "2011-07-31T08:02:41Z")

</div>

{Sorry if this has been asked but, I have searched around and discovered little} Are there and third party Digital Right Management Packages/Components/Classes for SWFs ? The only thing I can find is 'LockLizard' , and I…

---

## [The movie starts again even with \_root.stop(), why?](https://forum.kirupa.com/t/the-movie-starts-again-even-with--root-stop-why/324062)

<div class="topic-metadata">

**Author:** [@joecoolman](https://forum.kirupa.com/u/joecoolman)\
**Replies:** 0\
**Last updated:** [July 31, 2011, 3:13am UTC](https://forum.kirupa.com/t/the-movie-starts-again-even-with--root-stop-why/324062 "2011-07-31T03:13:34Z")

</div>

I have a movie with 3 scenes, the last one has only just one statement on the timeline: \_root.stop(), and there are not library objects neither ones created by code. Just and empty stage with the statement I told. I know…

---

## [scrollPane Mods](https://forum.kirupa.com/t/scrollpane-mods/324059)

<div class="topic-metadata">

**Author:** [@rassy7](https://forum.kirupa.com/u/rassy7)\
**Replies:** 0\
**Last updated:** [July 31, 2011, 1:43am UTC](https://forum.kirupa.com/t/scrollpane-mods/324059 "2011-07-31T01:43:05Z")

</div>

Does anybody know how, if it's possible, to move the vertical scroll bar to the left side of the scrollPane component? I know it sounds weird, but I need the pane to scroll with the bar on the left side instead of the ri…

---

## [ActionScript Classes Problem](https://forum.kirupa.com/t/actionscript-classes-problem/324057)

<div class="topic-metadata">

**Author:** [@mlundager](https://forum.kirupa.com/u/mlundager)\
**Replies:** 0\
**Last updated:** [July 30, 2011, 8:37pm UTC](https://forum.kirupa.com/t/actionscript-classes-problem/324057 "2011-07-30T20:37:47Z")

</div>

Okay so i created a button on the stage and made it a movie clip and called it's instance name "play\_btn" then i made a document class "main.as" and a second class "play button.as" so what i want to do but can't figure…

---

## [Need help with alternating scripts](https://forum.kirupa.com/t/need-help-with-alternating-scripts/324049)

<div class="topic-metadata">

**Author:** [@mrbloo2](https://forum.kirupa.com/u/mrbloo2)\
**Replies:** 0\
**Last updated:** [July 30, 2011, 5:42am UTC](https://forum.kirupa.com/t/need-help-with-alternating-scripts/324049 "2011-07-30T05:42:03Z")

</div>

Recently I’ve started working on this new game I’ve had the idea of. It’s basically a 2D shooter platformer and the aspect I’m having difficulty with at the moment is the weapon changing. The way I have set it up is ther…

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

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