# programming

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

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

**Page:** 253

---

## [Making An Isometric Grid](https://forum.kirupa.com/t/making-an-isometric-grid/323747)

<div class="topic-metadata">

**Author:** [@Sinj\_Raion](https://forum.kirupa.com/u/Sinj_Raion)\
**Replies:** 0\
**Last updated:** [July 15, 2011, 6:31am UTC](https://forum.kirupa.com/t/making-an-isometric-grid/323747 "2011-07-15T06:31:12Z")

</div>

So I've built a grid of tiles using a bunch of variables and arrays, but what do I have to do to make it isometric? As a note, I've done a few searches on isometric games, but none of their placement methods have worke…

---

## [Irregular Semi-Perfect Collision](https://forum.kirupa.com/t/irregular-semi-perfect-collision/323746)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [July 15, 2011, 4:09am UTC](https://forum.kirupa.com/t/irregular-semi-perfect-collision/323746 "2011-07-15T04:09:03Z")

</div>

I have a bunch of different Movieclips from about 10 different classes moving about the stage. What would be the fastest/most efficient way to detect collisions between two of them? They can overlap each other a bit be…

---

## [Apply text formatting to select words](https://forum.kirupa.com/t/apply-text-formatting-to-select-words/323742)

<div class="topic-metadata">

**Author:** [@vsiege](https://forum.kirupa.com/u/vsiege)\
**Replies:** 0\
**Last updated:** [July 14, 2011, 8:03pm UTC](https://forum.kirupa.com/t/apply-text-formatting-to-select-words/323742 "2011-07-14T20:03:46Z")

</div>

How would I go about applying the following text format only to the word 'the' (regardless of caSe) in my textfield? my\_txt.text = 'The cat jumped over the house.' /// my format I want to apply with (\_light\_S\_fmt) { …

---

## [Weird problem with fast-moving objects](https://forum.kirupa.com/t/weird-problem-with-fast-moving-objects/323740)

<div class="topic-metadata">

**Author:** [@Timppaface](https://forum.kirupa.com/u/Timppaface)\
**Replies:** 0\
**Last updated:** [July 14, 2011, 7:44pm UTC](https://forum.kirupa.com/t/weird-problem-with-fast-moving-objects/323740 "2011-07-14T19:44:37Z")

</div>

This one is done with actionscript, but exactly the same happens with motion tween. I cannot really explain this, so I recorded a video about it. Sorry about the bad quality, for some reason camstudio failed to captu…

---

## [Publish a Work in Google Site](https://forum.kirupa.com/t/publish-a-work-in-google-site/323739)

<div class="topic-metadata">

**Author:** [@joecoolman](https://forum.kirupa.com/u/joecoolman)\
**Replies:** 0\
**Last updated:** [July 14, 2011, 6:15pm UTC](https://forum.kirupa.com/t/publish-a-work-in-google-site/323739 "2011-07-14T18:15:07Z")

</div>

Hello Friends Finally I have a little work done in Flash Professional 8.0 and I want to make public on my google site. There isn't external files in my work, just a shape changing, cube to circle. Ok, it's simple, I cop…

---

## [Jsfl File Browser Dialog?](https://forum.kirupa.com/t/jsfl-file-browser-dialog/323735)

<div class="topic-metadata">

**Author:** [@Donutfiend84](https://forum.kirupa.com/u/Donutfiend84)\
**Replies:** 0\
**Last updated:** [July 14, 2011, 3:45pm UTC](https://forum.kirupa.com/t/jsfl-file-browser-dialog/323735 "2011-07-14T15:45:32Z")

</div>

I'm setting up a jsfl file, that will read a text file, and publish a set of fla based on the loaded file. However, the jsfl file will be stored on a central repository, and the text file to be read, will be generated in…

---

## [Buttons, within MC's. Linking problem](https://forum.kirupa.com/t/buttons-within-mcs-linking-problem/323734)

<div class="topic-metadata">

**Author:** [@lecheflan95](https://forum.kirupa.com/u/lecheflan95)\
**Replies:** 0\
**Last updated:** [July 14, 2011, 3:44pm UTC](https://forum.kirupa.com/t/buttons-within-mcs-linking-problem/323734 "2011-07-14T15:44:39Z")

</div>

I have a button within a movie clip when i click it, i want it to bring me to a frame on scene 1. i have used on (release) { \_root.gotoAndPlay ("Scene 1", "Home"); } it doesnt work.. please help me

---

## [Gallery and adding files](https://forum.kirupa.com/t/gallery-and-adding-files/323733)

<div class="topic-metadata">

**Author:** [@happiocholloh](https://forum.kirupa.com/u/happiocholloh)\
**Replies:** 0\
**Last updated:** [July 14, 2011, 1:53pm UTC](https://forum.kirupa.com/t/gallery-and-adding-files/323733 "2011-07-14T13:53:35Z")

</div>

Im using a local computer and will only be running the flash app on locals. I want users to have access to a gallery which I built with xml and to be able to add to the gallery. I thought I could do it with an append …

---

## [gotoAndPlay- How to write the code to play the movie after 1 minute of the page load?](https://forum.kirupa.com/t/gotoandplay-how-to-write-the-code-to-play-the-movie-after-1-minute-of-the-page-load/323732)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [July 14, 2011, 12:20pm UTC](https://forum.kirupa.com/t/gotoandplay-how-to-write-the-code-to-play-the-movie-after-1-minute-of-the-page-load/323732 "2011-07-14T12:20:28Z")

</div>

Hi, How can I mention in the actionscript 3 that the movie clip on frame no. 10 should play after the webpage loads (or after 1 minute)? then stops? The code would be on Frame no. 1. Please help. Thanks.

---

## ["Number of a string VS Number of a number" AKA Conversion problems, help!](https://forum.kirupa.com/t/number-of-a-string-vs-number-of-a-number-aka-conversion-problems-help/323729)

<div class="topic-metadata">

**Author:** [@lavacroft](https://forum.kirupa.com/u/lavacroft)\
**Replies:** 0\
**Last updated:** [July 14, 2011, 9:35am UTC](https://forum.kirupa.com/t/number-of-a-string-vs-number-of-a-number-aka-conversion-problems-help/323729 "2011-07-14T09:35:04Z")

</div>

Hello all, i have a big problem, and i'd like some advice from you on how to solve it. Inside my code i have some variables declared as Numbers, and i get some others from an external source; these variables can either…

---

## [How to convert between HD and SD video files on Mac/Windows](https://forum.kirupa.com/t/how-to-convert-between-hd-and-sd-video-files-on-mac-windows/323728)

<div class="topic-metadata">

**Author:** [@convtotal](https://forum.kirupa.com/u/convtotal)\
**Replies:** 0\
**Last updated:** [July 14, 2011, 8:14am UTC](https://forum.kirupa.com/t/how-to-convert-between-hd-and-sd-video-files-on-mac-windows/323728 "2011-07-14T08:14:23Z")

</div>

\[FONT=&quot\] \[/FONT\] \[FONT=&quot\]Nowadays, people have so many kinds of portable music/video players, and they play different video formats, so how to convert video from one popular video format to another is a questio…

---

## [Tutorial: Variable Scope in JavaScript](https://forum.kirupa.com/t/tutorial-variable-scope-in-javascript/323727)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [July 14, 2011, 7:42am UTC](https://forum.kirupa.com/t/tutorial-variable-scope-in-javascript/323727 "2011-07-14T07:42:39Z")

</div>

Hi everyone, This is the place to discuss anything and everything related to the Variable Scope in JavaScript tutorial. Jump right on in \[stuck\_out\_tongue\] Cheers, Kirupa (-:

---

## [TextField dimensions after \<img\> loaded](https://forum.kirupa.com/t/textfield-dimensions-after-img-loaded/323726)

<div class="topic-metadata">

**Author:** [@flashgroove](https://forum.kirupa.com/u/flashgroove)\
**Replies:** 0\
**Last updated:** [July 14, 2011, 7:37am UTC](https://forum.kirupa.com/t/textfield-dimensions-after-img-loaded/323726 "2011-07-14T07:37:55Z")

</div>

I have a text field that is assigned some HTML text which alongside the text itself also contains an "img" tag for displaying an image. I also am resizing the interface based of the dimensions of the text field and the…

---

## [Passing variables to and from externally loaded SWF?](https://forum.kirupa.com/t/passing-variables-to-and-from-externally-loaded-swf/323723)

<div class="topic-metadata">

**Author:** [@lazerbrains](https://forum.kirupa.com/u/lazerbrains)\
**Replies:** 0\
**Last updated:** [July 13, 2011, 10:36pm UTC](https://forum.kirupa.com/t/passing-variables-to-and-from-externally-loaded-swf/323723 "2011-07-13T22:36:31Z")

</div>

I have an SWF, called main.swf. Inside of that is a movieClip that Declares a variable "myVar". Then there is an external SWF that is loaded by main.swf. I am trying to get this external SWF to check the value of "my…

---

## [No Sound is listened, simple code](https://forum.kirupa.com/t/no-sound-is-listened-simple-code/323719)

<div class="topic-metadata">

**Author:** [@joecoolman](https://forum.kirupa.com/u/joecoolman)\
**Replies:** 0\
**Last updated:** [July 13, 2011, 9:04pm UTC](https://forum.kirupa.com/t/no-sound-is-listened-simple-code/323719 "2011-07-13T21:04:33Z")

</div>

I paste here my code in timeline this.createTextField("status\_txt", this.getNextHighestDepth(), 0,0,100,22); var my\_sound:Sound = new Sound(); my\_sound.loadSound("Flamenco.wav", true); my\_sound.onLoad = function(succ…

---

## [Help with grabbing an XML value](https://forum.kirupa.com/t/help-with-grabbing-an-xml-value/323717)

<div class="topic-metadata">

**Author:** [@Darth\_Nihilus](https://forum.kirupa.com/u/Darth_Nihilus)\
**Replies:** 0\
**Last updated:** [July 13, 2011, 8:14pm UTC](https://forum.kirupa.com/t/help-with-grabbing-an-xml-value/323717 "2011-07-13T20:14:57Z")

</div>

Hey guys, I am tasked with trying to do a slideshow of sorts, and I need to pull the filename of the slide from an xml file and display it, as well as display the appropriate slide notes in a text box. the xml file …

---

## [Scroll down the stage, not in text field](https://forum.kirupa.com/t/scroll-down-the-stage-not-in-text-field/323716)

<div class="topic-metadata">

**Author:** [@rassy7](https://forum.kirupa.com/u/rassy7)\
**Replies:** 0\
**Last updated:** [July 13, 2011, 7:27pm UTC](https://forum.kirupa.com/t/scroll-down-the-stage-not-in-text-field/323716 "2011-07-13T19:27:42Z")

</div>

Hi, I searched the AS3 forum and found a few helpful threads, but couldn't quite isolate an answer to my question. Basically, I'm designing a site for 800x600 and almost all of my stages are 800x600, but because of an ab…

---

## [Motion tween problem](https://forum.kirupa.com/t/motion-tween-problem/323715)

<div class="topic-metadata">

**Author:** [@Timppaface](https://forum.kirupa.com/u/Timppaface)\
**Replies:** 0\
**Last updated:** [July 13, 2011, 7:19pm UTC](https://forum.kirupa.com/t/motion-tween-problem/323715 "2011-07-13T19:19:01Z")

</div>

What I am trying to do is a motion tween with two movie clips. Clip A stays still all the time. Clip B is first in front of Object A, it moves right until it no longer 'touches' A, then it starts moving left again,…

---

## [24 Objects Transparency Bug](https://forum.kirupa.com/t/24-objects-transparency-bug/323712)

<div class="topic-metadata">

**Author:** [@Tovrick](https://forum.kirupa.com/u/Tovrick)\
**Replies:** 0\
**Last updated:** [July 13, 2011, 4:07pm UTC](https://forum.kirupa.com/t/24-objects-transparency-bug/323712 "2011-07-13T16:07:04Z")

</div>

Hi all. I ran into an odd problem a week ago that I haven't been able to fix. I'm new to Flash so sorry if this has been discussed but my research has turned up nothing. I'm using Flash Develop. I managed to duplicate t…

---

## [Problem resizing movieclip width to stage width dynamically](https://forum.kirupa.com/t/problem-resizing-movieclip-width-to-stage-width-dynamically/323711)

<div class="topic-metadata">

**Author:** [@chrisboggs](https://forum.kirupa.com/u/chrisboggs)\
**Replies:** 0\
**Last updated:** [July 13, 2011, 2:39pm UTC](https://forum.kirupa.com/t/problem-resizing-movieclip-width-to-stage-width-dynamically/323711 "2011-07-13T14:39:38Z")

</div>

Hello all, I need a tutorial or suggestion as to how to get a movieclip named "topnav" to resize it's width to match that of the stage. I am trying to resize the width of a top nav bar across a resizable RIA. I have star…

---

## [Printing everything VISIBLE in a movie clip (rather than merely one thing)](https://forum.kirupa.com/t/printing-everything-visible-in-a-movie-clip-rather-than-merely-one-thing/323710)

<div class="topic-metadata">

**Author:** [@O\_Tamandua](https://forum.kirupa.com/u/O_Tamandua)\
**Replies:** 0\
**Last updated:** [July 13, 2011, 2:07pm UTC](https://forum.kirupa.com/t/printing-everything-visible-in-a-movie-clip-rather-than-merely-one-thing/323710 "2011-07-13T14:07:14Z")

</div>

Good morning, everyone! On an application I’m building I’ve got a movieclip called “viewer”, built in my main .swf file, that contains 8 other movie clips. In my application, I have multiple images that can be loaded i…

---

## [The easy way of AI programing.?](https://forum.kirupa.com/t/the-easy-way-of-ai-programing/323708)

<div class="topic-metadata">

**Author:** [@jhonthomus](https://forum.kirupa.com/u/jhonthomus)\
**Replies:** 0\
**Last updated:** [July 13, 2011, 11:05am UTC](https://forum.kirupa.com/t/the-easy-way-of-ai-programing/323708 "2011-07-13T11:05:45Z")

</div>

AI programing is so intrusting. This is some time is typical. AI is the beneficial by that field. How to easy way implement this programing.? tread mills

---

## [Changing Fonts](https://forum.kirupa.com/t/changing-fonts/323707)

<div class="topic-metadata">

**Author:** [@Nuwa](https://forum.kirupa.com/u/Nuwa)\
**Replies:** 0\
**Last updated:** [July 13, 2011, 10:39am UTC](https://forum.kirupa.com/t/changing-fonts/323707 "2011-07-13T10:39:46Z")

</div>

I have a textbox and a button on the stage and what i want is, when the user clicks on the button the font in the textbox to be changed. This is the code I have, but nothing is happening when I click the button. SinF…

---

## [Loading any number of files from catalog](https://forum.kirupa.com/t/loading-any-number-of-files-from-catalog/323706)

<div class="topic-metadata">

**Author:** [@rudeman](https://forum.kirupa.com/u/rudeman)\
**Replies:** 0\
**Last updated:** [July 13, 2011, 10:16am UTC](https://forum.kirupa.com/t/loading-any-number-of-files-from-catalog/323706 "2011-07-13T10:16:30Z")

</div>

I wonder if there is a possibility to load external files to flash, when I know only their source catalog. Normally I'd use xml file with names or write some php script, but is there some way to load those files only w…

---

## [Flex Mobile Projet - ActionBar position](https://forum.kirupa.com/t/flex-mobile-projet-actionbar-position/323703)

<div class="topic-metadata">

**Author:** [@asscripter](https://forum.kirupa.com/u/asscripter)\
**Replies:** 0\
**Last updated:** [July 13, 2011, 7:38am UTC](https://forum.kirupa.com/t/flex-mobile-projet-actionbar-position/323703 "2011-07-13T07:38:11Z")

</div>

Hi, I have created a Flex mobile project (using Flash Builder 4.5.1), with ViewNavigatorApplication layout. I want to position the ActionBar in the bottom of the app, rather than the default top aligned. How can I do…

---

## [colorTransform and matrix performance](https://forum.kirupa.com/t/colortransform-and-matrix-performance/323697)

<div class="topic-metadata">

**Author:** [@drpelz](https://forum.kirupa.com/u/drpelz)\
**Replies:** 0\
**Last updated:** [July 13, 2011, 1:41am UTC](https://forum.kirupa.com/t/colortransform-and-matrix-performance/323697 "2011-07-13T01:41:45Z")

</div>

hi, are there any differences concerning the performance of colortransform, colormatrixfilter and transform matrix when applied to a blitted object in a game? I mean - what's faster, what slower when used in a blitte…

---

## [Flash rendering benchmarks](https://forum.kirupa.com/t/flash-rendering-benchmarks/323695)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 0\
**Last updated:** [July 12, 2011, 11:55pm UTC](https://forum.kirupa.com/t/flash-rendering-benchmarks/323695 "2011-07-12T23:55:07Z")

</div>

This should be of interest to some of you, certainly those of you who are interested in the games/motion graphics side of things. http://rumblesushi3d.com/?p=280 People generally accept copyPixels as the standard for…

---

## [Remote flash call](https://forum.kirupa.com/t/remote-flash-call/323694)

<div class="topic-metadata">

**Author:** [@zibra](https://forum.kirupa.com/u/zibra)\
**Replies:** 0\
**Last updated:** [July 12, 2011, 10:46pm UTC](https://forum.kirupa.com/t/remote-flash-call/323694 "2011-07-12T22:46:30Z")

</div>

Hello, I'm using flash aplication to generate (in real time) complecated Bitmap / BitmapData, and then I would like to give result to web user. How to run this process without putting whole application to swf file (wh…

---

## [Retarget animations between different rigs in flash](https://forum.kirupa.com/t/retarget-animations-between-different-rigs-in-flash/323690)

<div class="topic-metadata">

**Author:** [@raoul\_duke2k](https://forum.kirupa.com/u/raoul_duke2k)\
**Replies:** 0\
**Last updated:** [July 12, 2011, 8:33pm UTC](https://forum.kirupa.com/t/retarget-animations-between-different-rigs-in-flash/323690 "2011-07-12T20:33:51Z")

</div>

Hi, is it possible to do this or translate a walk cycle, etc... between 2 different character rigs of differing proportions made in flash?

---

## [Sort XML list by attribute](https://forum.kirupa.com/t/sort-xml-list-by-attribute/323685)

<div class="topic-metadata">

**Author:** [@RubenDoliveira](https://forum.kirupa.com/u/RubenDoliveira)\
**Replies:** 0\
**Last updated:** [July 12, 2011, 5:44pm UTC](https://forum.kirupa.com/t/sort-xml-list-by-attribute/323685 "2011-07-12T17:44:38Z")

</div>

Hi, I've been looking for ideas on how to do this.. but every single one seems to have something that does not fit my purpose. I have a XML list and this is a bit of my AS3 code: var classList:XMLList = e.child("c…

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

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