# programming

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

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

**Page:** 593

---

## [Locating AS3 resources in a project](https://forum.kirupa.com/t/locating-as3-resources-in-a-project/302849)

<div class="topic-metadata">

**Author:** [@bhjodokast](https://forum.kirupa.com/u/bhjodokast)\
**Replies:** 0\
**Last updated:** [January 8, 2010, 4:25pm UTC](https://forum.kirupa.com/t/locating-as3-resources-in-a-project/302849 "2010-01-08T16:25:48Z")

</div>

Using Flash CS3 and AS3: Where are the resources located? For instance I have checked out a few samples online and the Main.FLA is empty (with maybe a few movie clips). There are a few .AS files along with the Main.…

---

## [ActionScript 3 to SVG](https://forum.kirupa.com/t/actionscript-3-to-svg/302846)

<div class="topic-metadata">

**Author:** [@trifa](https://forum.kirupa.com/u/trifa)\
**Replies:** 0\
**Last updated:** [January 8, 2010, 2:25pm UTC](https://forum.kirupa.com/t/actionscript-3-to-svg/302846 "2010-01-08T14:25:51Z")

</div>

Hello All, My application is Java for server-side and pure ActionScript3 for client side (no flash, no flex framework) and I have to export the contents of a Sprite to SVG. I tried search for something like that in Int…

---

## [Retrieving Local Files With Flash Player 9](https://forum.kirupa.com/t/retrieving-local-files-with-flash-player-9/302843)

<div class="topic-metadata">

**Author:** [@Spanjj](https://forum.kirupa.com/u/Spanjj)\
**Replies:** 0\
**Last updated:** [January 8, 2010, 1:16pm UTC](https://forum.kirupa.com/t/retrieving-local-files-with-flash-player-9/302843 "2010-01-08T13:16:22Z")

</div>

Hi there, I've recently encountered a problem whilst coding when trying to upload local files to flash. With Flash Player 10 you can use the following code to load local files into flash. FileReference.load(); This…

---

## [Need some help on some code](https://forum.kirupa.com/t/need-some-help-on-some-code/302842)

<div class="topic-metadata">

**Author:** [@JuTi](https://forum.kirupa.com/u/JuTi)\
**Replies:** 0\
**Last updated:** [January 8, 2010, 1:08pm UTC](https://forum.kirupa.com/t/need-some-help-on-some-code/302842 "2010-01-08T13:08:13Z")

</div>

Alright, we have a symbol, called 'auto' here's his code: onClipEvent (load) { xto = \_x+1; yto = \_y+1; dir = 1; dirto = 0; rotspeed = 30; speed = 20; //dis = Math.sqrt(((xto-\_x)\*(xto-\_x))+(…

---

## [Video container and Sprite(button)](https://forum.kirupa.com/t/video-container-and-sprite-button/302841)

<div class="topic-metadata">

**Author:** [@xYc](https://forum.kirupa.com/u/xYc)\
**Replies:** 0\
**Last updated:** [January 8, 2010, 12:43pm UTC](https://forum.kirupa.com/t/video-container-and-sprite-button/302841 "2010-01-08T12:43:35Z")

</div>

Hello, Am I missing something or it is just flash? \[smile\] Well I have a PlayerVideo which extends Sprite and have 3 children: 1. flash.media.Video 2. flash.display.Sprite as PlayPause button 3. flash.display.Sprite …

---

## [Why so untyped?](https://forum.kirupa.com/t/why-so-untyped/302839)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [January 8, 2010, 10:43am UTC](https://forum.kirupa.com/t/why-so-untyped/302839 "2010-01-08T10:43:28Z")

</div>

Looks like I'm responsible for most of the population of the server side threads... :shifty: Sorry... I personally \*\*hate \*\*being untyped. I feel so dirty... But, from what I here, PHP \*\*is \*\*able to use typed values a…

---

## [Getting notified of "mailer daemon" errors](https://forum.kirupa.com/t/getting-notified-of-mailer-daemon-errors/302837)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [January 8, 2010, 10:21am UTC](https://forum.kirupa.com/t/getting-notified-of-mailer-daemon-errors/302837 "2010-01-08T10:21:08Z")

</div>

On a site I'm working on, users are allowed to create their own guestlist with name, email address, and a few more properties. Is there any way to let the user know if an email they attempted to send was unable to send,…

---

## [Problems with gotoAndStop and Mozilla](https://forum.kirupa.com/t/problems-with-gotoandstop-and-mozilla/302836)

<div class="topic-metadata">

**Author:** [@rajesh\_flash](https://forum.kirupa.com/u/rajesh_flash)\
**Replies:** 0\
**Last updated:** [January 8, 2010, 10:11am UTC](https://forum.kirupa.com/t/problems-with-gotoandstop-and-mozilla/302836 "2010-01-08T10:11:02Z")

</div>

Hello Friends, I am working in Flash CS3. I am having problems with gotoAndStop and mozilla. I am loading an external swf ( which is Flash MX 2004 ) swf. In this swf, there are 200 keys frames. Here, i am using a c…

---

## [Writing XML](https://forum.kirupa.com/t/writing-xml/302834)

<div class="topic-metadata">

**Author:** [@colazo](https://forum.kirupa.com/u/colazo)\
**Replies:** 0\
**Last updated:** [January 8, 2010, 9:51am UTC](https://forum.kirupa.com/t/writing-xml/302834 "2010-01-08T09:51:24Z")

</div>

hello. Im wondering if I can add to the following example: var xml:XML = \<foo\> \<bar\>text1\</bar\> \<bar\>text2\</bar\> \</foo\>; another \<bar\>text1\</bar\> tag. How do I do it? And how…

---

## [About general approaches and outlines](https://forum.kirupa.com/t/about-general-approaches-and-outlines/302833)

<div class="topic-metadata">

**Author:** [@Caravaggio](https://forum.kirupa.com/u/Caravaggio)\
**Replies:** 0\
**Last updated:** [January 8, 2010, 8:40am UTC](https://forum.kirupa.com/t/about-general-approaches-and-outlines/302833 "2010-01-08T08:40:11Z")

</div>

(warning: hobbyist coder) Maybe it's kind of hard to search for but it seems the basic outline of game code isn't something that's asked about a lot. Understandably people are more concerned with niggling little probl…

---

## [Make all textfields on stage selectable through actionscript](https://forum.kirupa.com/t/make-all-textfields-on-stage-selectable-through-actionscript/302830)

<div class="topic-metadata">

**Author:** [@coolpills](https://forum.kirupa.com/u/coolpills)\
**Replies:** 0\
**Last updated:** [January 8, 2010, 6:20am UTC](https://forum.kirupa.com/t/make-all-textfields-on-stage-selectable-through-actionscript/302830 "2010-01-08T06:20:34Z")

</div>

I have to make all the textfields on the stage selectable through actionscript. Currently its a tedious task since there are more than 1000 files for which the textfields are to be made selectable:cry3:. All of these …

---

## [Stuck in a combobox!](https://forum.kirupa.com/t/stuck-in-a-combobox/302825)

<div class="topic-metadata">

**Author:** [@newtome](https://forum.kirupa.com/u/newtome)\
**Replies:** 0\
**Last updated:** [January 8, 2010, 3:31am UTC](https://forum.kirupa.com/t/stuck-in-a-combobox/302825 "2010-01-08T03:31:12Z")

</div>

Upon entering the screen, I set the focus to the first field, a combobox, and after making a selection I want to tab to the next field, a textfield, but I can't tab out of the combobox. I can use the mouse to click on th…

---

## [Working with the Eclipse IDE](https://forum.kirupa.com/t/working-with-the-eclipse-ide/302824)

<div class="topic-metadata">

**Author:** [@lorren\_biffin](https://forum.kirupa.com/u/lorren_biffin)\
**Replies:** 0\
**Last updated:** [January 8, 2010, 2:20am UTC](https://forum.kirupa.com/t/working-with-the-eclipse-ide/302824 "2010-01-08T02:20:36Z")

</div>

I've been working with the Eclipse IDE for a short time and I'm really enjoying it.. however, there are a few quirks I want to try to solve.. One of them being, when I click on a file from outside an open workspace / w…

---

## [Easy question about data parsing](https://forum.kirupa.com/t/easy-question-about-data-parsing/302822)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [January 8, 2010, 1:49am UTC](https://forum.kirupa.com/t/easy-question-about-data-parsing/302822 "2010-01-08T01:49:50Z")

</div>

To lead this off, I'll say that I am a PhP/progamming-in-general noob. I have a PhP script that takes XML data sent from a .swf movie and writes it to a .csv file. One of the pieces of data is a string of numbers that …

---

## [Impossible to return a value](https://forum.kirupa.com/t/impossible-to-return-a-value/302820)

<div class="topic-metadata">

**Author:** [@Lays](https://forum.kirupa.com/u/Lays)\
**Replies:** 0\
**Last updated:** [January 8, 2010, 12:27am UTC](https://forum.kirupa.com/t/impossible-to-return-a-value/302820 "2010-01-08T00:27:04Z")

</div>

Hi, I have a function that loads my map from an XML File... Il seems that I can't return any value from the function when I have a XML object open, if i trace() the array directly from the function, it work nicely... Her…

---

## [Login system - problem!](https://forum.kirupa.com/t/login-system-problem/302818)

<div class="topic-metadata">

**Author:** [@skabszo](https://forum.kirupa.com/u/skabszo)\
**Replies:** 0\
**Last updated:** [January 7, 2010, 11:06pm UTC](https://forum.kirupa.com/t/login-system-problem/302818 "2010-01-07T23:06:00Z")

</div>

Hi i've tried to prepare a windowed app which is responsible for login - im using php and mysql base ( 1 table:users; table users is simple: $id,$username,$password). This is flex code of app: \<?xml version="1.0" enco…

---

## [Challenge: Can you composite a Class with a stage MovieClip](https://forum.kirupa.com/t/challenge-can-you-composite-a-class-with-a-stage-movieclip/302816)

<div class="topic-metadata">

**Author:** [@ruttencutter](https://forum.kirupa.com/u/ruttencutter)\
**Replies:** 0\
**Last updated:** [January 7, 2010, 10:39pm UTC](https://forum.kirupa.com/t/challenge-can-you-composite-a-class-with-a-stage-movieclip/302816 "2010-01-07T22:39:13Z")

</div>

Assume for a minute that I know there are several ways to get around what I'm about to ask you to do, and there is a method to my madness. Let's imagine that I have a movieclip on my stage with an instance name of "Dog…

---

## [Arrays best practise](https://forum.kirupa.com/t/arrays-best-practise/302813)

<div class="topic-metadata">

**Author:** [@Ricky55](https://forum.kirupa.com/u/Ricky55)\
**Replies:** 0\
**Last updated:** [January 7, 2010, 9:39pm UTC](https://forum.kirupa.com/t/arrays-best-practise/302813 "2010-01-07T21:39:24Z")

</div>

Hi I've been using the code listed below for a few projects now. I got the code from the help of this forum but I remember at the time the guy who helped me said it was more of a hack. Because its worked for me I've…

---

## [Importing Adobe Illustrator elements](https://forum.kirupa.com/t/importing-adobe-illustrator-elements/302809)

<div class="topic-metadata">

**Author:** [@Navarone](https://forum.kirupa.com/u/Navarone)\
**Replies:** 0\
**Last updated:** [January 7, 2010, 8:17pm UTC](https://forum.kirupa.com/t/importing-adobe-illustrator-elements/302809 "2010-01-07T20:17:05Z")

</div>

I have been given some Adobe Illustrator files for a project I am working on. Not being familiar with AI, I assume you can copy and paste directly from AI into flash? Are there any do's and dont's I should be aware of?

---

## [Works just in constructor function](https://forum.kirupa.com/t/works-just-in-constructor-function/302808)

<div class="topic-metadata">

**Author:** [@kustrle](https://forum.kirupa.com/u/kustrle)\
**Replies:** 0\
**Last updated:** [January 7, 2010, 7:44pm UTC](https://forum.kirupa.com/t/works-just-in-constructor-function/302808 "2010-01-07T19:44:34Z")

</div>

Okay, lets get to my problem. If I pass variable(s) like this in document class action script file(I'm not even sure if I can pass more than one variable): ballPointRight = new BallPointRight(ball, xDir, padScreen) ; …

---

## [Need help with If Else Statement](https://forum.kirupa.com/t/need-help-with-if-else-statement/302807)

<div class="topic-metadata">

**Author:** [@feeco](https://forum.kirupa.com/u/feeco)\
**Replies:** 0\
**Last updated:** [January 7, 2010, 7:05pm UTC](https://forum.kirupa.com/t/need-help-with-if-else-statement/302807 "2010-01-07T19:05:28Z")

</div>

Hi, I need some help finishing up my flash project. I have been trying for the last 2 days to write and if else statement that will do the following: if they click on the \_root.m\<\>1 it will go to adobe.com if they cli…

---

## [A question for developers](https://forum.kirupa.com/t/a-question-for-developers/302806)

<div class="topic-metadata">

**Author:** [@sahara2010](https://forum.kirupa.com/u/sahara2010)\
**Replies:** 0\
**Last updated:** [January 7, 2010, 6:50pm UTC](https://forum.kirupa.com/t/a-question-for-developers/302806 "2010-01-07T18:50:11Z")

</div>

Hi all, do you know that how to use Hindi fonts in our website without weft AND also how can we use Php with layer technologies ? Your help would be appreciated. Thanks! web hosting india

---

## [Loading an SWF via HTML Button (AJAX)](https://forum.kirupa.com/t/loading-an-swf-via-html-button-ajax/302805)

<div class="topic-metadata">

**Author:** [@zigsta](https://forum.kirupa.com/u/zigsta)\
**Replies:** 0\
**Last updated:** [January 7, 2010, 6:37pm UTC](https://forum.kirupa.com/t/loading-an-swf-via-html-button-ajax/302805 "2010-01-07T18:37:00Z")

</div>

Hi there, I have a html site with three div tags, I want to be able to load an SWF into one of the div's via a html button. I have looked into using AJAX and have this solution: \[COLOR=Blue\] \<!DOCTYPE html PUBLIC …

---

## [\_Root](https://forum.kirupa.com/t/-root/302803)

<div class="topic-metadata">

**Author:** [@Brandonhyl](https://forum.kirupa.com/u/Brandonhyl)\
**Replies:** 0\
**Last updated:** [January 7, 2010, 6:05pm UTC](https://forum.kirupa.com/t/-root/302803 "2010-01-07T18:05:39Z")

</div>

Using Action Script 2.0 CS4. I have a flash crossword.swf that I am loading into my main movie which I will call "Home.swf". It loads it just fine but the crossword is accessing Root to populate the data in the crosswo…

---

## [3D Rotation?](https://forum.kirupa.com/t/3d-rotation/302802)

<div class="topic-metadata">

**Author:** [@zhaniko93](https://forum.kirupa.com/u/zhaniko93)\
**Replies:** 0\
**Last updated:** [January 7, 2010, 6:04pm UTC](https://forum.kirupa.com/t/3d-rotation/302802 "2010-01-07T18:04:26Z")

</div>

I have a movieclip and when I do 3D rotation from Transform panel, It rotates perfect, center is in the middle of image, and when I apply mc.rotationY, rotation center is in left of the image, aren't 3D rotation from Tra…

---

## [Creating a Flash map with transparent png's](https://forum.kirupa.com/t/creating-a-flash-map-with-transparent-pngs/302801)

<div class="topic-metadata">

**Author:** [@NickW](https://forum.kirupa.com/u/NickW)\
**Replies:** 0\
**Last updated:** [January 7, 2010, 5:59pm UTC](https://forum.kirupa.com/t/creating-a-flash-map-with-transparent-pngs/302801 "2010-01-07T17:59:48Z")

</div>

Hi everyone, I'm trying to create a rollover flash map of England. In the past I have simply got a map image, traced over each section and saved as a button with a rollover effect, job done. However this time I have th…

---

## [Timers acting different with OS](https://forum.kirupa.com/t/timers-acting-different-with-os/302796)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [January 7, 2010, 5:16pm UTC](https://forum.kirupa.com/t/timers-acting-different-with-os/302796 "2010-01-07T17:16:54Z")

</div>

Hello, I developed a flash/as3 animation recently which used a couple of timers. I devved on a mac and then transferred the fla to a pc. When I output the swf from the pc it acted different. The timers were much faste…

---

## [Load images only while nothing else need to be loaded?](https://forum.kirupa.com/t/load-images-only-while-nothing-else-need-to-be-loaded/302794)

<div class="topic-metadata">

**Author:** [@toffe](https://forum.kirupa.com/u/toffe)\
**Replies:** 0\
**Last updated:** [January 7, 2010, 5:10pm UTC](https://forum.kirupa.com/t/load-images-only-while-nothing-else-need-to-be-loaded/302794 "2010-01-07T17:10:34Z")

</div>

I want to load a bunch of images only when nothing else need to be loaded. So basically I have to check if something is currently loading or not. If something is currently loading I have to stop the image loading. Once a…

---

## [Drop down SQL Not Displaying](https://forum.kirupa.com/t/drop-down-sql-not-displaying/302792)

<div class="topic-metadata">

**Author:** [@wispas](https://forum.kirupa.com/u/wispas)\
**Replies:** 0\
**Last updated:** [January 7, 2010, 4:47pm UTC](https://forum.kirupa.com/t/drop-down-sql-not-displaying/302792 "2010-01-07T16:47:40Z")

</div>

I currently have a drop down with hotel names loaded. When you select a hotel name the description is suppose to show in the div container but does not… im not sure what is wrong with it. Any ideas? \[COLOR=#000000\]\[CO…

---

## [Scrolling a movie clip, using a up and down button](https://forum.kirupa.com/t/scrolling-a-movie-clip-using-a-up-and-down-button/302791)

<div class="topic-metadata">

**Author:** [@Brian1000](https://forum.kirupa.com/u/Brian1000)\
**Replies:** 0\
**Last updated:** [January 7, 2010, 4:37pm UTC](https://forum.kirupa.com/t/scrolling-a-movie-clip-using-a-up-and-down-button/302791 "2010-01-07T16:37:51Z")

</div>

\[FONT=Calibri\] Can anyone tell me how to scroll a movie clip, using an up and down button with an easing effect to it? \[/FONT\] \[FONT=Calibri\] I also want to include script to the movie clip, that the movie clip wil…

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

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