# programming

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

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

**Page:** 942

---

## [News Ticker Extension - Fade in HELP :D](https://forum.kirupa.com/t/news-ticker-extension-fade-in-help-d/280433)

<div class="topic-metadata">

**Author:** [@enormousrodent](https://forum.kirupa.com/u/enormousrodent)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 4:59pm UTC](https://forum.kirupa.com/t/news-ticker-extension-fade-in-help-d/280433 "2009-01-27T16:59:18Z")

</div>

Hi there...i have been following the news ticker with my own xml and it works great...the problem is that i do not like it how that when it fades out it just re-appears. Can someone take my AS and modify it so it will f…

---

## [Send data to module](https://forum.kirupa.com/t/send-data-to-module/280432)

<div class="topic-metadata">

**Author:** [@DHDesign](https://forum.kirupa.com/u/DHDesign)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 4:58pm UTC](https://forum.kirupa.com/t/send-data-to-module/280432 "2009-01-27T16:58:44Z")

</div>

im calling a module in my flex app, but i need to send it a variable and have no idea how this is done (both sending the variable and then the module retrieving it)...basically, the module generates a tree which gathers …

---

## [The Infinite Menu Stutter Step](https://forum.kirupa.com/t/the-infinite-menu-stutter-step/280431)

<div class="topic-metadata">

**Author:** [@mpelland](https://forum.kirupa.com/u/mpelland)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 4:54pm UTC](https://forum.kirupa.com/t/the-infinite-menu-stutter-step/280431 "2009-01-27T16:54:04Z")

</div>

Hey all, So for some reason people keep getting me to do infinite menus, these are menus where the scrolling seems infinite because the content loops. I build them by loading all the content from XML, and creating the …

---

## [Browser Sniffer to Identify Firefox](https://forum.kirupa.com/t/browser-sniffer-to-identify-firefox/280430)

<div class="topic-metadata">

**Author:** [@rynobot](https://forum.kirupa.com/u/rynobot)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 4:09pm UTC](https://forum.kirupa.com/t/browser-sniffer-to-identify-firefox/280430 "2009-01-27T16:09:48Z")

</div>

Can anyone show me or point me to a tutorial that will illustrate how to write a browser sniffer script which will identify firefox and call a function if the user is in firefox. thanks.

---

## [CS3 - Is it possible to move the mouse to a certain position using as?](https://forum.kirupa.com/t/cs3-is-it-possible-to-move-the-mouse-to-a-certain-position-using-as/280428)

<div class="topic-metadata">

**Author:** [@tris3d](https://forum.kirupa.com/u/tris3d)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 3:12pm UTC](https://forum.kirupa.com/t/cs3-is-it-possible-to-move-the-mouse-to-a-certain-position-using-as/280428 "2009-01-27T15:12:14Z")

</div>

Hi, I have a panning background with buttons in it. It would be nice if when the button is pressed i could move the position of the mouse so that the movie pans and catches up with the new position. Is this possible? M…

---

## [Senocular's transformTool - onClick event](https://forum.kirupa.com/t/senoculars-transformtool-onclick-event/280427)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 3:06pm UTC](https://forum.kirupa.com/t/senoculars-transformtool-onclick-event/280427 "2009-01-27T15:06:09Z")

</div>

hey guys (especially senocular \[smile\] ) One of the movieclips I have on the stage, Im using senocular's transformTool, to activate the transform controls (when that MC is clicked). But now I wanna have a different act…

---

## [FLV not loading randomly](https://forum.kirupa.com/t/flv-not-loading-randomly/280425)

<div class="topic-metadata">

**Author:** [@Papaprime](https://forum.kirupa.com/u/Papaprime)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 2:56pm UTC](https://forum.kirupa.com/t/flv-not-loading-randomly/280425 "2009-01-27T14:56:45Z")

</div>

I have a page: http://www.nelson-company.com that has videos in the work section (click work, then the tv icon or the radio icon at the bottom of the page) that will randomly not load. THe weird thing is that the files…

---

## [Merging Flash Files](https://forum.kirupa.com/t/merging-flash-files/280424)

<div class="topic-metadata">

**Author:** [@53effie](https://forum.kirupa.com/u/53effie)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 2:48pm UTC](https://forum.kirupa.com/t/merging-flash-files/280424 "2009-01-27T14:48:36Z")

</div>

Hi Folks, I have several Flash files that I wish to combine into a single Flash file. However, some library items in the individual files are named the same and I don't want to take a chance on one overwriting another.…

---

## [Posting into Flash, like a blog..?](https://forum.kirupa.com/t/posting-into-flash-like-a-blog/280418)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 2:18pm UTC](https://forum.kirupa.com/t/posting-into-flash-like-a-blog/280418 "2009-01-27T14:18:25Z")

</div>

Hello, Is it possible - or are there any pointers out there, to post text into a flash dynamic text box from - THIS (or something very much like this) thread entry/post wysiwyg that Im using to post this thread!? The …

---

## [Sound not stopping when navigating away](https://forum.kirupa.com/t/sound-not-stopping-when-navigating-away/280408)

<div class="topic-metadata">

**Author:** [@stormie](https://forum.kirupa.com/u/stormie)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 11:32am UTC](https://forum.kirupa.com/t/sound-not-stopping-when-navigating-away/280408 "2009-01-27T11:32:29Z")

</div>

Hi .. I have several swf files which are completed screencasts with voice overs, which I need to integrate into a flash application to distribute on CD to new students. To play the screencasts in my flash file, I'm na…

---

## [Dynamic variable names in E4X syntax](https://forum.kirupa.com/t/dynamic-variable-names-in-e4x-syntax/280407)

<div class="topic-metadata">

**Author:** [@Pettt\_cz](https://forum.kirupa.com/u/Pettt_cz)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 11:18am UTC](https://forum.kirupa.com/t/dynamic-variable-names-in-e4x-syntax/280407 "2009-01-27T11:18:36Z")

</div>

It seems that under Actionscript 3 XML (\[COLOR=#ff0000\]E4X\[/COLOR\]) I'm unable to use dynamicaly created variable names... this is ok: var i:number = 111 this\["someVarName" + i\] = "actual\_value" trace(someVarName111…

---

## [How do you document your AS3 app?](https://forum.kirupa.com/t/how-do-you-document-your-as3-app/280406)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 11:08am UTC](https://forum.kirupa.com/t/how-do-you-document-your-as3-app/280406 "2009-01-27T11:08:16Z")

</div>

Is there something you guys use? To create your documentation?

---

## [Scale/Rotation image in flash AS3](https://forum.kirupa.com/t/scale-rotation-image-in-flash-as3/280404)

<div class="topic-metadata">

**Author:** [@jpinteractive](https://forum.kirupa.com/u/jpinteractive)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 9:37am UTC](https://forum.kirupa.com/t/scale-rotation-image-in-flash-as3/280404 "2009-01-27T09:37:29Z")

</div>

Hi Guys, i am starting off an flash AS3 application in that my target to is to achieve a image scaling, rotate and able to crop images at run time.. this is my 2nd AS3 project i have no idea how to do it???.. but i hav…

---

## [Collision detection in external class off by one frame](https://forum.kirupa.com/t/collision-detection-in-external-class-off-by-one-frame/280398)

<div class="topic-metadata">

**Author:** [@dandylion13](https://forum.kirupa.com/u/dandylion13)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 6:24am UTC](https://forum.kirupa.com/t/collision-detection-in-external-class-off-by-one-frame/280398 "2009-01-27T06:24:18Z")

</div>

Hello, I'm doing collision testing between 2 objects. When I run the collision code in the Document Class, or inside any of the classes of the display objects, it's perfect. If I move the code to an external class whic…

---

## [Flexible Quiz with Tracking](https://forum.kirupa.com/t/flexible-quiz-with-tracking/280397)

<div class="topic-metadata">

**Author:** [@whsu](https://forum.kirupa.com/u/whsu)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 6:12am UTC](https://forum.kirupa.com/t/flexible-quiz-with-tracking/280397 "2009-01-27T06:12:09Z")

</div>

Hey guys, I'm trying to build a quiz where the question number and the number of correct answers are tracked as the user goes through the quiz. It would be easy with frames, but I want to be able to rearrange the questi…

---

## [Distance between buttons](https://forum.kirupa.com/t/distance-between-buttons/280392)

<div class="topic-metadata">

**Author:** [@riot](https://forum.kirupa.com/u/riot)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 5:02am UTC](https://forum.kirupa.com/t/distance-between-buttons/280392 "2009-01-27T05:02:17Z")

</div>

Sorry about the (bad) english \[stuck\_out\_tongue\_winking\_eye\] I made some modifications on the XML-Driven Drop-Down Menu tutorial file (Senocular's tutorial) to have all the stuff horizontal (main menu centered and sub …

---

## [Includes - Flash or Html/Css Menu](https://forum.kirupa.com/t/includes-flash-or-html-css-menu/280389)

<div class="topic-metadata">

**Author:** [@gartherarth](https://forum.kirupa.com/u/gartherarth)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 3:39am UTC](https://forum.kirupa.com/t/includes-flash-or-html-css-menu/280389 "2009-01-27T03:39:41Z")

</div>

Howdy all, Curious question here - I want to make a header for a css/html site in flash but for the non-flash users out there I want to have a html/css menu. Is there anything that could be automated with the use of …

---

## [Blood Particle Engine Makes Lag, URGENT](https://forum.kirupa.com/t/blood-particle-engine-makes-lag-urgent/280385)

<div class="topic-metadata">

**Author:** [@crucifix](https://forum.kirupa.com/u/crucifix)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 2:43am UTC](https://forum.kirupa.com/t/blood-particle-engine-makes-lag-urgent/280385 "2009-01-27T02:43:29Z")

</div>

I was working on a little particle engine for blood in a project im working on and i can see it being versitle enough to be good but when i import it into a test environmet it causes a little fps lag i was wondering if y…

---

## [Converting strings](https://forum.kirupa.com/t/converting-strings/280384)

<div class="topic-metadata">

**Author:** [@cosmicloverocks](https://forum.kirupa.com/u/cosmicloverocks)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 2:36am UTC](https://forum.kirupa.com/t/converting-strings/280384 "2009-01-27T02:36:10Z")

</div>

I have this array : that is from xml: \["images/bob's.jpg", "images/bob&john.jpg", "images/bobpic's.jpg", \]; how do i go tru for loop searching for ' and & and convert them to ' and & ? thanks in advanced.

---

## [Flash buttons not working properly on website, but on local work fine](https://forum.kirupa.com/t/flash-buttons-not-working-properly-on-website-but-on-local-work-fine/280383)

<div class="topic-metadata">

**Author:** [@Noa](https://forum.kirupa.com/u/Noa)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 2:34am UTC](https://forum.kirupa.com/t/flash-buttons-not-working-properly-on-website-but-on-local-work-fine/280383 "2009-01-27T02:34:42Z")

</div>

Hi, I am building a website that is all in flash. In the first frame there are 6 buttons. Each button has a code to go to a different place in the timeline, where something happens. For example, one of the buttons has t…

---

## [Arrange #'s from least to greatest](https://forum.kirupa.com/t/arrange-s-from-least-to-greatest/280382)

<div class="topic-metadata">

**Author:** [@WeightPaker](https://forum.kirupa.com/u/WeightPaker)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 12:53am UTC](https://forum.kirupa.com/t/arrange-s-from-least-to-greatest/280382 "2009-01-27T00:53:01Z")

</div>

How would I create a script to take an array of #'s and put them into order from least to greatest?

---

## [AI path help](https://forum.kirupa.com/t/ai-path-help/280381)

<div class="topic-metadata">

**Author:** [@DarkNighter](https://forum.kirupa.com/u/DarkNighter)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 12:44am UTC](https://forum.kirupa.com/t/ai-path-help/280381 "2009-01-27T00:44:21Z")

</div>

Need help on AI. Not sure how to code works. The algorithm \[FONT=courier new\]f = g + h\[/FONT\]

---

## [Moving "\_root"?](https://forum.kirupa.com/t/moving--root/280377)

<div class="topic-metadata">

**Author:** [@Ph03nix](https://forum.kirupa.com/u/Ph03nix)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 10:44pm UTC](https://forum.kirupa.com/t/moving--root/280377 "2009-01-26T22:44:34Z")

</div>

I just recently began migrating from AS2 to AS3, and I have of course realized that I can no longer move the "root" by changing the \_x and \_y positions of the \_root (which no longer exists in AS3). How can I do this in A…

---

## [Background Auto Resize](https://forum.kirupa.com/t/background-auto-resize/280374)

<div class="topic-metadata">

**Author:** [@mmatzen](https://forum.kirupa.com/u/mmatzen)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 9:48pm UTC](https://forum.kirupa.com/t/background-auto-resize/280374 "2009-01-26T21:48:45Z")

</div>

Ok the basics of what i need: \*I want to use a jpeg img that scales acording to the x axis of the browser (not the y axis) as the background. \*content that always stays centered (maybe in a mc container) I have se…

---

## [Replaceable Map MCs?](https://forum.kirupa.com/t/replaceable-map-mcs/280373)

<div class="topic-metadata">

**Author:** [@Jephz](https://forum.kirupa.com/u/Jephz)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 9:27pm UTC](https://forum.kirupa.com/t/replaceable-map-mcs/280373 "2009-01-26T21:27:12Z")

</div>

Hey all, I'm trying to make a replaceable map system for my rpg so that the code could come out cleaner. So far, I'm having no luck with my current code: function boundPlayer(mapHolder:MovieClip, playerShell:MovieClip…

---

## [PaperVision3D - Help](https://forum.kirupa.com/t/papervision3d-help/280371)

<div class="topic-metadata">

**Author:** [@lfc611](https://forum.kirupa.com/u/lfc611)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 9:08pm UTC](https://forum.kirupa.com/t/papervision3d-help/280371 "2009-01-26T21:08:43Z")

</div>

im looking to recreate something like this in papervision3d \[FONT=Cambria\]\[/FONT\]\[FONT=Cambria\]http://www.visualthesaurus.com/\[/FONT\] but not that complex, something for a navigation menu. any tutorials out there will be…

---

## [Functionality of loaded swf is a no go](https://forum.kirupa.com/t/functionality-of-loaded-swf-is-a-no-go/280369)

<div class="topic-metadata">

**Author:** [@big\_bood](https://forum.kirupa.com/u/big_bood)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 8:01pm UTC](https://forum.kirupa.com/t/functionality-of-loaded-swf-is-a-no-go/280369 "2009-01-26T20:01:31Z")

</div>

Hi AS 2 question: I am having issues with a hover funtion in a loaded swf file. Hover file swf works on its own. Parent file swf loads hover swf \[COLOR=darkred\]3. Hover funtion no longer works in parent swf\[/COL…

---

## [.swf issue - HELP!](https://forum.kirupa.com/t/swf-issue-help/280367)

<div class="topic-metadata">

**Author:** [@JeremieB](https://forum.kirupa.com/u/JeremieB)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 7:25pm UTC](https://forum.kirupa.com/t/swf-issue-help/280367 "2009-01-26T19:25:43Z")

</div>

I am working on a spin&win game for St. Jude Medical. When trying to play the .swf I am receiving this error: Error opening URL 'file:///C|/Documents%20and%20Settings/Jeremie%20Buhler/Desktop/Work1%2D13/Saint%20John%20…

---

## [Friction equation for Verlet intergration..?](https://forum.kirupa.com/t/friction-equation-for-verlet-intergration/280362)

<div class="topic-metadata">

**Author:** [@dandylion13](https://forum.kirupa.com/u/dandylion13)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 7:02pm UTC](https://forum.kirupa.com/t/friction-equation-for-verlet-intergration/280362 "2009-01-26T19:02:47Z")

</div>

Hi, I have a very basic question. What the best way to calculate friction in an ENTER\_FRAME event that moves an objecct using Verlet integration? For example: \_temporaryX = x; \_temporaryY = y; \_vx = x - \_oldX; \_vy …

---

## [Open a new flash movie from existing?](https://forum.kirupa.com/t/open-a-new-flash-movie-from-existing/280359)

<div class="topic-metadata">

**Author:** [@jrotondo](https://forum.kirupa.com/u/jrotondo)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 6:39pm UTC](https://forum.kirupa.com/t/open-a-new-flash-movie-from-existing/280359 "2009-01-26T18:39:09Z")

</div>

I've created a fullscreen Flash .exe. I want to be able to build a button that can allow you to close the exiting movie and open a new one (kinda like Lingo's OpenMovie command). I'm sure there's an easy way to do this…

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

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