# programming

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

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

**Page:** 171

---

## [Delay pages from loading when the site first loads](https://forum.kirupa.com/t/delay-pages-from-loading-when-the-site-first-loads/328393)

<div class="topic-metadata">

**Author:** [@gaiawen](https://forum.kirupa.com/u/gaiawen)\
**Replies:** 0\
**Last updated:** [May 14, 2012, 9:19am UTC](https://forum.kirupa.com/t/delay-pages-from-loading-when-the-site-first-loads/328393 "2012-05-14T09:19:55Z")

</div>

Hello, Hello, I am new to ActionScript and the \[GAIA Framework. I am currently building a website using the \[URL="http://www.gaiaflashframework.com/"\]GAIA Framework\](http://www.gaiaflashframework.com/) and I have an …

---

## [DW Template CSS Layout Questions](https://forum.kirupa.com/t/dw-template-css-layout-questions/328392)

<div class="topic-metadata">

**Author:** [@catcat31](https://forum.kirupa.com/u/catcat31)\
**Replies:** 0\
**Last updated:** [May 14, 2012, 9:17am UTC](https://forum.kirupa.com/t/dw-template-css-layout-questions/328392 "2012-05-14T09:17:49Z")

</div>

Hi, I'm using the DW template 2 column fixed, left sidebar, header and footer. I've now decided that I want the sidebar1 div tag to reach the bottom of the footer rather than float depending on what information is in it.…

---

## [\[Need Help!\] Basic eToy Application Error #1009](https://forum.kirupa.com/t/need-help-basic-etoy-application-error-1009/328389)

<div class="topic-metadata">

**Author:** [@Bruce\_Pagunsan](https://forum.kirupa.com/u/Bruce_Pagunsan)\
**Replies:** 0\
**Last updated:** [May 14, 2012, 3:16am UTC](https://forum.kirupa.com/t/need-help-basic-etoy-application-error-1009/328389 "2012-05-14T03:16:42Z")

</div>

Hey everyone, Just need some help on an assignment I am working on and the teacher and I cannot figure out why the error is occurring. I have tried retyping the code and changing instance names. Also double-checked th…

---

## [Tutorial: Displaying a Random Image](https://forum.kirupa.com/t/tutorial-displaying-a-random-image/328388)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 14, 2012, 3:03am UTC](https://forum.kirupa.com/t/tutorial-displaying-a-random-image/328388 "2012-05-14T03:03:13Z")

</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\]\[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[CO…

---

## [Flash AS3 Timer Event Errors](https://forum.kirupa.com/t/flash-as3-timer-event-errors/328386)

<div class="topic-metadata">

**Author:** [@UnstableP](https://forum.kirupa.com/u/UnstableP)\
**Replies:** 0\
**Last updated:** [May 13, 2012, 11:24pm UTC](https://forum.kirupa.com/t/flash-as3-timer-event-errors/328386 "2012-05-13T23:24:39Z")

</div>

\*\*\[FONT=arial\] ActionScript 3 Error: 1180: Call to a possibly undefined method Timer. \[/FONT\]\*\* \[FONT=arial\]Error 1046: Type was not found or not a compile time-constant: Timer Im getting both of these errors fro…

---

## [Access dynamically added movieclips?](https://forum.kirupa.com/t/access-dynamically-added-movieclips/328385)

<div class="topic-metadata">

**Author:** [@obai](https://forum.kirupa.com/u/obai)\
**Replies:** 0\
**Last updated:** [May 13, 2012, 9:53pm UTC](https://forum.kirupa.com/t/access-dynamically-added-movieclips/328385 "2012-05-13T21:53:43Z")

</div>

So I have only ever coded in AS2, and I am trying to create a tower-defence sort of game in AS3. In my main class I call this function: private function createGrid():void { for (var a:int =…

---

## [How to rotate around relative point?](https://forum.kirupa.com/t/how-to-rotate-around-relative-point/328383)

<div class="topic-metadata">

**Author:** [@GeekTweak\_0](https://forum.kirupa.com/u/GeekTweak_0)\
**Replies:** 0\
**Last updated:** [May 13, 2012, 7:15pm UTC](https://forum.kirupa.com/t/how-to-rotate-around-relative-point/328383 "2012-05-13T19:15:40Z")

</div>

I have a big circle on the center of the stage. I want to create smaller circles, circling one after the next inside of the big circle. (around the inner perimeter). Basically what i want to do is know how to rotate a…

---

## [AS2 - loadMovie to load external jpegs from folder, works, but jpegs pixellated](https://forum.kirupa.com/t/as2-loadmovie-to-load-external-jpegs-from-folder-works-but-jpegs-pixellated/328382)

<div class="topic-metadata">

**Author:** [@plainman007](https://forum.kirupa.com/u/plainman007)\
**Replies:** 0\
**Last updated:** [May 13, 2012, 4:30pm UTC](https://forum.kirupa.com/t/as2-loadmovie-to-load-external-jpegs-from-folder-works-but-jpegs-pixellated/328382 "2012-05-13T16:30:24Z")

</div>

Hi, (AS 2.0) Im using PicHolder.loadMovie("gallery/pic1.jpg"); Everything is working fine except the images are very pixellated when they load. Is there some smoothing command that can be included in AS2 to help wi…

---

## [SWF and XML in a Web Page](https://forum.kirupa.com/t/swf-and-xml-in-a-web-page/328381)

<div class="topic-metadata">

**Author:** [@jeponkz](https://forum.kirupa.com/u/jeponkz)\
**Replies:** 0\
**Last updated:** [May 13, 2012, 1:35pm UTC](https://forum.kirupa.com/t/swf-and-xml-in-a-web-page/328381 "2012-05-13T13:35:29Z")

</div>

hello guys, im having trouble embeding my swf in HTML.. im developing a digital map, the information are stored in an XML file.. using this code I successfully embed my swf file.. but then the problem is i can't embed …

---

## [Stopping Tween](https://forum.kirupa.com/t/stopping-tween/328380)

<div class="topic-metadata">

**Author:** [@cagkan](https://forum.kirupa.com/u/cagkan)\
**Replies:** 0\
**Last updated:** [May 13, 2012, 12:50pm UTC](https://forum.kirupa.com/t/stopping-tween/328380 "2012-05-13T12:50:45Z")

</div>

Can I stop the tween that I created on the layer when I clicked on a button? :emo:

---

## [Get library items by name](https://forum.kirupa.com/t/get-library-items-by-name/328379)

<div class="topic-metadata">

**Author:** [@Cragdoll](https://forum.kirupa.com/u/Cragdoll)\
**Replies:** 0\
**Last updated:** [May 13, 2012, 11:26am UTC](https://forum.kirupa.com/t/get-library-items-by-name/328379 "2012-05-13T11:26:11Z")

</div>

Hi every one i jsut signed up for this forum because i really need some help, so here's my question. I'm making an app which should display a number of images which you can click (so buttons actually) and then you get …

---

## [Insert SWF in HTML](https://forum.kirupa.com/t/insert-swf-in-html/328378)

<div class="topic-metadata">

**Author:** [@jeponkz](https://forum.kirupa.com/u/jeponkz)\
**Replies:** 0\
**Last updated:** [May 13, 2012, 10:13am UTC](https://forum.kirupa.com/t/insert-swf-in-html/328378 "2012-05-13T10:13:03Z")

</div>

Hello Guys, I want to put my swf file in my webpage, how can I do this??

---

## [Tutorial: Objects](https://forum.kirupa.com/t/tutorial-objects/328377)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 13, 2012, 3:10am UTC](https://forum.kirupa.com/t/tutorial-objects/328377 "2012-05-13T03:10:11Z")

</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\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[COLOR=#333333\]\[CO…

---

## [Problem loading External SWF files](https://forum.kirupa.com/t/problem-loading-external-swf-files/328375)

<div class="topic-metadata">

**Author:** [@KemDJ](https://forum.kirupa.com/u/KemDJ)\
**Replies:** 0\
**Last updated:** [May 12, 2012, 11:18pm UTC](https://forum.kirupa.com/t/problem-loading-external-swf-files/328375 "2012-05-12T23:18:19Z")

</div>

Hi guys, been looking at the forum for a little while, but have only just encountered my first real problem in Flash CS4. This method worked for me previously, but doesnt work on this new client project for some reason! …

---

## [AS3, PHP MySQL Database](https://forum.kirupa.com/t/as3-php-mysql-database/328374)

<div class="topic-metadata">

**Author:** [@na\_il](https://forum.kirupa.com/u/na_il)\
**Replies:** 0\
**Last updated:** [May 12, 2012, 4:23pm UTC](https://forum.kirupa.com/t/as3-php-mysql-database/328374 "2012-05-12T16:23:10Z")

</div>

I need some directing I'm trying to make a secure flash eCommerce website, My first step is connecting a database of to as3, I will have a menu and every item, and every time I add a new item to the database I want a new…

---

## [Tween after anything!?](https://forum.kirupa.com/t/tween-after-anything/328370)

<div class="topic-metadata">

**Author:** [@cagkan](https://forum.kirupa.com/u/cagkan)\
**Replies:** 0\
**Last updated:** [May 11, 2012, 11:31pm UTC](https://forum.kirupa.com/t/tween-after-anything/328370 "2012-05-11T23:31:29Z")

</div>

I want to start a tween without using function. For example; if(x=3) { tween starts } is it possible to start tween without using function?

---

## [Create multiple MCs at position of another MC using helper objects in it](https://forum.kirupa.com/t/create-multiple-mcs-at-position-of-another-mc-using-helper-objects-in-it/328369)

<div class="topic-metadata">

**Author:** [@usbee](https://forum.kirupa.com/u/usbee)\
**Replies:** 0\
**Last updated:** [May 11, 2012, 8:37pm UTC](https://forum.kirupa.com/t/create-multiple-mcs-at-position-of-another-mc-using-helper-objects-in-it/328369 "2012-05-11T20:37:29Z")

</div>

Hi everyone! I'm trying something out for a (very very basic :bucktooth:) vertical scrolling shooter game. On top there's an enemy firing missiles out of four turrets. My plan is to spawn the missiles at the positions of…

---

## [PrintJob won't wait for component to load image](https://forum.kirupa.com/t/printjob-wont-wait-for-component-to-load-image/328368)

<div class="topic-metadata">

**Author:** [@BuG56](https://forum.kirupa.com/u/BuG56)\
**Replies:** 0\
**Last updated:** [May 11, 2012, 6:44pm UTC](https://forum.kirupa.com/t/printjob-wont-wait-for-component-to-load-image/328368 "2012-05-11T18:44:59Z")

</div>

Hello all, I'll start out by saying that I don't have much experience in AS3 as compared to AS2 but I'm slowly but surely making my transition. Right now I'm having a quirky problem that I was wondering if someone could …

---

## [Error 1136... calling URLLoader](https://forum.kirupa.com/t/error-1136-calling-urlloader/328367)

<div class="topic-metadata">

**Author:** [@Dan\_Dizzle](https://forum.kirupa.com/u/Dan_Dizzle)\
**Replies:** 0\
**Last updated:** [May 11, 2012, 5:07pm UTC](https://forum.kirupa.com/t/error-1136-calling-urlloader/328367 "2012-05-11T17:07:39Z")

</div>

Hey guys... I'm getting a strange error and I'm not quite sure why. It's Error 1136: Incorrect number of arguments. Expected 1. I attached my .fla and .xml files. On my machine I have a folder labelled "audio" in the s…

---

## [Looking for a simple text-voice chat script](https://forum.kirupa.com/t/looking-for-a-simple-text-voice-chat-script/328365)

<div class="topic-metadata">

**Author:** [@darroosh](https://forum.kirupa.com/u/darroosh)\
**Replies:** 0\
**Last updated:** [May 11, 2012, 9:51am UTC](https://forum.kirupa.com/t/looking-for-a-simple-text-voice-chat-script/328365 "2012-05-11T09:51:12Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Hi all I'm appreciating any help finding a simple free text-voice chat script. It may be using PHP - flash .. Thanks in advance \[/FONT\]\[/COLOR\]

---

## [CS5 - Interactive Card Catalog (library style)](https://forum.kirupa.com/t/cs5-interactive-card-catalog-library-style/328360)

<div class="topic-metadata">

**Author:** [@vulpine420](https://forum.kirupa.com/u/vulpine420)\
**Replies:** 0\
**Last updated:** [May 10, 2012, 4:21pm UTC](https://forum.kirupa.com/t/cs5-interactive-card-catalog-library-style/328360 "2012-05-10T16:21:14Z")

</div>

Hey there, A friend requested my help on a project and wants me to design a library style card catalog in flash. The extent of my flash knowledge is mainly just making short animations and animated menus for websites. …

---

## [setChildIndex of nested mc](https://forum.kirupa.com/t/setchildindex-of-nested-mc/328359)

<div class="topic-metadata">

**Author:** [@bonassus](https://forum.kirupa.com/u/bonassus)\
**Replies:** 0\
**Last updated:** [May 10, 2012, 4:10pm UTC](https://forum.kirupa.com/t/setchildindex-of-nested-mc/328359 "2012-05-10T16:10:13Z")

</div>

I have an mc on the stage named mcOnStage inside of this mc is another mc named mcInside. I have an mc in the library with a linkage class name of TestMc. I want to instantiate TestMc and then use setChildIndex to put mc…

---

## [AS3 Alert](https://forum.kirupa.com/t/as3-alert/328357)

<div class="topic-metadata">

**Author:** [@pavanshinde](https://forum.kirupa.com/u/pavanshinde)\
**Replies:** 0\
**Last updated:** [May 10, 2012, 1:22pm UTC](https://forum.kirupa.com/t/as3-alert/328357 "2012-05-10T13:22:11Z")

</div>

Can anyone help me with a custom alert class in as3? Same as it was in AS2. If anyone have created this before plz share or help me create one. Thanks

---

## [AS3 Code - HELP - error 1021 & 1023](https://forum.kirupa.com/t/as3-code-help-error-1021-1023/328356)

<div class="topic-metadata">

**Author:** [@iMitchellHD](https://forum.kirupa.com/u/iMitchellHD)\
**Replies:** 0\
**Last updated:** [May 10, 2012, 11:12am UTC](https://forum.kirupa.com/t/as3-code-help-error-1021-1023/328356 "2012-05-10T11:12:29Z")

</div>

code: import flash.events.MouseEvent; facebook.stop(); facebook.addEventListener(MouseEvent.MOUSE\_OVER, facebookOver); facebook.addEventListener(MouseEvent.MOUSE\_OUT, facebookOut); function facebook(e:MouseEvent):v…

---

## [System.exit not working](https://forum.kirupa.com/t/system-exit-not-working/328355)

<div class="topic-metadata">

**Author:** [@DeadlyDude](https://forum.kirupa.com/u/DeadlyDude)\
**Replies:** 0\
**Last updated:** [May 10, 2012, 10:19am UTC](https://forum.kirupa.com/t/system-exit-not-working/328355 "2012-05-10T10:19:46Z")

</div>

I am trying to use System.exit(0); But Its giving error "System.exit is only available in the standalone Flash Player";

---

## [Load a URL on button press](https://forum.kirupa.com/t/load-a-url-on-button-press/328354)

<div class="topic-metadata">

**Author:** [@iMitchellHD](https://forum.kirupa.com/u/iMitchellHD)\
**Replies:** 0\
**Last updated:** [May 10, 2012, 9:29am UTC](https://forum.kirupa.com/t/load-a-url-on-button-press/328354 "2012-05-10T09:29:50Z")

</div>

Hi again, Im new to coding in Flash and have some buttons (they're in a MC) i want them to take you to a specified URL. ( if its possible i would like the window to open within the Flash File itself, if not it opening…

---

## [Make Objects Wobble on Mouse Over?](https://forum.kirupa.com/t/make-objects-wobble-on-mouse-over/328353)

<div class="topic-metadata">

**Author:** [@iMitchellHD](https://forum.kirupa.com/u/iMitchellHD)\
**Replies:** 0\
**Last updated:** [May 10, 2012, 9:02am UTC](https://forum.kirupa.com/t/make-objects-wobble-on-mouse-over/328353 "2012-05-10T09:02:20Z")

</div>

\*\*Hi, I've got some icons in my Project and i want them to start to wobble\*\* (similar to on the iPhone home screen when you are moving the icons around) on mouse over. (ive seen this on other sites before so i know this…

---

## [MovieClip to JPEG](https://forum.kirupa.com/t/movieclip-to-jpeg/328352)

<div class="topic-metadata">

**Author:** [@CodeKid23](https://forum.kirupa.com/u/CodeKid23)\
**Replies:** 0\
**Last updated:** [May 10, 2012, 7:31am UTC](https://forum.kirupa.com/t/movieclip-to-jpeg/328352 "2012-05-10T07:31:53Z")

</div>

Hi, I've been searching for a better way to convert movie clip to jpeg. I've tried this tutorial http://www.sephiroth.it/tutorials/flashPHP/print\_screen/index.php and it works on smaller image. But my problem is my mo…

---

## [The speedy slider problem](https://forum.kirupa.com/t/the-speedy-slider-problem/328350)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [May 10, 2012, 2:04am UTC](https://forum.kirupa.com/t/the-speedy-slider-problem/328350 "2012-05-10T02:04:16Z")

</div>

I have some sliders set up so that the are limited in their x motion by either the x value on the slider track or by the furthest x they could go relative to the players current cash(as long as its not greater than the f…

---

## [Switching levels on my game](https://forum.kirupa.com/t/switching-levels-on-my-game/328348)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [May 10, 2012, 1:24am UTC](https://forum.kirupa.com/t/switching-levels-on-my-game/328348 "2012-05-10T01:24:21Z")

</div>

I have a simple 2 level game I am creating for AS2 class. I need to know how to switch to the second level. I want to do it once my score reaches 300. I imagine I will just put the second level in the next frame, but I n…

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

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