# programming

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

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

**Page:** 872

---

## [\[AS3\] The FPS changes from 30 to Infinity?](https://forum.kirupa.com/t/as3-the-fps-changes-from-30-to-infinity/284906)

<div class="topic-metadata">

**Author:** [@DrRobot](https://forum.kirupa.com/u/DrRobot)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 11:32pm UTC](https://forum.kirupa.com/t/as3-the-fps-changes-from-30-to-infinity/284906 "2009-03-24T23:32:20Z")

</div>

Alright, so i've been working on a game for a little while now, and this problem has basically just shown up. My game is 9 frames long, and the frames are as follows: 1 Preloader 2 dummy 3 exported stuff loading frame 4…

---

## [Matching GPS points to map?](https://forum.kirupa.com/t/matching-gps-points-to-map/284904)

<div class="topic-metadata">

**Author:** [@kuldioxid](https://forum.kirupa.com/u/kuldioxid)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 9:46pm UTC](https://forum.kirupa.com/t/matching-gps-points-to-map/284904 "2009-03-24T21:46:24Z")

</div>

Hello, I have a list of GPS points I would like to plot onto a map. But how should I go about matching the points to the map? I could imagine that I would need some control points so I can calculate the scale and r…

---

## [Mod Rewrite Puzzler](https://forum.kirupa.com/t/mod-rewrite-puzzler/284900)

<div class="topic-metadata">

**Author:** [@thedaveyb](https://forum.kirupa.com/u/thedaveyb)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 8:43pm UTC](https://forum.kirupa.com/t/mod-rewrite-puzzler/284900 "2009-03-24T20:43:22Z")

</div>

Hi Guys, lets see if anyone can get their melons around this! (as i cant hehe) Right were recently updated a site to integrate into an EPOS system, all is well except that the URL structure has changed. Now usually a 3…

---

## [SWF and background alignment](https://forum.kirupa.com/t/swf-and-background-alignment/284898)

<div class="topic-metadata">

**Author:** [@gforcewebmedia](https://forum.kirupa.com/u/gforcewebmedia)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 8:31pm UTC](https://forum.kirupa.com/t/swf-and-background-alignment/284898 "2009-03-24T20:31:21Z")

</div>

Hello everyone, I've been having this problem for quite some time now. I Have 1024 x 768 background image that has a specific place to put a swf, and i tried to use it as the background layer and load an swf into a mov…

---

## [TextField... height problems](https://forum.kirupa.com/t/textfield-height-problems/284896)

<div class="topic-metadata">

**Author:** [@nxsd](https://forum.kirupa.com/u/nxsd)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 7:58pm UTC](https://forum.kirupa.com/t/textfield-height-problems/284896 "2009-03-24T19:58:56Z")

</div>

I have a textField with a lot of stuff in it, so I'm creating a scroller using a mask. To do the math to make the scroller work right, I need the height of the textField. But the stuff in it is retrieved from XML and t…

---

## [How best to normalize my urls](https://forum.kirupa.com/t/how-best-to-normalize-my-urls/284895)

<div class="topic-metadata">

**Author:** [@onion](https://forum.kirupa.com/u/onion)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 7:38pm UTC](https://forum.kirupa.com/t/how-best-to-normalize-my-urls/284895 "2009-03-24T19:38:50Z")

</div>

I'm creating a new website in PHP from scratch. Instead of using static pages I want friendly urls, I realize that I need to normalize my urls. What are the best ways to do this? I'd appreciate a link to an article on…

---

## [AS3/ XML help loading in images!](https://forum.kirupa.com/t/as3-xml-help-loading-in-images/284892)

<div class="topic-metadata">

**Author:** [@wuzzi2ya](https://forum.kirupa.com/u/wuzzi2ya)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 7:13pm UTC](https://forum.kirupa.com/t/as3-xml-help-loading-in-images/284892 "2009-03-24T19:13:51Z")

</div>

Below is my code, everything works fine with the loading of the text, yet I cannot get the images to show. "txtBox\_mc.buttonText.htmlText = contentInput.callout.button;" is my basic structure... Im pretty sure I need…

---

## [How to run .swf in IIS 7](https://forum.kirupa.com/t/how-to-run-swf-in-iis-7/284891)

<div class="topic-metadata">

**Author:** [@Khande](https://forum.kirupa.com/u/Khande)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 7:13pm UTC](https://forum.kirupa.com/t/how-to-run-swf-in-iis-7/284891 "2009-03-24T19:13:01Z")

</div>

Hi, I have created 'Socket'which will connect to port 5080 on a server. (A java server code is already listening on that port). Now this .swf is placed inside .htm file which is placed on the server root folder. When…

---

## [Read in from TXT file](https://forum.kirupa.com/t/read-in-from-txt-file/284890)

<div class="topic-metadata">

**Author:** [@ImOnCloudNine69](https://forum.kirupa.com/u/ImOnCloudNine69)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 6:49pm UTC](https://forum.kirupa.com/t/read-in-from-txt-file/284890 "2009-03-24T18:49:50Z")

</div>

I'm storying vars for x and y coordinants for starting and ending positions for movieclips. i wanted to store them in an external file to save space since there are over 100 MC's and i didnt was 4 lines \* 100 MC's. the v…

---

## [Changing color of Movie Clip with Combo box](https://forum.kirupa.com/t/changing-color-of-movie-clip-with-combo-box/284889)

<div class="topic-metadata">

**Author:** [@shanis42](https://forum.kirupa.com/u/shanis42)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 6:48pm UTC](https://forum.kirupa.com/t/changing-color-of-movie-clip-with-combo-box/284889 "2009-03-24T18:48:37Z")

</div>

I have a combo box called "jcolor1". I have a Movie Clip called "main". In my combobox I have set all of the color names in the labels section, and all of their hex values in the values section. I am trying to be able…

---

## [How to Display Video at 2x Speed?](https://forum.kirupa.com/t/how-to-display-video-at-2x-speed/284886)

<div class="topic-metadata">

**Author:** [@kraftomatic](https://forum.kirupa.com/u/kraftomatic)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 6:10pm UTC](https://forum.kirupa.com/t/how-to-display-video-at-2x-speed/284886 "2009-03-24T18:10:28Z")

</div>

Hey Guys and Gals, I've got an FLV file that's 10 minutes long. I want to mimic the effect of speeding up the video, where it shows progress of the 10 minute video in say, 30 seconds. Is there a way I can do this? T…

---

## [\_root.holder\["name"+i\].getBytesLoaded(); problem](https://forum.kirupa.com/t/-root-holder-name-i-getbytesloaded-problem/284885)

<div class="topic-metadata">

**Author:** [@Freddythunder](https://forum.kirupa.com/u/Freddythunder)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 6:07pm UTC](https://forum.kirupa.com/t/-root-holder-name-i-getbytesloaded-problem/284885 "2009-03-24T18:07:40Z")

</div>

Hello everybody - long time! I read the sticky - I'm using Flash CS3, but just actionscript 1.0/2.0; mostly 1.0... Anywho. I've made this photo gallery that loads in 100 (used to be 200) photos at a time into a movi…

---

## [Memory leak](https://forum.kirupa.com/t/memory-leak/284883)

<div class="topic-metadata">

**Author:** [@PeterGriffin](https://forum.kirupa.com/u/PeterGriffin)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 6:02pm UTC](https://forum.kirupa.com/t/memory-leak/284883 "2009-03-24T18:02:00Z")

</div>

Hi everyone! I'm experiencing a few memory leaks each time my swf gets reloaded. I have closed the netstream, removed the listeners and the container, tried UnloadAndStop(); but in the end I'm still missing someting a…

---

## [Adding a buffering message to my flv](https://forum.kirupa.com/t/adding-a-buffering-message-to-my-flv/284882)

<div class="topic-metadata">

**Author:** [@jasonhardwick](https://forum.kirupa.com/u/jasonhardwick)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 5:41pm UTC](https://forum.kirupa.com/t/adding-a-buffering-message-to-my-flv/284882 "2009-03-24T17:41:56Z")

</div>

I have a flv placed in a swf and i'm trying to add a loading or buffering bar to the flv so that users know that is happening. Can anyone help me with this here is my code that holds my actions for the flv. stop(); …

---

## [Calling functions attached to a listener](https://forum.kirupa.com/t/calling-functions-attached-to-a-listener/284877)

<div class="topic-metadata">

**Author:** [@citizen\_erazed](https://forum.kirupa.com/u/citizen_erazed)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 5:17pm UTC](https://forum.kirupa.com/t/calling-functions-attached-to-a-listener/284877 "2009-03-24T17:17:20Z")

</div>

Basically what I want to do is call a function attached to an event listener, without the event actually happening - for example: I have a function that is attached to Event.RESIZE. I would like to call that function f…

---

## [htmlText not displaying correctly](https://forum.kirupa.com/t/htmltext-not-displaying-correctly/284875)

<div class="topic-metadata">

**Author:** [@bortiquai](https://forum.kirupa.com/u/bortiquai)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 4:59pm UTC](https://forum.kirupa.com/t/htmltext-not-displaying-correctly/284875 "2009-03-24T16:59:50Z")

</div>

I have a simple class which contains a TextField. The textfield is populated with data from an XML file. i am using the code: txtField.htmlText = xmlElement.node.node.text(); txtField.setTextFormat(txtFmt); If i do…

---

## [Bend movie/flv in Flash](https://forum.kirupa.com/t/bend-movie-flv-in-flash/284874)

<div class="topic-metadata">

**Author:** [@Sparda](https://forum.kirupa.com/u/Sparda)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 4:53pm UTC](https://forum.kirupa.com/t/bend-movie-flv-in-flash/284874 "2009-03-24T16:53:18Z")

</div>

I know that you can bend images and do lots of other 3D tricks using PV3D for example but is it possible to bend flvs in Flash? (Let's say a movie gallery in form of a cylinder.)

---

## [How to add actions to keyboard?](https://forum.kirupa.com/t/how-to-add-actions-to-keyboard/284873)

<div class="topic-metadata">

**Author:** [@marcelomdsc](https://forum.kirupa.com/u/marcelomdsc)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 4:44pm UTC](https://forum.kirupa.com/t/how-to-add-actions-to-keyboard/284873 "2009-03-24T16:44:19Z")

</div>

Hello I´ve been looking around the net, and found a lot of confusing information. I would like to know how to add simple actions like gotoAndPlay("next"); to a key. e.g. the right arrow. How could I do this? any simple…

---

## [Detecting the end of flv playback](https://forum.kirupa.com/t/detecting-the-end-of-flv-playback/284866)

<div class="topic-metadata">

**Author:** [@sci](https://forum.kirupa.com/u/sci)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 3:06pm UTC](https://forum.kirupa.com/t/detecting-the-end-of-flv-playback/284866 "2009-03-24T15:06:55Z")

</div>

Greetings all, Does anybody have an example of how to detect the end of an flv playback. I am loading in a flv to a webpage, using the FlvPlayBack component. Everything is working fine as to be expected. How do I inser…

---

## [How do I preload video?](https://forum.kirupa.com/t/how-do-i-preload-video/284865)

<div class="topic-metadata">

**Author:** [@vurtitude](https://forum.kirupa.com/u/vurtitude)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 2:58pm UTC](https://forum.kirupa.com/t/how-do-i-preload-video/284865 "2009-03-24T14:58:37Z")

</div>

I am somewhat new to flash and searched the forum but couldn't find an answer. I imported a flv video into my timeline, and put it on the second frame. On the first frame I have a button, and added a code to go to the …

---

## [Need help with buttons and events](https://forum.kirupa.com/t/need-help-with-buttons-and-events/284864)

<div class="topic-metadata">

**Author:** [@swdirect](https://forum.kirupa.com/u/swdirect)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 2:26pm UTC](https://forum.kirupa.com/t/need-help-with-buttons-and-events/284864 "2009-03-24T14:26:21Z")

</div>

Ok, separate from my menu question, I have seen instruction on event listeners to get a button to go to a URL or to make a movie pause and whatnot, but what I'm not finding is instruction on how to write the AS3 for a bu…

---

## [Who can give me some advice?](https://forum.kirupa.com/t/who-can-give-me-some-advice/284863)

<div class="topic-metadata">

**Author:** [@koklod](https://forum.kirupa.com/u/koklod)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 2:10pm UTC](https://forum.kirupa.com/t/who-can-give-me-some-advice/284863 "2009-03-24T14:10:25Z")

</div>

It is not so easy to help customers design the first page, but the customer said that he hoped to it can meet w3c of xhtml standard. Then I have suffered the Internet to look for some information about the W3C standard. …

---

## [Mouse rollover movie clip](https://forum.kirupa.com/t/mouse-rollover-movie-clip/284862)

<div class="topic-metadata">

**Author:** [@ZappyAd](https://forum.kirupa.com/u/ZappyAd)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 2:09pm UTC](https://forum.kirupa.com/t/mouse-rollover-movie-clip/284862 "2009-03-24T14:09:30Z")

</div>

I am new to Flash CS4 but not to Actionscript. I have been trying to do something in Flash that I thought would be easy. I have created a movie clip with several frames and have tried to add a MouseOver MouseOut rollov…

---

## [Load Variables from URL](https://forum.kirupa.com/t/load-variables-from-url/284861)

<div class="topic-metadata">

**Author:** [@W84me](https://forum.kirupa.com/u/W84me)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 2:01pm UTC](https://forum.kirupa.com/t/load-variables-from-url/284861 "2009-03-24T14:01:56Z")

</div>

Hello flash experts!! I have a url like this www.mysite.com?value1=something&value2=somethingelse How can i load value1 and value2 using as3? Thank you in advance!

---

## [xmlSocket return dataHandler](https://forum.kirupa.com/t/xmlsocket-return-datahandler/284860)

<div class="topic-metadata">

**Author:** [@iamthwee](https://forum.kirupa.com/u/iamthwee)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 1:57pm UTC](https://forum.kirupa.com/t/xmlsocket-return-datahandler/284860 "2009-03-24T13:57:36Z")

</div>

Basically, I have an actionscript file as follows: package \[COLOR=#000000\]{\[/COLOR\] \[COLOR=#993300\]import\[/COLOR\] flash.\[COLOR=#000000\]display\[/COLOR\].\[COLOR=#000000\]Sprite\[/COLOR\]; \[COLOR=#993300\]import\[/COL…

---

## [Simple Repeating Background Question](https://forum.kirupa.com/t/simple-repeating-background-question/284856)

<div class="topic-metadata">

**Author:** [@pappageo](https://forum.kirupa.com/u/pappageo)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 12:34pm UTC](https://forum.kirupa.com/t/simple-repeating-background-question/284856 "2009-03-24T12:34:38Z")

</div>

I have what I'm sure is a very simple question regarding a tiled background in flash. So simple that I'm a bit embarrassed to ask it! :crying: I used this tutorial to create a tiled background for my full browser flas…

---

## [\[Beta\] Beat 'em up Game Engine - Feedback!](https://forum.kirupa.com/t/beta-beat-em-up-game-engine-feedback/284853)

<div class="topic-metadata">

**Author:** [@pberre](https://forum.kirupa.com/u/pberre)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 12:10pm UTC](https://forum.kirupa.com/t/beta-beat-em-up-game-engine-feedback/284853 "2009-03-24T12:10:35Z")

</div>

This is a beat 'em up engine which is based on such games as Final Fight or Streets of Rage, but with the interactivity of Grand Theft Auto. You can steal cars, collect weapons and brawl your way towards the end of each …

---

## [CS3 and AS3 file not working in safari?](https://forum.kirupa.com/t/cs3-and-as3-file-not-working-in-safari/284850)

<div class="topic-metadata">

**Author:** [@jeros10](https://forum.kirupa.com/u/jeros10)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 11:49am UTC](https://forum.kirupa.com/t/cs3-and-as3-file-not-working-in-safari/284850 "2009-03-24T11:49:47Z")

</div>

I have a as3 website that works fine in firefox, but for some reason doesnt work in safari. i think it might be as3 coding, but not sure. anyone have suggestions?

---

## [Infinite menu speed](https://forum.kirupa.com/t/infinite-menu-speed/284842)

<div class="topic-metadata">

**Author:** [@a2n](https://forum.kirupa.com/u/a2n)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 11:00am UTC](https://forum.kirupa.com/t/infinite-menu-speed/284842 "2009-03-24T11:00:54Z")

</div>

Hi, I'm using this swf in a HTML site and it looks great, but when I start the navigation it speeds up a lot! I've tried to slow down the maximum speed but it still goes over, and really fast... This is my code: on…

---

## [Load image if no flash player?](https://forum.kirupa.com/t/load-image-if-no-flash-player/284841)

<div class="topic-metadata">

**Author:** [@maurice](https://forum.kirupa.com/u/maurice)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 10:30am UTC](https://forum.kirupa.com/t/load-image-if-no-flash-player/284841 "2009-03-24T10:30:24Z")

</div>

Is it possible to load a jpg in place of a flash object if no player is found on the viewers browser? I've figured out how to load an alternative page using "onload" as part of the body tag if no flash player is found,…

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

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