# programming

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

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

**Page:** 183

---

## [Syncing animation to frame rates](https://forum.kirupa.com/t/syncing-animation-to-frame-rates/327677)

<div class="topic-metadata">

**Author:** [@sallysshort](https://forum.kirupa.com/u/sallysshort)\
**Replies:** 0\
**Last updated:** [March 19, 2012, 11:01pm UTC](https://forum.kirupa.com/t/syncing-animation-to-frame-rates/327677 "2012-03-19T23:01:52Z")

</div>

I dont know if this is possible, but for my website on flash, its 27fps and i want to load in my animation swf file externally but my animation is in 12fps is there way i can load in my animation to the website without a…

---

## [stageVideo and stageWebView in AIR for iOS](https://forum.kirupa.com/t/stagevideo-and-stagewebview-in-air-for-ios/327676)

<div class="topic-metadata">

**Author:** [@Kappa](https://forum.kirupa.com/u/Kappa)\
**Replies:** 0\
**Last updated:** [March 19, 2012, 10:03pm UTC](https://forum.kirupa.com/t/stagevideo-and-stagewebview-in-air-for-ios/327676 "2012-03-19T22:03:01Z")

</div>

Is there a reason a stageWebView may be autoplaying? As soon as it loads, it will start playing, but the funny thing with it is that the Play Icon stays there even while it's already playing. I was hoping to have it paus…

---

## [Dynamic fonts don't work... but Arial and Verdana work](https://forum.kirupa.com/t/dynamic-fonts-dont-work-but-arial-and-verdana-work/327675)

<div class="topic-metadata">

**Author:** [@GiGaGiG](https://forum.kirupa.com/u/GiGaGiG)\
**Replies:** 0\
**Last updated:** [March 19, 2012, 2:46pm UTC](https://forum.kirupa.com/t/dynamic-fonts-dont-work-but-arial-and-verdana-work/327675 "2012-03-19T14:46:26Z")

</div>

Hi, I am trying to defeat my psychological block with dynamically loaded fonts in AS3, and I have an annoying problem. I am creating a clock with a textfield and I am loading fonts from a SWF library: the available class…

---

## [External SWF with External AS file - AS3](https://forum.kirupa.com/t/external-swf-with-external-as-file-as3/327671)

<div class="topic-metadata">

**Author:** [@graphicguru](https://forum.kirupa.com/u/graphicguru)\
**Replies:** 0\
**Last updated:** [March 19, 2012, 8:51am UTC](https://forum.kirupa.com/t/external-swf-with-external-as-file-as3/327671 "2012-03-19T08:51:55Z")

</div>

Hi,I am having a problem with my AS file, i have attached the as file please help to load external swf on click of each button, On main timeline i have two keyframes on first key frame im a loading a swf and second key f…

---

## [To load videos externally to flash](https://forum.kirupa.com/t/to-load-videos-externally-to-flash/327669)

<div class="topic-metadata">

**Author:** [@Ariel2](https://forum.kirupa.com/u/Ariel2)\
**Replies:** 0\
**Last updated:** [March 18, 2012, 2:05pm UTC](https://forum.kirupa.com/t/to-load-videos-externally-to-flash/327669 "2012-03-18T14:05:42Z")

</div>

How can i import a .flv video externally to Flash using AS3?

---

## [Counting Radians](https://forum.kirupa.com/t/counting-radians/327667)

<div class="topic-metadata">

**Author:** [@scorp200](https://forum.kirupa.com/u/scorp200)\
**Replies:** 0\
**Last updated:** [March 18, 2012, 7:50am UTC](https://forum.kirupa.com/t/counting-radians/327667 "2012-03-18T07:50:48Z")

</div>

I have an object that rotates based on the mouse position and I'm trying to count the degrees as it rotates. for example if i rotate 200 degrees cww the degree measurement is 200 if i will rotate another 350 degrees cww …

---

## [Somebody Please... Help!](https://forum.kirupa.com/t/somebody-please-help/327666)

<div class="topic-metadata">

**Author:** [@learningas3](https://forum.kirupa.com/u/learningas3)\
**Replies:** 0\
**Last updated:** [March 18, 2012, 12:43am UTC](https://forum.kirupa.com/t/somebody-please-help/327666 "2012-03-18T00:43:21Z")

</div>

i'm still looking for help to calculating total number of hours after adding my hours and minutes once clicking on a button. this is actionscript 3.0.

---

## [SWF as Scaleable Background](https://forum.kirupa.com/t/swf-as-scaleable-background/327665)

<div class="topic-metadata">

**Author:** [@helious](https://forum.kirupa.com/u/helious)\
**Replies:** 0\
**Last updated:** [March 17, 2012, 11:12pm UTC](https://forum.kirupa.com/t/swf-as-scaleable-background/327665 "2012-03-17T23:12:28Z")

</div>

Im currently doing a Flash website, which required an animated background (The background is a few images rotating). The background needs to automatically scale according to the background window. I have been able to d…

---

## [How to put sounds into an Array and then stop them?](https://forum.kirupa.com/t/how-to-put-sounds-into-an-array-and-then-stop-them/327664)

<div class="topic-metadata">

**Author:** [@netmonkey](https://forum.kirupa.com/u/netmonkey)\
**Replies:** 0\
**Last updated:** [March 17, 2012, 9:19pm UTC](https://forum.kirupa.com/t/how-to-put-sounds-into-an-array-and-then-stop-them/327664 "2012-03-17T21:19:09Z")

</div>

Hi, this is hopefully a straightforward thing.. I'm a beginner, so I'm unclear about how to set up variables. I prefer to play sounds from my library using linkage, so can anyone please tell me how to pass an array of so…

---

## [Div to stretch to bottom](https://forum.kirupa.com/t/div-to-stretch-to-bottom/327662)

<div class="topic-metadata">

**Author:** [@catcat31](https://forum.kirupa.com/u/catcat31)\
**Replies:** 0\
**Last updated:** [March 17, 2012, 7:37pm UTC](https://forum.kirupa.com/t/div-to-stretch-to-bottom/327662 "2012-03-17T19:37:12Z")

</div>

Hi I'm using 2 column fixed, left sidebar, header and footer from the DW templates. How to I get the left sidebar to stretch down to my footer rather then reduce in size when I delete the text within the div? Also, how…

---

## [Drawing a ray](https://forum.kirupa.com/t/drawing-a-ray/327660)

<div class="topic-metadata">

**Author:** [@12abhi12](https://forum.kirupa.com/u/12abhi12)\
**Replies:** 0\
**Last updated:** [March 17, 2012, 2:22pm UTC](https://forum.kirupa.com/t/drawing-a-ray/327660 "2012-03-17T14:22:00Z")

</div>

I want to draw a line from a specified point, with a given slope to infinity. Its like a ray. How do I do so?

---

## [Finding the main points on a graph](https://forum.kirupa.com/t/finding-the-main-points-on-a-graph/327659)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [March 17, 2012, 10:32am UTC](https://forum.kirupa.com/t/finding-the-main-points-on-a-graph/327659 "2012-03-17T10:32:14Z")

</div>

Hi, This is more of a question of logic than coding.. but here goes. I've got an array of points, and when plotted on a graph in flash it shows something like this: \[image\] The blue points just highlight the points…

---

## [AS3: url picking not working on server but working locally](https://forum.kirupa.com/t/as3-url-picking-not-working-on-server-but-working-locally/327658)

<div class="topic-metadata">

**Author:** [@ash\_at\_risk](https://forum.kirupa.com/u/ash_at_risk)\
**Replies:** 0\
**Last updated:** [March 17, 2012, 6:22am UTC](https://forum.kirupa.com/t/as3-url-picking-not-working-on-server-but-working-locally/327658 "2012-03-17T06:22:35Z")

</div>

hello all, i have a "swf" file which is picking url from xml & displaying the image, when i tested it locally it works fine, which means it picks up URL from XML & displaying corresponding image. After i uploaded it on s…

---

## [Not performing calculation](https://forum.kirupa.com/t/not-performing-calculation/327657)

<div class="topic-metadata">

**Author:** [@littlea5h](https://forum.kirupa.com/u/littlea5h)\
**Replies:** 0\
**Last updated:** [March 17, 2012, 5:18am UTC](https://forum.kirupa.com/t/not-performing-calculation/327657 "2012-03-17T05:18:03Z")

</div>

So i think i have fully coded my calculator but it still doesn't seem to be performing the calculations correctly. I can't see where i am going wrong. If i perform a calculation let's say 6\*2 it outputs NaN then i straig…

---

## [A few problems with Drag 'n' Drop Game](https://forum.kirupa.com/t/a-few-problems-with-drag-n-drop-game/327654)

<div class="topic-metadata">

**Author:** [@xCiter](https://forum.kirupa.com/u/xCiter)\
**Replies:** 0\
**Last updated:** [March 16, 2012, 10:57pm UTC](https://forum.kirupa.com/t/a-few-problems-with-drag-n-drop-game/327654 "2012-03-16T22:57:04Z")

</div>

Hey all, I have two problems with a Drag 'n' Drop Game im making for University. First of all, i get a message saying that: Error #2025: The supplied DisplayObject must be a child of the caller. The first image…

---

## [Need serious help with random images and placement!](https://forum.kirupa.com/t/need-serious-help-with-random-images-and-placement/327653)

<div class="topic-metadata">

**Author:** [@plextor30](https://forum.kirupa.com/u/plextor30)\
**Replies:** 0\
**Last updated:** [March 16, 2012, 10:42pm UTC](https://forum.kirupa.com/t/need-serious-help-with-random-images-and-placement/327653 "2012-03-16T22:42:20Z")

</div>

I know math.random is a good thing to use here, but I have no clue how to do it. I'm creating a small basic fish tank for a friends little girl, and I have the fish, but want to generate 5 random fishes and randomly pl…

---

## [Storing number inside a string variable](https://forum.kirupa.com/t/storing-number-inside-a-string-variable/327652)

<div class="topic-metadata">

**Author:** [@littlea5h](https://forum.kirupa.com/u/littlea5h)\
**Replies:** 0\
**Last updated:** [March 16, 2012, 10:39pm UTC](https://forum.kirupa.com/t/storing-number-inside-a-string-variable/327652 "2012-03-16T22:39:44Z")

</div>

For my calculator i am having trouble storing a number inside a string variable. Calculator, Layer 'actionscript', Frame 1, Line 144 1061: Call to a possibly undefined method append through a reference with static type…

---

## [Problem with logo between browsers](https://forum.kirupa.com/t/problem-with-logo-between-browsers/327649)

<div class="topic-metadata">

**Author:** [@jonybigude](https://forum.kirupa.com/u/jonybigude)\
**Replies:** 0\
**Last updated:** [March 16, 2012, 3:53pm UTC](https://forum.kirupa.com/t/problem-with-logo-between-browsers/327649 "2012-03-16T15:53:14Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Hello everyone!\[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=verdana\]I have a problem between browsers. In this website that I am doing \[/FONT\]\[/COLOR\]\[COLOR=#000000\]\[FONT=verdana\]things are getting…

---

## [Website "build" animations... how are they done in non-Flash sites?](https://forum.kirupa.com/t/website-build-animations-how-are-they-done-in-non-flash-sites/327648)

<div class="topic-metadata">

**Author:** [@azukizero](https://forum.kirupa.com/u/azukizero)\
**Replies:** 0\
**Last updated:** [March 16, 2012, 3:28pm UTC](https://forum.kirupa.com/t/website-build-animations-how-are-they-done-in-non-flash-sites/327648 "2012-03-16T15:28:13Z")

</div>

Hi all, I've been working in Flash for years and have only recently gone back to development in HTML/CSS. I've seen several amazing sites out there that have animation builds when the site or page first loads that see…

---

## [Malaysiakini (amnpitg)](https://forum.kirupa.com/t/malaysiakini-amnpitg/327647)

<div class="topic-metadata">

**Author:** [@tajammal10](https://forum.kirupa.com/u/tajammal10)\
**Replies:** 0\
**Last updated:** [March 16, 2012, 2:51pm UTC](https://forum.kirupa.com/t/malaysiakini-amnpitg/327647 "2012-03-16T14:51:39Z")

</div>

Malaysiakini offers alternative news and views of Malaysian. Updated daily, the site has won several awards for its quality reporting. http://q.gs/y4sK

---

## [Lightbox not working... conflict?](https://forum.kirupa.com/t/lightbox-not-working-conflict/327645)

<div class="topic-metadata">

**Author:** [@FlashFish](https://forum.kirupa.com/u/FlashFish)\
**Replies:** 0\
**Last updated:** [March 16, 2012, 1:49pm UTC](https://forum.kirupa.com/t/lightbox-not-working-conflict/327645 "2012-03-16T13:49:21Z")

</div>

Hellooo. I'm trying to use lightbox on some images but it's not kicking in and doing it's magic. Please remove the Xs www.meXdiadisXplays.tv/2012 The images in question are the three identical thumbnails under the we…

---

## [Tutorial: Styling Placeholder Text with CSS](https://forum.kirupa.com/t/tutorial-styling-placeholder-text-with-css/327644)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [March 16, 2012, 7:17am UTC](https://forum.kirupa.com/t/tutorial-styling-placeholder-text-with-css/327644 "2012-03-16T07:17:33Z")

</div>

\[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[COLOR=#333333\]\[COLOR=#333333\]Hi everyone,\[/COLOR\]\[/COLOR\]\[/FONT\]\[/COLOR\]\[/COLOR\] \[COLOR=#333333\]\[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[COLOR=#333333\]\[COLOR=#333333\]\[CO…

---

## [The right Thoughts (owdvoj54)](https://forum.kirupa.com/t/the-right-thoughts-owdvoj54/327643)

<div class="topic-metadata">

**Author:** [@hiranaseer22](https://forum.kirupa.com/u/hiranaseer22)\
**Replies:** 0\
**Last updated:** [March 16, 2012, 6:19am UTC](https://forum.kirupa.com/t/the-right-thoughts-owdvoj54/327643 "2012-03-16T06:19:47Z")

</div>

home of Quantic, Maddslinky, Nostalgia 77, The Bamboos, Belleruche, Hot 8 Brass Band and proud parent of Unfold. Breaking news with 1000s of Marketing Jobs, Design Careers, Advertising Recruitment. http://j.gs/916651/tr…

---

## [Interrupting the testing process makes it work](https://forum.kirupa.com/t/interrupting-the-testing-process-makes-it-work/327641)

<div class="topic-metadata">

**Author:** [@joesafe](https://forum.kirupa.com/u/joesafe)\
**Replies:** 0\
**Last updated:** [March 16, 2012, 2:28am UTC](https://forum.kirupa.com/t/interrupting-the-testing-process-makes-it-work/327641 "2012-03-16T02:28:46Z")

</div>

Hello, I'm using Flash CS5.5 to connect to an SQLite database called "base.db". The connection works fine and it can return values from the database, but only if i interrupt the test by clicking ctrl+enter again and t…

---

## [SWF Loading and ApplicationDomain](https://forum.kirupa.com/t/swf-loading-and-applicationdomain/327640)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [March 16, 2012, 12:12am UTC](https://forum.kirupa.com/t/swf-loading-and-applicationdomain/327640 "2012-03-16T00:12:46Z")

</div>

I am loading a content SWF into a container and I want the content SWF to exist in a child application domain to the container. Therefore, the structure should look like: \[system\] -\> \[container\] -\> \[content1\] \[system\]…

---

## [Loader preventing appearance of pointer cursor](https://forum.kirupa.com/t/loader-preventing-appearance-of-pointer-cursor/327639)

<div class="topic-metadata">

**Author:** [@Thinker2501](https://forum.kirupa.com/u/Thinker2501)\
**Replies:** 0\
**Last updated:** [March 15, 2012, 10:13pm UTC](https://forum.kirupa.com/t/loader-preventing-appearance-of-pointer-cursor/327639 "2012-03-15T22:13:33Z")

</div>

I have two SWFs, the first is a wrapper SWF with a loading bar that fills up as the second SWF is loaded via myLoader.load(second.swf);. When testing both the second SWF and the wrapper SWF in the IDE they work perfectly…

---

## [HELP: Dynamically populating a textfield within several instances of a movie clip](https://forum.kirupa.com/t/help-dynamically-populating-a-textfield-within-several-instances-of-a-movie-clip/327637)

<div class="topic-metadata">

**Author:** [@swimpolo4](https://forum.kirupa.com/u/swimpolo4)\
**Replies:** 0\
**Last updated:** [March 15, 2012, 7:23pm UTC](https://forum.kirupa.com/t/help-dynamically-populating-a-textfield-within-several-instances-of-a-movie-clip/327637 "2012-03-15T19:23:47Z")

</div>

I’ve been working in Flash using AS2 and loading external XML data into the movie. I am able to load the data into in Flash and parse it, but I haven't been able to figure out how to load the names of buttons from sep…

---

## [GradientFill bug?](https://forum.kirupa.com/t/gradientfill-bug/327636)

<div class="topic-metadata">

**Author:** [@holysocks](https://forum.kirupa.com/u/holysocks)\
**Replies:** 0\
**Last updated:** [March 15, 2012, 7:00pm UTC](https://forum.kirupa.com/t/gradientfill-bug/327636 "2012-03-15T19:00:56Z")

</div>

var blob:Sprite=new Sprite(); addChild(blob); var gradsize:int=20; for(var i:int=0;i\<100;i++){ var matrix:Matrix = new Matrix(); matrix.createGradientBox(gradsize,gradsize,0,(i % 10)\*gradsize,int(i/10)\*gradsiz…

---

## [Anon Function: interesting](https://forum.kirupa.com/t/anon-function-interesting/327634)

<div class="topic-metadata">

**Author:** [@cbeech](https://forum.kirupa.com/u/cbeech)\
**Replies:** 0\
**Last updated:** [March 15, 2012, 6:14pm UTC](https://forum.kirupa.com/t/anon-function-interesting/327634 "2012-03-15T18:14:01Z")

</div>

There was a thread the other day that was discussing the value/practice of using anonymous functions in Event Listeners - can't seem to find it at the moment - but i was just working on a quick temporary call in testing,…

---

## [How to publish for Windows 98?](https://forum.kirupa.com/t/how-to-publish-for-windows-98/327633)

<div class="topic-metadata">

**Author:** [@grdnBryant](https://forum.kirupa.com/u/grdnBryant)\
**Replies:** 0\
**Last updated:** [March 15, 2012, 5:40pm UTC](https://forum.kirupa.com/t/how-to-publish-for-windows-98/327633 "2012-03-15T17:40:40Z")

</div>

\[LEFT\]\[COLOR=#333333\]\[FONT=Arial\]I work in the art department of a documentary series and I have a Dell Iinspiron 3200 running Windows 98 (with Flashplayer 9) that I need to use to run animations that I made on a seperat…

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

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