# programming

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

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

**Page:** 283

---

## [Loading a JS Variable into HTML page](https://forum.kirupa.com/t/loading-a-js-variable-into-html-page/321986)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [May 6, 2011, 2:15pm UTC](https://forum.kirupa.com/t/loading-a-js-variable-into-html-page/321986 "2011-05-06T14:15:16Z")

</div>

Hi - I have a variable instance in Javascript in my \<head\> I want to put this into an \<ahref\> tag .. how do I access this? at the moment I have been doing this.. \<a href="myFile.php?"+myVar\>my link\</a\> but it doesn…

---

## [Create a flash app to put data in a .txt file and save it?](https://forum.kirupa.com/t/create-a-flash-app-to-put-data-in-a-txt-file-and-save-it/321985)

<div class="topic-metadata">

**Author:** [@celestale](https://forum.kirupa.com/u/celestale)\
**Replies:** 0\
**Last updated:** [May 6, 2011, 1:36pm UTC](https://forum.kirupa.com/t/create-a-flash-app-to-put-data-in-a-txt-file-and-save-it/321985 "2011-05-06T13:36:25Z")

</div>

Hi guys, I just started doing AS3 for Flash and I’m trying to create a flash app that has 2 things inside. An InputTextBox which is called txt\_userinput and a Button called btn\_submit. Bascially, the user just need to t…

---

## [Movement of symbols HELP](https://forum.kirupa.com/t/movement-of-symbols-help/321984)

<div class="topic-metadata">

**Author:** [@Meena92](https://forum.kirupa.com/u/Meena92)\
**Replies:** 0\
**Last updated:** [May 6, 2011, 12:30pm UTC](https://forum.kirupa.com/t/movement-of-symbols-help/321984 "2011-05-06T12:30:43Z")

</div>

Hello I have been drawing a bee with different layers for each body parts as I wanted to animate the wings and antenna. I have make each of them a symbol(movie clip) However I want the bee to move across the page. I conv…

---

## [Free util - shows memory in use, free memory, fps, get trace() in browser](https://forum.kirupa.com/t/free-util-shows-memory-in-use-free-memory-fps-get-trace-in-browser/321983)

<div class="topic-metadata">

**Author:** [@burnandbass](https://forum.kirupa.com/u/burnandbass)\
**Replies:** 0\
**Last updated:** [May 6, 2011, 12:30pm UTC](https://forum.kirupa.com/t/free-util-shows-memory-in-use-free-memory-fps-get-trace-in-browser/321983 "2011-05-06T12:30:08Z")

</div>

This is one-class util, avaliable http://burnandbass.com/debug/#intro , on the page you can see demos, howto and more \[smile\] This util have several purposes - when is created on the stage is added stats bar, showing the…

---

## [Sockets - writeObject() problem](https://forum.kirupa.com/t/sockets-writeobject-problem/321979)

<div class="topic-metadata">

**Author:** [@unnikrisb](https://forum.kirupa.com/u/unnikrisb)\
**Replies:** 0\
**Last updated:** [May 6, 2011, 8:46am UTC](https://forum.kirupa.com/t/sockets-writeobject-problem/321979 "2011-05-06T08:46:13Z")

</div>

I want adobe sockets to send "customized" class object to a server socket(WinSock2). I used socket.writeObject(myClassObj). Actually My flash application and windows application works for string buffer but not for obj…

---

## [Cant make simple contact form work..?](https://forum.kirupa.com/t/cant-make-simple-contact-form-work/321975)

<div class="topic-metadata">

**Author:** [@djsquare214](https://forum.kirupa.com/u/djsquare214)\
**Replies:** 0\
**Last updated:** [May 6, 2011, 2:32am UTC](https://forum.kirupa.com/t/cant-make-simple-contact-form-work/321975 "2011-05-06T02:32:27Z")

</div>

Cant get it to work, im using dreamweaver. here is my php: \<?PHP $to = "e-bayd2@live.ca"; $subject = "Results from your Request Info form"; $headers = "From: Form Mailer"; $forward = 0; $location = ""; $date = date (…

---

## [How can I change the FPS of a layer?](https://forum.kirupa.com/t/how-can-i-change-the-fps-of-a-layer/321974)

<div class="topic-metadata">

**Author:** [@Chbook](https://forum.kirupa.com/u/Chbook)\
**Replies:** 0\
**Last updated:** [May 6, 2011, 1:02am UTC](https://forum.kirupa.com/t/how-can-i-change-the-fps-of-a-layer/321974 "2011-05-06T01:02:20Z")

</div>

Hello, I wish to show balls being added on everyframe. But I want to to be able to increase/decrease the speed of it without changing the speed of everything else. Can someone help me please (it is kind of urgent). Tha…

---

## [Adding video lightbox to link inside flash](https://forum.kirupa.com/t/adding-video-lightbox-to-link-inside-flash/321971)

<div class="topic-metadata">

**Author:** [@somdow](https://forum.kirupa.com/u/somdow)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 7:29pm UTC](https://forum.kirupa.com/t/adding-video-lightbox-to-link-inside-flash/321971 "2011-05-05T19:29:41Z")

</div>

Hello everyone. Ok so in short, what i want to do is, to have a button that when clicked, opens up a lightbox (in my case a video lightbox). check out the example link below http://somdowprod.net/4testing/test the…

---

## [Knowing when an object moved... Globally](https://forum.kirupa.com/t/knowing-when-an-object-moved-globally/321970)

<div class="topic-metadata">

**Author:** [@BoNzO](https://forum.kirupa.com/u/BoNzO)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 7:24pm UTC](https://forum.kirupa.com/t/knowing-when-an-object-moved-globally/321970 "2011-05-05T19:24:12Z")

</div>

Hello, I saw this question a few times here and there but it never had a satisfying answer... It may be that there really is no elegant way to solve this (Polling for change in ENTER\_FRAME is really bad!) but I've got …

---

## [\[AS3\] autosize and center Swf with maximum size restriction](https://forum.kirupa.com/t/as3-autosize-and-center-swf-with-maximum-size-restriction/321969)

<div class="topic-metadata">

**Author:** [@jaxx0rr](https://forum.kirupa.com/u/jaxx0rr)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 7:01pm UTC](https://forum.kirupa.com/t/as3-autosize-and-center-swf-with-maximum-size-restriction/321969 "2011-05-05T19:01:52Z")

</div>

it resizes the swf only for users with small screens so it will not fill screen even if exported with 100x100% I searched for this alot but managed to do it myself.. in case anyone needs: \<table style="width:100%; h…

---

## [Accessing Loop Variables Outwith Loop](https://forum.kirupa.com/t/accessing-loop-variables-outwith-loop/321968)

<div class="topic-metadata">

**Author:** [@CCG1993](https://forum.kirupa.com/u/CCG1993)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 6:59pm UTC](https://forum.kirupa.com/t/accessing-loop-variables-outwith-loop/321968 "2011-05-05T18:59:39Z")

</div>

Say, I had a loop in a function... function startLoop(event:Event):void{ for (var a = 0; a \< 5; a++){ } } ...How would I refer to a in another function Thanks, CCG199

---

## [Scope of Loaded SWFs - Please help!](https://forum.kirupa.com/t/scope-of-loaded-swfs-please-help/321967)

<div class="topic-metadata">

**Author:** [@SLCMemento](https://forum.kirupa.com/u/SLCMemento)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 6:38pm UTC](https://forum.kirupa.com/t/scope-of-loaded-swfs-please-help/321967 "2011-05-05T18:38:44Z")

</div>

Hey guys, thanks in advance for any help, these forums are proving to be excellent sources of learning AS. I recently changed the setup of my project from only having one SWF, to loading in my main SWF through a pre…

---

## [Adobe Air Proportionally Scale NativeWindow](https://forum.kirupa.com/t/adobe-air-proportionally-scale-nativewindow/321964)

<div class="topic-metadata">

**Author:** [@dstort1](https://forum.kirupa.com/u/dstort1)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 6:07pm UTC](https://forum.kirupa.com/t/adobe-air-proportionally-scale-nativewindow/321964 "2011-05-05T18:07:25Z")

</div>

Hey everyone, I was wondering if anyone knew how to proportionally resize a nativeWindow in air and maintain the same aspect ratio while resizing. I've tried searching and couldn't find any solutions to this problem. …

---

## [Load image from rss2?](https://forum.kirupa.com/t/load-image-from-rss2/321963)

<div class="topic-metadata">

**Author:** [@danieldmm](https://forum.kirupa.com/u/danieldmm)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 6:01pm UTC](https://forum.kirupa.com/t/load-image-from-rss2/321963 "2011-05-05T18:01:16Z")

</div>

Can anyone please show me how to load an image from this rss2? \<content:encoded\>

---

## [Classes problem](https://forum.kirupa.com/t/classes-problem/321961)

<div class="topic-metadata">

**Author:** [@danblukk](https://forum.kirupa.com/u/danblukk)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 4:38pm UTC](https://forum.kirupa.com/t/classes-problem/321961 "2011-05-05T16:38:55Z")

</div>

Hey I'm pretty new to action script and have been asked to create flocking behaviar with a seeker that the flock moves away from. I managed to find some code for flocking and seeking in separate classes and am having…

---

## [Using embedded fonts in authored textfields](https://forum.kirupa.com/t/using-embedded-fonts-in-authored-textfields/321960)

<div class="topic-metadata">

**Author:** [@heiny99](https://forum.kirupa.com/u/heiny99)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 4:32pm UTC](https://forum.kirupa.com/t/using-embedded-fonts-in-authored-textfields/321960 "2011-05-05T16:32:46Z")

</div>

hey all, I'm using an external .swf file to hold a few fonts. I then successfully import these fonts into my project .swf. If I publish the empty project .swf (meaning nothing on stage) and run the following script…

---

## [Help me with this please, Urgent](https://forum.kirupa.com/t/help-me-with-this-please-urgent/321958)

<div class="topic-metadata">

**Author:** [@LoveTheresa](https://forum.kirupa.com/u/LoveTheresa)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 3:18pm UTC](https://forum.kirupa.com/t/help-me-with-this-please-urgent/321958 "2011-05-05T15:18:42Z")

</div>

below is the attachment of the as3 preloader i'm using or u can go to todepoint.com/adi/as\_examples/loadAnimation/LoadAnim.as and here's my code import LoadAnim; var tv\_Sprite:Sprite = new Sprite(); var R\_1\_Light:…

---

## [Scene Error](https://forum.kirupa.com/t/scene-error/321955)

<div class="topic-metadata">

**Author:** [@tuimoftheeast](https://forum.kirupa.com/u/tuimoftheeast)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 2:47pm UTC](https://forum.kirupa.com/t/scene-error/321955 "2011-05-05T14:47:34Z")

</div>

I am working in flash and have created several different scenes that change when you click on buttons on the screen. For example on the first scene there is a button which jumps to the second scene etc. etc. The pro…

---

## [Problems in making Flash Register/Edit form](https://forum.kirupa.com/t/problems-in-making-flash-register-edit-form/321951)

<div class="topic-metadata">

**Author:** [@celestale](https://forum.kirupa.com/u/celestale)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 1:25pm UTC](https://forum.kirupa.com/t/problems-in-making-flash-register-edit-form/321951 "2011-05-05T13:25:36Z")

</div>

Hi peeps! I just started to learn flash and I would want to create a Flash register/edit form as my first flash application. Basically users can register using the form. After registering, the data will be sent to a serv…

---

## [Add intro to an existing flash file (do have the .fla-file)](https://forum.kirupa.com/t/add-intro-to-an-existing-flash-file-do-have-the-fla-file/321950)

<div class="topic-metadata">

**Author:** [@Ireath](https://forum.kirupa.com/u/Ireath)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 1:23pm UTC](https://forum.kirupa.com/t/add-intro-to-an-existing-flash-file-do-have-the-fla-file/321950 "2011-05-05T13:23:33Z")

</div>

Hi, Been reading and learning at this site for a while and when I encountered a big problem I thought I'd give it a shot for some help. To break it down, I have a corporate flash-file which is pretty advanced, muc…

---

## [AS3 ENTER\_FRAME delay in firing](https://forum.kirupa.com/t/as3-enter-frame-delay-in-firing/321949)

<div class="topic-metadata">

**Author:** [@atocp](https://forum.kirupa.com/u/atocp)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 1:16pm UTC](https://forum.kirupa.com/t/as3-enter-frame-delay-in-firing/321949 "2011-05-05T13:16:30Z")

</div>

Hi Guys and Girls, Its been a long time since i've posted on this forum. I've always just browsed, but never had enough experience to post and answer questions. I am doing a small project for uni, and im a little stuck…

---

## [\[Help, Urgent\] how to create a mouse over event that call a function after 3 second?](https://forum.kirupa.com/t/help-urgent-how-to-create-a-mouse-over-event-that-call-a-function-after-3-second/321947)

<div class="topic-metadata">

**Author:** [@LoveTheresa](https://forum.kirupa.com/u/LoveTheresa)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 12:46pm UTC](https://forum.kirupa.com/t/help-urgent-how-to-create-a-mouse-over-event-that-call-a-function-after-3-second/321947 "2011-05-05T12:46:04Z")

</div>

how to create a mouse over event that call a function after 3 second? I'm trying to create a function where when a mouse go over a sprite, it will count 3 second and call upon another new sprite, when mouse out before …

---

## [Buttons Inside Movieclips, Buttons Controling Movieclips](https://forum.kirupa.com/t/buttons-inside-movieclips-buttons-controling-movieclips/321945)

<div class="topic-metadata">

**Author:** [@varty101](https://forum.kirupa.com/u/varty101)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 11:15am UTC](https://forum.kirupa.com/t/buttons-inside-movieclips-buttons-controling-movieclips/321945 "2011-05-05T11:15:17Z")

</div>

Hi there I know that this is very basic Actionscript but I am having some serious issues. If anyone can help out, I would really appreciate it! It's just a simple navigation thing, with a strip of thumbnails that get…

---

## [Dynamically determining timeline length based on external FLV](https://forum.kirupa.com/t/dynamically-determining-timeline-length-based-on-external-flv/321944)

<div class="topic-metadata">

**Author:** [@skryne](https://forum.kirupa.com/u/skryne)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 11:07am UTC](https://forum.kirupa.com/t/dynamically-determining-timeline-length-based-on-external-flv/321944 "2011-05-05T11:07:24Z")

</div>

Hi All, I have run into a small AS2 related issue. We are working on a project which uses a JavaScript pre-loader linking to a SWF file which in turn calls an external FLV. The JavaScript will only play once 100% o…

---

## [Custom Google Maps into Flash CS4](https://forum.kirupa.com/t/custom-google-maps-into-flash-cs4/321939)

<div class="topic-metadata">

**Author:** [@venson](https://forum.kirupa.com/u/venson)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 10:06am UTC](https://forum.kirupa.com/t/custom-google-maps-into-flash-cs4/321939 "2011-05-05T10:06:16Z")

</div>

Hello everyone and Congrats to Kirupa! Is there a way to direct Google Maps to a specific URL so that it will load My Map? I have setup the "map" object but it displays the default map. I have also created My Maps in G…

---

## [Is it possible to differentiate between 'regular' and 'number pad' arrow keys?](https://forum.kirupa.com/t/is-it-possible-to-differentiate-between-regular-and-number-pad-arrow-keys/321938)

<div class="topic-metadata">

**Author:** [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 9:50am UTC](https://forum.kirupa.com/t/is-it-possible-to-differentiate-between-regular-and-number-pad-arrow-keys/321938 "2011-05-05T09:50:10Z")

</div>

I was just wondering if it is possible to differentiate between a press of the 'regular' arrow keys (i.e. the dedicated ones grouped to the right of the QWERTY layout) and the arrow keys on the number pad (that work when…

---

## [Duplicating swf's that are loaded in from an external URL](https://forum.kirupa.com/t/duplicating-swfs-that-are-loaded-in-from-an-external-url/321937)

<div class="topic-metadata">

**Author:** [@Osric](https://forum.kirupa.com/u/Osric)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 9:46am UTC](https://forum.kirupa.com/t/duplicating-swfs-that-are-loaded-in-from-an-external-url/321937 "2011-05-05T09:46:02Z")

</div>

Hey there, this is my first time turning to this forum for help. I'm being baffled by something, and I'm willing to bet there are people on this forum who can help me out. The prize if you do; lots of good karma from me \[…

---

## [Accessing stage items while main class inheritance](https://forum.kirupa.com/t/accessing-stage-items-while-main-class-inheritance/321936)

<div class="topic-metadata">

**Author:** [@rambosz](https://forum.kirupa.com/u/rambosz)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 9:35am UTC](https://forum.kirupa.com/t/accessing-stage-items-while-main-class-inheritance/321936 "2011-05-05T09:35:08Z")

</div>

I try to access stage items (made in flash graphics editor) through inherited class. But I can't I've made it this way 1. I made clip and it's main class (eg. timeline.as) - at this point it works 2. I put code from ma…

---

## [Error when writing data into a xml file using php](https://forum.kirupa.com/t/error-when-writing-data-into-a-xml-file-using-php/321933)

<div class="topic-metadata">

**Author:** [@Drapes](https://forum.kirupa.com/u/Drapes)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 8:18am UTC](https://forum.kirupa.com/t/error-when-writing-data-into-a-xml-file-using-php/321933 "2011-05-05T08:18:37Z")

</div>

This page contains the following errors: error on line 1 at column 1: Document is empty Below is a rendering of the page up to the first error. \<?php $username = "root"; $password = ""; $dbName = "Test"; $dbHost =…

---

## [Newbie Full screen vid problem](https://forum.kirupa.com/t/newbie-full-screen-vid-problem/321928)

<div class="topic-metadata">

**Author:** [@nimble111](https://forum.kirupa.com/u/nimble111)\
**Replies:** 0\
**Last updated:** [May 5, 2011, 4:01am UTC](https://forum.kirupa.com/t/newbie-full-screen-vid-problem/321928 "2011-05-05T04:01:21Z")

</div>

Hi there I am trying to make a fairly basic little standalone ap. A menu screen with Two buttons that play two seperate fullscreen FLV videos. AT the end of each video the menu screen reappears. I can make this wor…

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

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