# programming

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

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

**Page:** 534

---

## [Redefine a function](https://forum.kirupa.com/t/redefine-a-function/306645)

<div class="topic-metadata">

**Author:** [@Hausnfranz](https://forum.kirupa.com/u/Hausnfranz)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 11:44pm UTC](https://forum.kirupa.com/t/redefine-a-function/306645 "2010-03-18T23:44:48Z")

</div>

I would like to redefine the information within moveHighlight once I go to another frame, and was wondering how to do this with as3. I want to leave all the if statements alone, I just need to change the variables. Thi…

---

## [Custom Event and variable parameters count](https://forum.kirupa.com/t/custom-event-and-variable-parameters-count/306644)

<div class="topic-metadata">

**Author:** [@Talei](https://forum.kirupa.com/u/Talei)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 9:32pm UTC](https://forum.kirupa.com/t/custom-event-and-variable-parameters-count/306644 "2010-03-18T21:32:05Z")

</div>

Hello, This is more a question then a problem, so excuse me if I post it in a wrong category. What I want to know is: is it possible to create custom event with variable arguments count? I ask this because currently I us…

---

## [Multiple effects with a custom class](https://forum.kirupa.com/t/multiple-effects-with-a-custom-class/306641)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 8:51pm UTC](https://forum.kirupa.com/t/multiple-effects-with-a-custom-class/306641 "2010-03-18T20:51:25Z")

</div>

Hi, I created a class with some effects that I use most of the time, but I'm having a problem. What I have is a class, that contains three different effects, fade, scale and tint effects on a mouse over and they work f…

---

## [Script slows down and freezes](https://forum.kirupa.com/t/script-slows-down-and-freezes/306635)

<div class="topic-metadata">

**Author:** [@sjtrad](https://forum.kirupa.com/u/sjtrad)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 6:24pm UTC](https://forum.kirupa.com/t/script-slows-down-and-freezes/306635 "2010-03-18T18:24:10Z")

</div>

Hello guys i am not an expert (or close to that) in AS. I had to write a script that pulls image names out of a mysql database and load them into a flash. It's some kind of slide show, 2 movie clips objects that go from …

---

## [Children and go to next frame](https://forum.kirupa.com/t/children-and-go-to-next-frame/306634)

<div class="topic-metadata">

**Author:** [@izzeygarratt](https://forum.kirupa.com/u/izzeygarratt)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 6:14pm UTC](https://forum.kirupa.com/t/children-and-go-to-next-frame/306634 "2010-03-18T18:14:36Z")

</div>

Hi I am creating a breakout game and below is a part of my code: function updateGame(e:Event) { if (ball\_mc.hitTestObject(brickone\_mc)) { beepSound.play(); yVel\*=-1; removeChild(brickone\_mc); } if (ba…

---

## [URGENT FLVfullscreen loading issue](https://forum.kirupa.com/t/urgent-flvfullscreen-loading-issue/306632)

<div class="topic-metadata">

**Author:** [@know](https://forum.kirupa.com/u/know)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 5:16pm UTC](https://forum.kirupa.com/t/urgent-flvfullscreen-loading-issue/306632 "2010-03-18T17:16:01Z")

</div>

This is a very strange and baffling issue which has resulted in my first ever post. I am using the inbuilt FLV component with a fullscreen button to show several flash videos, each is on a separate frame on the timelin…

---

## [AS3\_video\_playlist\_flvplayer, unload flv](https://forum.kirupa.com/t/as3-video-playlist-flvplayer-unload-flv/306629)

<div class="topic-metadata">

**Author:** [@michaelafoley](https://forum.kirupa.com/u/michaelafoley)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 4:14pm UTC](https://forum.kirupa.com/t/as3-video-playlist-flvplayer-unload-flv/306629 "2010-03-18T16:14:16Z")

</div>

I have been playing around with some script in AS3 and cant seem to get the FLV to unload when the video gets to the end in my player using netStream. Or get the Play button disabled when the video ends. Can anyone help…

---

## [For Sale Nokia N97 mini $190, Sony Ericsson XPERIA X10 $200, Apple Tablet iPad](https://forum.kirupa.com/t/for-sale-nokia-n97-mini-190-sony-ericsson-xperia-x10-200-apple-tablet-ipad/306624)

<div class="topic-metadata">

**Author:** [@pias](https://forum.kirupa.com/u/pias)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 3:38pm UTC](https://forum.kirupa.com/t/for-sale-nokia-n97-mini-190-sony-ericsson-xperia-x10-200-apple-tablet-ipad/306624 "2010-03-18T15:38:59Z")

</div>

Shaadi Store Ltd We specialize in a wide range of products such as laptops, mobile phones, plasma & lcd tv, mp3 & mp4 players, video games console, digital cameras, dvd players (Etc) at cheap & affordable prices. We…

---

## [Need help with jQuery and IE](https://forum.kirupa.com/t/need-help-with-jquery-and-ie/306622)

<div class="topic-metadata">

**Author:** [@jarrod\_exe](https://forum.kirupa.com/u/jarrod_exe)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 3:32pm UTC](https://forum.kirupa.com/t/need-help-with-jquery-and-ie/306622 "2010-03-18T15:32:30Z")

</div>

So Im pretty new to jQuery and having major issues with getting some script to work in IE only. Any help would be most appreciated. You can check out the code at: http://www.uaf.com/default2.htm (jquery is in the…

---

## [Crossdomain xml Google meteo](https://forum.kirupa.com/t/crossdomain-xml-google-meteo/306621)

<div class="topic-metadata">

**Author:** [@LS05](https://forum.kirupa.com/u/LS05)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 3:16pm UTC](https://forum.kirupa.com/t/crossdomain-xml-google-meteo/306621 "2010-03-18T15:16:53Z")

</div>

I've a problem with crossdomain xml. I load the google meteo xml in my flash file to show specifics weather conditions...when i load the flash file in my local drive it's all ok but when i load the flash file online it d…

---

## [Camera following character?](https://forum.kirupa.com/t/camera-following-character/306620)

<div class="topic-metadata">

**Author:** [@ubergoten](https://forum.kirupa.com/u/ubergoten)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 3:06pm UTC](https://forum.kirupa.com/t/camera-following-character/306620 "2010-03-18T15:06:59Z")

</div>

Hey everyone, I'm trying to figure out how to code a proper camera to follow the character around the stage. I have the camera set up and everything but I can't figure out the math (as basic as it should be) to do it p…

---

## [Can anyone provide code for displaying a .swf in a C# container?](https://forum.kirupa.com/t/can-anyone-provide-code-for-displaying-a-swf-in-a-c-container/306618)

<div class="topic-metadata">

**Author:** [@rotaercz](https://forum.kirupa.com/u/rotaercz)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 2:18pm UTC](https://forum.kirupa.com/t/can-anyone-provide-code-for-displaying-a-swf-in-a-c-container/306618 "2010-03-18T14:18:50Z")

</div>

I know you can use AIR but wanted something more independent. Can anyone provide me some skeleton code that has a .swf inside a C# container? It would be nice if the C# container has sample code that receives events from…

---

## [Borders causing DIV to drop?](https://forum.kirupa.com/t/borders-causing-div-to-drop/306617)

<div class="topic-metadata">

**Author:** [@drjugears](https://forum.kirupa.com/u/drjugears)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 2:09pm UTC](https://forum.kirupa.com/t/borders-causing-div-to-drop/306617 "2010-03-18T14:09:28Z")

</div>

Hello there. Having a slight problem with a page I'm trying to build. I noticed when I zoom out in firefox ( using ctrl+ - ) the far right DIV drops. This only happens when I have a 1 pixel border around each box. Wi…

---

## [AS2 - problem with scaling and projection on stage](https://forum.kirupa.com/t/as2-problem-with-scaling-and-projection-on-stage/306615)

<div class="topic-metadata">

**Author:** [@eNDe](https://forum.kirupa.com/u/eNDe)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 12:28pm UTC](https://forum.kirupa.com/t/as2-problem-with-scaling-and-projection-on-stage/306615 "2010-03-18T12:28:01Z")

</div>

i have a following problem with displaying a scaled and moved image. cliffs: 1. create movieclip 2. draw a square inside, with a starting point (top left corner) in (75000, 75000) 3. move the movie clip so that the squar…

---

## [FileUploader FlashPlayer 9?](https://forum.kirupa.com/t/fileuploader-flashplayer-9/306614)

<div class="topic-metadata">

**Author:** [@Dimitree](https://forum.kirupa.com/u/Dimitree)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 12:19pm UTC](https://forum.kirupa.com/t/fileuploader-flashplayer-9/306614 "2010-03-18T12:19:27Z")

</div>

I know this can be done in FP 10 but how can I using FP9 upload an image to server and add it on stage after uploaded? ...So far I managed to upload image using Filereference class and PHP. I would like this image to be …

---

## [Movie Clips Export Problem](https://forum.kirupa.com/t/movie-clips-export-problem/306613)

<div class="topic-metadata">

**Author:** [@solmartin](https://forum.kirupa.com/u/solmartin)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 12:02pm UTC](https://forum.kirupa.com/t/movie-clips-export-problem/306613 "2010-03-18T12:02:30Z")

</div>

Hi there all, I'm hoping someone can give some wisdom and insight: (preface) My Flash video is basically a long slideshow, consisting of 65 movie clip graphics that move in and out in various patterns. At the start…

---

## [mySQL query with php in flash dynamic text field](https://forum.kirupa.com/t/mysql-query-with-php-in-flash-dynamic-text-field/306612)

<div class="topic-metadata">

**Author:** [@ts87](https://forum.kirupa.com/u/ts87)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 11:33am UTC](https://forum.kirupa.com/t/mysql-query-with-php-in-flash-dynamic-text-field/306612 "2010-03-18T11:33:35Z")

</div>

Hello! I have made flash web site with registration form. Now i'm trying to make some kind of module for it. I have one dynamic text field in which i want to load the info for the current user. So i made the dynamic text…

---

## [Animations advise](https://forum.kirupa.com/t/animations-advise/306611)

<div class="topic-metadata">

**Author:** [@LS05](https://forum.kirupa.com/u/LS05)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 10:58am UTC](https://forum.kirupa.com/t/animations-advise/306611 "2010-03-18T10:58:04Z")

</div>

Hi guys, I have seen this site: http://www.salajucais.com/jucais\_pc.html If you click on sala jucais or eventos or localizcion you will se an animation that appears to show the content. Can somebody help me to recreate t…

---

## [Resize before loading content..?](https://forum.kirupa.com/t/resize-before-loading-content/306610)

<div class="topic-metadata">

**Author:** [@jamrobot](https://forum.kirupa.com/u/jamrobot)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 10:53am UTC](https://forum.kirupa.com/t/resize-before-loading-content/306610 "2010-03-18T10:53:32Z")

</div>

Hi there, im making a fully flash website and am trying to make all the content resizeable. I've put all my content into a movie clip called 'allmenu' and am resizing it with a timer .. it always on stage though, is ther…

---

## [Papervision Reflection Problem](https://forum.kirupa.com/t/papervision-reflection-problem/306606)

<div class="topic-metadata">

**Author:** [@Booknerd](https://forum.kirupa.com/u/Booknerd)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 10:06am UTC](https://forum.kirupa.com/t/papervision-reflection-problem/306606 "2010-03-18T10:06:41Z")

</div>

I just started learn papervision. I am trying to do a reflection map on the plane. The result is i can only see the model on stage, but i can't see any reflection map on it. Is there anyone who can help? The following …

---

## [Converting E4X into external XML](https://forum.kirupa.com/t/converting-e4x-into-external-xml/306605)

<div class="topic-metadata">

**Author:** [@IanCremona](https://forum.kirupa.com/u/IanCremona)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 9:49am UTC](https://forum.kirupa.com/t/converting-e4x-into-external-xml/306605 "2010-03-18T09:49:33Z")

</div>

Currently my class code looks like this: \[AS\]package { import flash.display.MovieClip; //import flash.net.URLLoader; import mcPromotion; import mcContent; import addTest; public class BannerClassEN extends Movie…

---

## [Error in code](https://forum.kirupa.com/t/error-in-code/306603)

<div class="topic-metadata">

**Author:** [@RebeccaLessay](https://forum.kirupa.com/u/RebeccaLessay)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 9:24am UTC](https://forum.kirupa.com/t/error-in-code/306603 "2010-03-18T09:24:03Z")

</div>

Hey, I'm currently working on a sliding puzzle game. I wrote a code where the block is only supposed to move if it's current spot in array -1, +1, -5, +5 is null. If its not its should trace "end" But now I set the arr…

---

## [Help : AS2 If()](https://forum.kirupa.com/t/help-as2-if/306602)

<div class="topic-metadata">

**Author:** [@Vorkit](https://forum.kirupa.com/u/Vorkit)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 8:44am UTC](https://forum.kirupa.com/t/help-as2-if/306602 "2010-03-18T08:44:50Z")

</div>

Heya guys! I need some help with a project. I want to show myMessage when score reaches 10. But these lines doesnt work. Someone know how to continue? score = 0; if (score = 10) { myMessage.text ="WIN!"; }

---

## [How to load the text into dynamic text field?](https://forum.kirupa.com/t/how-to-load-the-text-into-dynamic-text-field/306600)

<div class="topic-metadata">

**Author:** [@palanivelrajan](https://forum.kirupa.com/u/palanivelrajan)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 7:44am UTC](https://forum.kirupa.com/t/how-to-load-the-text-into-dynamic-text-field/306600 "2010-03-18T07:44:09Z")

</div>

I have a class and function and I have to load my text through class-\>function here is my code public function loadtext():void{ var text\_arry:Array=new Array(xmldata.child(0).name); student\_name.text=String(text\_…

---

## [Mailer.php not always sending mail](https://forum.kirupa.com/t/mailer-php-not-always-sending-mail/306599)

<div class="topic-metadata">

**Author:** [@brantome](https://forum.kirupa.com/u/brantome)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 7:27am UTC](https://forum.kirupa.com/t/mailer-php-not-always-sending-mail/306599 "2010-03-18T07:27:18Z")

</div>

Hi, first time using PHP or setting up a form for my nephew's website using Not2sure's script at http://www.kirupa.com/web/form\_mailer.htm (although I'm an old ex-mainframe techy who'll have a go at any piece of code I s…

---

## [CMS (opensource if possible) for as3](https://forum.kirupa.com/t/cms-opensource-if-possible-for-as3/306597)

<div class="topic-metadata">

**Author:** [@luka66\_6](https://forum.kirupa.com/u/luka66_6)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 6:16am UTC](https://forum.kirupa.com/t/cms-opensource-if-possible-for-as3/306597 "2010-03-18T06:16:51Z")

</div>

Hi I would like to know if there are any good flash cms solutions for as3 preferably open source. What are you guys using? Do you develop your own cms system or you just did it once and now u use it all the time? reg…

---

## [getURL() dynamic variables as url target](https://forum.kirupa.com/t/geturl-dynamic-variables-as-url-target/306594)

<div class="topic-metadata">

**Author:** [@Whitnemp](https://forum.kirupa.com/u/Whitnemp)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 4:18am UTC](https://forum.kirupa.com/t/geturl-dynamic-variables-as-url-target/306594 "2010-03-18T04:18:38Z")

</div>

Hello once again Kirupa Community. Here's my code: // Set the position and nodecount variable here var position = 50; var nodecount = 4; // create xml object and load file var myXML:XML = new XML(); myXML.ignoreWh…

---

## [Help: Optimizing script using for](https://forum.kirupa.com/t/help-optimizing-script-using-for/306592)

<div class="topic-metadata">

**Author:** [@zeembry](https://forum.kirupa.com/u/zeembry)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 2:35am UTC](https://forum.kirupa.com/t/help-optimizing-script-using-for/306592 "2010-03-18T02:35:41Z")

</div>

Dear All, i'm trying to optimizing the script below, but i have problem. Please kindly help me to solve this problem. Thanks in advanced... /\* su=0; onEnterFrame=function() { if( su == 1 ) trace(1); if(…

---

## [as3 database question. php mysql](https://forum.kirupa.com/t/as3-database-question-php-mysql/306590)

<div class="topic-metadata">

**Author:** [@mgarsteck](https://forum.kirupa.com/u/mgarsteck)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 1:48am UTC](https://forum.kirupa.com/t/as3-database-question-php-mysql/306590 "2010-03-18T01:48:08Z")

</div>

nothing seems to be happening here when i hit the send button. I dont get any errors or anything. Just nothing happens. basically all I want to do here is have them fill it out, those variables are sent to the php whi…

---

## [Preloader Help with an enter button](https://forum.kirupa.com/t/preloader-help-with-an-enter-button/306589)

<div class="topic-metadata">

**Author:** [@lazereth](https://forum.kirupa.com/u/lazereth)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 12:54am UTC](https://forum.kirupa.com/t/preloader-help-with-an-enter-button/306589 "2010-03-18T00:54:35Z")

</div>

Hey I love how clients make you change things left and right but ohhh well. I was wondering if any of you can help me out a little. I have a preloader that loads a external SWF in a movie clip on the main timeline.…

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

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