# programming

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

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

**Page:** 1537

---

## [Alternative to blind loops](https://forum.kirupa.com/t/alternative-to-blind-loops/239351)

<div class="topic-metadata">

**Author:** [@substance](https://forum.kirupa.com/u/substance)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 7:22pm UTC](https://forum.kirupa.com/t/alternative-to-blind-loops/239351 "2007-09-20T19:22:05Z")

</div>

I'm working on a small game that has a basic hero and enemies. The hero shoots the enemies when they get within a certain range of him. As of now I have looping through the enemies, getting the distance between them and …

---

## [Web Archive File (.webarchive)](https://forum.kirupa.com/t/web-archive-file-webarchive/239349)

<div class="topic-metadata">

**Author:** [@Zaiah](https://forum.kirupa.com/u/Zaiah)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 6:55pm UTC](https://forum.kirupa.com/t/web-archive-file-webarchive/239349 "2007-09-20T18:55:18Z")

</div>

Hope someone can help. I recently received a file with the extension ".webarchive". It appears it was created using Safari. I've searched the web and tried everything suggested, even downloading a version of Safari for …

---

## [Component will not animate](https://forum.kirupa.com/t/component-will-not-animate/239347)

<div class="topic-metadata">

**Author:** [@michaelmedia](https://forum.kirupa.com/u/michaelmedia)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 6:26pm UTC](https://forum.kirupa.com/t/component-will-not-animate/239347 "2007-09-20T18:26:40Z")

</div>

Folks, I have a text area component bound to an XMLconnector component. everything seems to be working fine as far as parsing the xml data. Now, I created a MC on stage with the text area comp. included. The goal for…

---

## [Event.COMPLETE on Loader with target](https://forum.kirupa.com/t/event-complete-on-loader-with-target/239346)

<div class="topic-metadata">

**Author:** [@jessejamesricha](https://forum.kirupa.com/u/jessejamesricha)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 6:25pm UTC](https://forum.kirupa.com/t/event-complete-on-loader-with-target/239346 "2007-09-20T18:25:56Z")

</div>

When adding a listener to loading content for complete how do I retain the name or id of that loaded content? Basically I'm loading an image or swf and I want text to load over top, but I need the width and height of the…

---

## [MouseEvent.MOUSE\_WHEEL's delta property](https://forum.kirupa.com/t/mouseevent-mouse-wheels-delta-property/239345)

<div class="topic-metadata">

**Author:** [@grandpaw\_broon](https://forum.kirupa.com/u/grandpaw_broon)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 6:14pm UTC](https://forum.kirupa.com/t/mouseevent-mouse-wheels-delta-property/239345 "2007-09-20T18:14:22Z")

</div>

Hi! I am trying to work with eventobject.delta. I have managed to trace a +3 or -3 in the debug window but my question relations generically to AS. How do you determine between a positive or negative value? On my…

---

## [Picture Quality](https://forum.kirupa.com/t/picture-quality/239343)

<div class="topic-metadata">

**Author:** [@huckwalton](https://forum.kirupa.com/u/huckwalton)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 5:59pm UTC](https://forum.kirupa.com/t/picture-quality/239343 "2007-09-20T17:59:08Z")

</div>

My pictures always seem to be a little pixelated. Just a little not right. I unfortunately have to use a lot of raster graphics in my flash sites. I usually make the graphic in Fireworks 8 and then import them to my flas…

---

## [Background pattern problem, css](https://forum.kirupa.com/t/background-pattern-problem-css/239342)

<div class="topic-metadata">

**Author:** [@HandyMan](https://forum.kirupa.com/u/HandyMan)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 5:58pm UTC](https://forum.kirupa.com/t/background-pattern-problem-css/239342 "2007-09-20T17:58:55Z")

</div>

CLICK HERE to see the site this problem is regarding. My problem is that the beckground patterns is not doin well with the main content of the site, if u look at the edges of the main content, u see that the pattern does…

---

## [REALLY wound me up. Flex not seeing debug](https://forum.kirupa.com/t/really-wound-me-up-flex-not-seeing-debug/239339)

<div class="topic-metadata">

**Author:** [@grandpaw\_broon](https://forum.kirupa.com/u/grandpaw_broon)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 5:22pm UTC](https://forum.kirupa.com/t/really-wound-me-up-flex-not-seeing-debug/239339 "2007-09-20T17:22:01Z")

</div>

This kills me. I have had it before and formatted my PC so forgot about it. I have installed the debugger player, it worked yesterday. Nothing has happened or changed since lastnight.... i had a good idea.... went to i…

---

## [Decimal Place Question](https://forum.kirupa.com/t/decimal-place-question/239335)

<div class="topic-metadata">

**Author:** [@540media](https://forum.kirupa.com/u/540media)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 4:44pm UTC](https://forum.kirupa.com/t/decimal-place-question/239335 "2007-09-20T16:44:48Z")

</div>

Can anyone help me out with this? I've set up 10 text boxes to have a random number placed in them, this number needs to be to one decimal place I've added the below code and it work fine except that when the number …

---

## [iPhone Album Slider](https://forum.kirupa.com/t/iphone-album-slider/239334)

<div class="topic-metadata">

**Author:** [@diegooriani](https://forum.kirupa.com/u/diegooriani)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 4:44pm UTC](https://forum.kirupa.com/t/iphone-album-slider/239334 "2007-09-20T16:44:14Z")

</div>

Hi, I looking for a tutorial or something similiar as the "iPhone Album Slider". Is it possible to simulate that on flash? Is it possible interact with video imported on flash? Do I need to export this video as a ima…

---

## [Flash & PHP](https://forum.kirupa.com/t/flash-php/239332)

<div class="topic-metadata">

**Author:** [@nasmule](https://forum.kirupa.com/u/nasmule)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 4:26pm UTC](https://forum.kirupa.com/t/flash-php/239332 "2007-09-20T16:26:22Z")

</div>

Hello, I have built a contact form in Flash and have linked it up to a PHP file so the results can be sent to me via e-mail. Everything is working fine and I'm getting the info via e-mail, however, once you press "send"…

---

## [$\_SESSION problem](https://forum.kirupa.com/t/-session-problem/239328)

<div class="topic-metadata">

**Author:** [@imagined](https://forum.kirupa.com/u/imagined)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 4:00pm UTC](https://forum.kirupa.com/t/-session-problem/239328 "2007-09-20T16:00:31Z")

</div>

I used to name the $SESSION variable $SESSION\['user'\]. I was logged in with my webhosting provider. I tried to echo the session variable and my username of my webhosting provider would echo instead of the username of the…

---

## [Another Array question](https://forum.kirupa.com/t/another-array-question/239327)

<div class="topic-metadata">

**Author:** [@bennymartensson](https://forum.kirupa.com/u/bennymartensson)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 3:56pm UTC](https://forum.kirupa.com/t/another-array-question/239327 "2007-09-20T15:56:23Z")

</div>

I have this way of clicking through an array (called images) of jpg's. How to make my rew button allowing me to go backwards? Or is there an easier way to do this? var ffCount:Number = -1; function ffLarge(event:Event…

---

## [Hyperlinks to swf](https://forum.kirupa.com/t/hyperlinks-to-swf/239326)

<div class="topic-metadata">

**Author:** [@punkerton](https://forum.kirupa.com/u/punkerton)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 3:44pm UTC](https://forum.kirupa.com/t/hyperlinks-to-swf/239326 "2007-09-20T15:44:51Z")

</div>

I need some help getting html links to talk to flash. I've got a Flash site that has some html footer for search engines' sake. What I want is for the footer nav to be able to speak to the flash part of the site. I kn…

---

## [Feature Story Rotate Help {files included}](https://forum.kirupa.com/t/feature-story-rotate-help-files-included/239324)

<div class="topic-metadata">

**Author:** [@hal9000](https://forum.kirupa.com/u/hal9000)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 3:27pm UTC](https://forum.kirupa.com/t/feature-story-rotate-help-files-included/239324 "2007-09-20T15:27:14Z")

</div>

FILES: http://209.160.13.39/dev/rotate\_feature.zip Hello all!, I have attached a zip file with my current status on creating a Feature Story Rotator. The effect I am trying to achieve can be view at http://www.gett…

---

## [Date Calculation](https://forum.kirupa.com/t/date-calculation/239322)

<div class="topic-metadata">

**Author:** [@rhanna2](https://forum.kirupa.com/u/rhanna2)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 2:46pm UTC](https://forum.kirupa.com/t/date-calculation/239322 "2007-09-20T14:46:00Z")

</div>

Hello, I have a basic question regarding calculating the difference between two days. The user will enter two dates in input text fields and I need to calculate the number of days difference between them. For example…

---

## [Trying to Fade movie clips out using the Tween class](https://forum.kirupa.com/t/trying-to-fade-movie-clips-out-using-the-tween-class/239318)

<div class="topic-metadata">

**Author:** [@kchill](https://forum.kirupa.com/u/kchill)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 1:24pm UTC](https://forum.kirupa.com/t/trying-to-fade-movie-clips-out-using-the-tween-class/239318 "2007-09-20T13:24:55Z")

</div>

I am pretty sure that I am posting this question in the wrong place, but I am doing so in the hopes that someone will point me in the right direction and perhaps answer my question. I have created 3 movie clips and put t…

---

## [360 degree xml product viewer problems](https://forum.kirupa.com/t/360-degree-xml-product-viewer-problems/239314)

<div class="topic-metadata">

**Author:** [@anon45720911](https://forum.kirupa.com/u/anon45720911)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 1:11pm UTC](https://forum.kirupa.com/t/360-degree-xml-product-viewer-problems/239314 "2007-09-20T13:11:03Z")

</div>

These days you see more ofthen flash application containing 360 degree presentations of products. At the moment I'm trying to make one myself using xml instead of the old fashion timeline image strip method. What I'm t…

---

## [addFrameScript + Arguments in call function](https://forum.kirupa.com/t/addframescript-arguments-in-call-function/239313)

<div class="topic-metadata">

**Author:** [@parxal](https://forum.kirupa.com/u/parxal)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 1:03pm UTC](https://forum.kirupa.com/t/addframescript-arguments-in-call-function/239313 "2007-09-20T13:03:44Z")

</div>

How can i pass arguments to the function that i call in addFrameScript ? This does not work: mc.addFrameScript(mc.totalFrames-1,myFunction(2)); private function myFunction(e:int):void { trace(e); } The functio…

---

## [Cancel code-based Tween](https://forum.kirupa.com/t/cancel-code-based-tween/239310)

<div class="topic-metadata">

**Author:** [@drummondlw](https://forum.kirupa.com/u/drummondlw)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 12:24pm UTC](https://forum.kirupa.com/t/cancel-code-based-tween/239310 "2007-09-20T12:24:38Z")

</div>

Hi, I am having some problems with Tween behaviour. I have two 'pages' which are DisplayObjects with children. On the first I have an object that has a default position and it can also be tweened to a 'yes' or 'no' pos…

---

## [Need help to make flash fullscreen - in all browsers](https://forum.kirupa.com/t/need-help-to-make-flash-fullscreen-in-all-browsers/239308)

<div class="topic-metadata">

**Author:** [@smyls](https://forum.kirupa.com/u/smyls)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 11:15am UTC](https://forum.kirupa.com/t/need-help-to-make-flash-fullscreen-in-all-browsers/239308 "2007-09-20T11:15:25Z")

</div>

Hi I need help to make a link on my site wich loads a page that shows my flash (v.7) in fullscreen mode. (Not fullscreen 100% every sides, but i want it so big as possible without ruin the proportion of the flash) Fi…

---

## [Simple Physics](https://forum.kirupa.com/t/simple-physics/239307)

<div class="topic-metadata">

**Author:** [@sceneshift](https://forum.kirupa.com/u/sceneshift)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 11:11am UTC](https://forum.kirupa.com/t/simple-physics/239307 "2007-09-20T11:11:50Z")

</div>

Hey guys, I was wondering if someone could point me in the direction of some very simple AS3 physics tutorials. I have been googling for ages but all I can find is advanced tutorials and physics engines. All I am tryin…

---

## [Saving Javascript to database](https://forum.kirupa.com/t/saving-javascript-to-database/239305)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 10:45am UTC](https://forum.kirupa.com/t/saving-javascript-to-database/239305 "2007-09-20T10:45:58Z")

</div>

Hello Just a quick question. Whats the best way to store javascript into a MySQL database using php? Cheers

---

## [Silent URL Load](https://forum.kirupa.com/t/silent-url-load/239303)

<div class="topic-metadata">

**Author:** [@the\_polaris](https://forum.kirupa.com/u/the_polaris)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 10:30am UTC](https://forum.kirupa.com/t/silent-url-load/239303 "2007-09-20T10:30:35Z")

</div>

Hello all I've made a flash page and I want when a user view my flash a url loads in the flash silently i've tryed getURL method but when the URL loads in the flash the page changes but I don't want the page change .th…

---

## [Keeping loaded SWF visible](https://forum.kirupa.com/t/keeping-loaded-swf-visible/239302)

<div class="topic-metadata">

**Author:** [@mikeym](https://forum.kirupa.com/u/mikeym)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 10:19am UTC](https://forum.kirupa.com/t/keeping-loaded-swf-visible/239302 "2007-09-20T10:19:09Z")

</div>

Hello, I have a problem that’s been bugging me for months, and would be hugely grateful for any assistance. I’ve built my site using external SWFS. The problem is; I want to keep the loaded SWF viewable until the nex…

---

## [Sound in firefox](https://forum.kirupa.com/t/sound-in-firefox/239301)

<div class="topic-metadata">

**Author:** [@rajesh\_kumar78](https://forum.kirupa.com/u/rajesh_kumar78)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 10:06am UTC](https://forum.kirupa.com/t/sound-in-firefox/239301 "2007-09-20T10:06:31Z")

</div>

System.security.allowDomain("172.20.180.20") var mySound:Sound = new Sound(); mySound.loadSound("http://172.20.180.20/radioscape/user/flash/test1.mp3"); mySound.onLoad = function(success) { if (success) { mySound.start()…

---

## [Whats the Flash equivalent to load URL?](https://forum.kirupa.com/t/whats-the-flash-equivalent-to-load-url/239300)

<div class="topic-metadata">

**Author:** [@Torq](https://forum.kirupa.com/u/Torq)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 9:46am UTC](https://forum.kirupa.com/t/whats-the-flash-equivalent-to-load-url/239300 "2007-09-20T09:46:00Z")

</div>

Basically what I have is a url that PHP will run if you call get\_headers(). I'm looking for a similar command in Flash. I've tried load(), and send(). load() says retrieving but it doesn't seem to work. send() works but …

---

## [TextField cursor / caret](https://forum.kirupa.com/t/textfield-cursor-caret/239298)

<div class="topic-metadata">

**Author:** [@drummondlw](https://forum.kirupa.com/u/drummondlw)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 9:42am UTC](https://forum.kirupa.com/t/textfield-cursor-caret/239298 "2007-09-20T09:42:44Z")

</div>

Hi, I am wondering how to make the cursor visible in a TextField (either flashing or still). I have created an on screen keyboard to use with a TextField so that the TextField doesn't receive direct keyboard/mouse inpu…

---

## ['Highlight'/'rollover' effect for thumbnail image loaded into flash?](https://forum.kirupa.com/t/highlight-rollover-effect-for-thumbnail-image-loaded-into-flash/239297)

<div class="topic-metadata">

**Author:** [@jarmanje](https://forum.kirupa.com/u/jarmanje)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 9:33am UTC](https://forum.kirupa.com/t/highlight-rollover-effect-for-thumbnail-image-loaded-into-flash/239297 "2007-09-20T09:33:57Z")

</div>

Hello, I load my thumbnail into flash this way: material.holder.loadMovie("material.png") material.holder.\_xscale = 75; material.holder.\_yscale = 75; how can i make it so when the user rollsover the image loaded, i…

---

## [Controlling multiple movie clip location using single function](https://forum.kirupa.com/t/controlling-multiple-movie-clip-location-using-single-function/239295)

<div class="topic-metadata">

**Author:** [@shaji](https://forum.kirupa.com/u/shaji)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 9:17am UTC](https://forum.kirupa.com/t/controlling-multiple-movie-clip-location-using-single-function/239295 "2007-09-20T09:17:53Z")

</div>

I need to write a function which should fix the location of the movie clip on the stage. public function setCoOrdinates(xpos:Number,ypos:Number,movieName:String):Void { eval(movieName).\_x=xpos; eval…

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

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