# programming

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

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

**Page:** 1620

---

## [Flex SDK - Compiling .as or .mxml?](https://forum.kirupa.com/t/flex-sdk-compiling-as-or-mxml/233095)

<div class="topic-metadata">

**Author:** [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)\
**Replies:** 0\
**Last updated:** [July 20, 2007, 2:15am UTC](https://forum.kirupa.com/t/flex-sdk-compiling-as-or-mxml/233095 "2007-07-20T02:15:21Z")

</div>

I just installed the latest Flex SDK, and have got that working great...added the C:\\Flex\\bin to my system path etc, so now i can compile as and mxml files from the command line... I was wondering though - I prefer to …

---

## [Help! external swfs load locally but not on server](https://forum.kirupa.com/t/help-external-swfs-load-locally-but-not-on-server/233094)

<div class="topic-metadata">

**Author:** [@L\_Cid](https://forum.kirupa.com/u/L_Cid)\
**Replies:** 0\
**Last updated:** [July 20, 2007, 1:45am UTC](https://forum.kirupa.com/t/help-external-swfs-load-locally-but-not-on-server/233094 "2007-07-20T01:45:50Z")

</div>

i have a swf embedded in an html file. in the swf, another swf loads dynamically into a container movie clip, then there are buttons that when clicked tell it to unload that movie and load another movie dynamically. thes…

---

## [AS 3+AS 2 in the same file](https://forum.kirupa.com/t/as-3-as-2-in-the-same-file/233091)

<div class="topic-metadata">

**Author:** [@OMG](https://forum.kirupa.com/u/OMG)\
**Replies:** 0\
**Last updated:** [July 20, 2007, 1:04am UTC](https://forum.kirupa.com/t/as-3-as-2-in-the-same-file/233091 "2007-07-20T01:04:20Z")

</div>

first of all, I don't have flash 9(I think it's CS3, right?) yet, so my questions might be a little bit dumb: Is AS 3 fully OOP? If it is, does this mean that in an AS3 flash file, I can't use an AS 2 style of code? Fo…

---

## [Calling functions of a loaded swf?](https://forum.kirupa.com/t/calling-functions-of-a-loaded-swf/233089)

<div class="topic-metadata">

**Author:** [@kt\_sc](https://forum.kirupa.com/u/kt_sc)\
**Replies:** 0\
**Last updated:** [July 20, 2007, 12:27am UTC](https://forum.kirupa.com/t/calling-functions-of-a-loaded-swf/233089 "2007-07-20T00:27:55Z")

</div>

I have placed a movie clip on the stage, with the variable name mcThumbnail. The following code in entered in the first frame (the only frame of the timeline..). mcThumbnail.loadMovie("ad\_scrolling.swf"); mcThumbnail.…

---

## [Trouble in embedding flash in HTML:](https://forum.kirupa.com/t/trouble-in-embedding-flash-in-html/233086)

<div class="topic-metadata">

**Author:** [@naveeng](https://forum.kirupa.com/u/naveeng)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 11:22pm UTC](https://forum.kirupa.com/t/trouble-in-embedding-flash-in-html/233086 "2007-07-19T23:22:46Z")

</div>

\[FONT=Calibri\] \[/FONT\] \[FONT=Calibri\]Hello every one, I started practicing Action Script and am stuck for the first time itself. I created an .as file where I defined my image viewer class and using that I creat…

---

## [AS3 tween eqiv...?](https://forum.kirupa.com/t/as3-tween-eqiv/233076)

<div class="topic-metadata">

**Author:** [@shellbryson](https://forum.kirupa.com/u/shellbryson)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 9:41pm UTC](https://forum.kirupa.com/t/as3-tween-eqiv/233076 "2007-07-19T21:41:01Z")

</div>

I understand in AS2 how to use the tween classes to get simple motion... but I cannot figure out how to do any of this in AS3. Much googling as done nothing to ease (haha) my current stress level. Does anyone have the ba…

---

## [MVC thread: How many of you separate your logic from your markup?](https://forum.kirupa.com/t/mvc-thread-how-many-of-you-separate-your-logic-from-your-markup/233069)

<div class="topic-metadata">

**Author:** [@foodpk](https://forum.kirupa.com/u/foodpk)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 8:40pm UTC](https://forum.kirupa.com/t/mvc-thread-how-many-of-you-separate-your-logic-from-your-markup/233069 "2007-07-19T20:40:08Z")

</div>

Lately I've been discovering the MVC (Model-View-Controller) pattern of doing applications. In a nutshell, it states that you should separate the code that deals with the database, the code that does the logic, flow cont…

---

## [XML Loaded Image Artifacts/Distortion](https://forum.kirupa.com/t/xml-loaded-image-artifacts-distortion/233068)

<div class="topic-metadata">

**Author:** [@function4](https://forum.kirupa.com/u/function4)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 8:34pm UTC](https://forum.kirupa.com/t/xml-loaded-image-artifacts-distortion/233068 "2007-07-19T20:34:54Z")

</div>

Hi, I am loading images via XML into Flash. They are not being resized. JPEG quality for swf is at 100. What's the deal with the distortion? After searching around on the forums, I found info for \_highquality, and quali…

---

## [Detecting mouse interaction on Stage?](https://forum.kirupa.com/t/detecting-mouse-interaction-on-stage/233067)

<div class="topic-metadata">

**Author:** [@rasterboy](https://forum.kirupa.com/u/rasterboy)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 8:22pm UTC](https://forum.kirupa.com/t/detecting-mouse-interaction-on-stage/233067 "2007-07-19T20:22:43Z")

</div>

hi, i've been having difficulty detecting a click on the Stage. i'd like to create something similar to www.bbdo.com, when the user clicks on anything that's not a movieclip it zooms out. i've been playing around with …

---

## [Car AI help](https://forum.kirupa.com/t/car-ai-help/233064)

<div class="topic-metadata">

**Author:** [@DrRobot](https://forum.kirupa.com/u/DrRobot)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 8:16pm UTC](https://forum.kirupa.com/t/car-ai-help/233064 "2007-07-19T20:16:31Z")

</div>

Ok, so i am working on a car game, and i have soem AI here, makes the car go to the waypoints, but, when the car gets to the third waypoint. it starts to twist and turn, then it straightens out. the script: onClipEve…

---

## [Dynamic Free Tranform text](https://forum.kirupa.com/t/dynamic-free-tranform-text/233063)

<div class="topic-metadata">

**Author:** [@beatboxteacher](https://forum.kirupa.com/u/beatboxteacher)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 8:06pm UTC](https://forum.kirupa.com/t/dynamic-free-tranform-text/233063 "2007-07-19T20:06:06Z")

</div>

I'm trying to actionscript a textfield to condense text to fit a certain width. If the text goes beyond the bounds of the text field then condense. Looked into \_width \_xscale my\_mc.transform.matrix = m; …

---

## [Actionscript problem with "Kirupa Photo Gallery"](https://forum.kirupa.com/t/actionscript-problem-with-kirupa-photo-gallery/233062)

<div class="topic-metadata">

**Author:** [@Citizen](https://forum.kirupa.com/u/Citizen)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 8:05pm UTC](https://forum.kirupa.com/t/actionscript-problem-with-kirupa-photo-gallery/233062 "2007-07-19T20:05:36Z")

</div>

As per this guide: http://www.kirupa.com/developer/mx/photogallery.htm I implimented it, It didn't load the images at all at first. Then, I found the problem to be that this clip is not located at root level, so I …

---

## [Moving multiple items using onEnterFrame](https://forum.kirupa.com/t/moving-multiple-items-using-onenterframe/233059)

<div class="topic-metadata">

**Author:** [@steve\_b](https://forum.kirupa.com/u/steve_b)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 7:39pm UTC](https://forum.kirupa.com/t/moving-multiple-items-using-onenterframe/233059 "2007-07-19T19:39:31Z")

</div>

I am trying create to move objects (boxes, named box\_1, box\_2 etc) to positions on the stage (xPos\_1, xPos\_2 etc) using onEnterFrames. I can make all the boxes move individually, but I cant get them to move together. I a…

---

## [Actionscript Tween not working when within TweenEvent handler](https://forum.kirupa.com/t/actionscript-tween-not-working-when-within-tweenevent-handler/233058)

<div class="topic-metadata">

**Author:** [@icekube12jr](https://forum.kirupa.com/u/icekube12jr)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 7:29pm UTC](https://forum.kirupa.com/t/actionscript-tween-not-working-when-within-tweenevent-handler/233058 "2007-07-19T19:29:08Z")

</div>

Hi, I have an interesting problem here that I can't figure out. Here's the problem: This code works: var xMoveTween:Tween = new Tween(this, "x", Strong.easeOut, this.x, stage.mouseX, 3, true); var yMoveTween:Tween …

---

## [Passing a Variable from JavaScript to SWF](https://forum.kirupa.com/t/passing-a-variable-from-javascript-to-swf/233057)

<div class="topic-metadata">

**Author:** [@DataVZ](https://forum.kirupa.com/u/DataVZ)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 7:27pm UTC](https://forum.kirupa.com/t/passing-a-variable-from-javascript-to-swf/233057 "2007-07-19T19:27:04Z")

</div>

Hi all! I've been banging my head against the wall for a while on this one, so I thought I'd see if there's someone out here who can tell me what I'm doing wrong. I've got a series of pages that will include audio na…

---

## [Integrating JavaScript into Visual Studio Project](https://forum.kirupa.com/t/integrating-javascript-into-visual-studio-project/233056)

<div class="topic-metadata">

**Author:** [@Al6200](https://forum.kirupa.com/u/Al6200)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 7:26pm UTC](https://forum.kirupa.com/t/integrating-javascript-into-visual-studio-project/233056 "2007-07-19T19:26:01Z")

</div>

Hello, I'm currently working a lot with server-side scripting via ASP.NET. How exactly would I go about putting a JavaScript code into my web site so that it is embedded in the final HTML produced by the sever. Tha…

---

## [Flash IDE and Library Classes](https://forum.kirupa.com/t/flash-ide-and-library-classes/233053)

<div class="topic-metadata">

**Author:** [@daniel619](https://forum.kirupa.com/u/daniel619)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 6:50pm UTC](https://forum.kirupa.com/t/flash-ide-and-library-classes/233053 "2007-07-19T18:50:33Z")

</div>

Hi everyone! I'm new to the Flash CS3 IDE/AS3. My question is: why can't I make a class (for example the Ticket class) and place an instance of it on the Flash IDE and use Ticket class methods??? A more General q…

---

## [Select Box and Ajax Question](https://forum.kirupa.com/t/select-box-and-ajax-question/233052)

<div class="topic-metadata">

**Author:** [@rschoenbach](https://forum.kirupa.com/u/rschoenbach)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 6:50pm UTC](https://forum.kirupa.com/t/select-box-and-ajax-question/233052 "2007-07-19T18:50:08Z")

</div>

\<?php $pikes-\>query("SELECT award\_id, award\_name FROM award\_desc"); if ($pikes-\>get\_num\_rows() \>= 1) { echo "\<select name=\\"award\_id\\" onChange=sndReqAward(this.selected)\>"; while ($row = $pi…

---

## [Make a button remain in the onRollOver state](https://forum.kirupa.com/t/make-a-button-remain-in-the-onrollover-state/233050)

<div class="topic-metadata">

**Author:** [@4lex](https://forum.kirupa.com/u/4lex)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 6:30pm UTC](https://forum.kirupa.com/t/make-a-button-remain-in-the-onrollover-state/233050 "2007-07-19T18:30:58Z")

</div>

Hello guys. I followed this tutorial on Advanced Rollovers and it's great! However, I'd like to make the buttons remain in the onRollOver state without clicking them (user rolls over the button then rolls out and it be…

---

## [CSS for a DataGrid](https://forum.kirupa.com/t/css-for-a-datagrid/233044)

<div class="topic-metadata">

**Author:** [@pkarpenko](https://forum.kirupa.com/u/pkarpenko)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 5:43pm UTC](https://forum.kirupa.com/t/css-for-a-datagrid/233044 "2007-07-19T17:43:46Z")

</div>

I'm attempting to control text color of datagrid cells using a CSS file and I think I just hit a dead end. I've extended the CellRenderer with dgGrid.setStyle("cellRenderer", CustomRenderer); Within the CustomRend…

---

## [\[FMX2004\] zoom coordinate ruler](https://forum.kirupa.com/t/fmx2004-zoom-coordinate-ruler/233043)

<div class="topic-metadata">

**Author:** [@shuga](https://forum.kirupa.com/u/shuga)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 5:39pm UTC](https://forum.kirupa.com/t/fmx2004-zoom-coordinate-ruler/233043 "2007-07-19T17:39:17Z")

</div>

so the title isn't great but it's the best i could think of anyway, what i'm trying to create is a map system with pan and zoom functions similar to google maps. that part is easy. what i'm having trouble with is figur…

---

## [Simple Flash button / frameset question](https://forum.kirupa.com/t/simple-flash-button-frameset-question/233041)

<div class="topic-metadata">

**Author:** [@aweller](https://forum.kirupa.com/u/aweller)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 5:19pm UTC](https://forum.kirupa.com/t/simple-flash-button-frameset-question/233041 "2007-07-19T17:19:05Z")

</div>

Hello, I’ve tried several tutorials on this site as well as other sites, and I can’t seem to get my flash button to open a page in another frame! Here is the frameset HTML (the “rightframe” is just wallpaper): \<frame…

---

## [Need a little clarification on the Embed fix](https://forum.kirupa.com/t/need-a-little-clarification-on-the-embed-fix/233038)

<div class="topic-metadata">

**Author:** [@worldly1](https://forum.kirupa.com/u/worldly1)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 4:28pm UTC](https://forum.kirupa.com/t/need-a-little-clarification-on-the-embed-fix/233038 "2007-07-19T16:28:28Z")

</div>

Hello all, I found the page on "fixing the flash embed issue" and am going to implement it in my already built site. My site has many pages all with a common flash navigation menu at the top and some with an additional F…

---

## [Flash & Access](https://forum.kirupa.com/t/flash-access/233037)

<div class="topic-metadata">

**Author:** [@MaoLink](https://forum.kirupa.com/u/MaoLink)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 4:26pm UTC](https://forum.kirupa.com/t/flash-access/233037 "2007-07-19T16:26:22Z")

</div>

Someone can help me with this, I did a submit form in flash, I have the asp file and the access database, but when I press the submit buton doesn't work, everything is the site already, I use getURL processForm.asp, 0, p…

---

## [Load/unload a movieclip (not a SWF)](https://forum.kirupa.com/t/load-unload-a-movieclip-not-a-swf/233036)

<div class="topic-metadata">

**Author:** [@riot](https://forum.kirupa.com/u/riot)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 4:23pm UTC](https://forum.kirupa.com/t/load-unload-a-movieclip-not-a-swf/233036 "2007-07-19T16:23:09Z")

</div>

Hi, people. Sorry about my english \[wink\] Well, a "simple" question: how to load/unload MC's on my MC container? I have a menu with a lot of buttons and each one loading on the stage (inside a MC container) a movieclip…

---

## [Simple problem with Packages and Classes](https://forum.kirupa.com/t/simple-problem-with-packages-and-classes/233035)

<div class="topic-metadata">

**Author:** [@peaceouside](https://forum.kirupa.com/u/peaceouside)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 4:22pm UTC](https://forum.kirupa.com/t/simple-problem-with-packages-and-classes/233035 "2007-07-19T16:22:48Z")

</div>

I've been doing a lot of development with Flash 9 and AS3 lately. I like it. I'm having one problem (very basic and frustrating) that I can't seem to find a clear answer to. Can anyone explain to me, or give me a lin…

---

## [As 3 dictionary?](https://forum.kirupa.com/t/as-3-dictionary/233034)

<div class="topic-metadata">

**Author:** [@koolkrasher](https://forum.kirupa.com/u/koolkrasher)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 4:16pm UTC](https://forum.kirupa.com/t/as-3-dictionary/233034 "2007-07-19T16:16:36Z")

</div>

any one know if there is an As3 dictionary? Something like this? http://www.adobe.com/support/flash/action\_scripts/actionscript\_dictionary/ or something simiar

---

## [Has anyone used click tracking for multiple getURLs](https://forum.kirupa.com/t/has-anyone-used-click-tracking-for-multiple-geturls/233033)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 4:06pm UTC](https://forum.kirupa.com/t/has-anyone-used-click-tracking-for-multiple-geturls/233033 "2007-07-19T16:06:20Z")

</div>

I found a reference to using Google Analytics http://labnol.blogspot.com/2005/11/track-visitor-clicks-on-banners-files.html on(release) { getURL("javascript:urchinTracker('/bannerads/adname/bannername');"); getURL(http…

---

## [Really stuck with flashvars](https://forum.kirupa.com/t/really-stuck-with-flashvars/233031)

<div class="topic-metadata">

**Author:** [@Nutty](https://forum.kirupa.com/u/Nutty)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 3:34pm UTC](https://forum.kirupa.com/t/really-stuck-with-flashvars/233031 "2007-07-19T15:34:18Z")

</div>

I know it's something really stupid, because i've done this before...and it worked. this is what i use to show the swf file: \[SIZE=1\] \<script language="javascript"\> if (AC\_FL\_RunContent == 0) { alert…

---

## [Tree control in AS3.0?](https://forum.kirupa.com/t/tree-control-in-as3-0/233026)

<div class="topic-metadata">

**Author:** [@pkarpenko](https://forum.kirupa.com/u/pkarpenko)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 2:53pm UTC](https://forum.kirupa.com/t/tree-control-in-as3-0/233026 "2007-07-19T14:53:26Z")

</div>

Does anyone know if Adobe plans to bring a tree control into Flash CS3? I know Flex 2 and Flash 8 have one. Alternatively, does anyone know of any robust third-party tree controls for AS3.0?

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

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