# programming

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

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

**Page:** 221

---

## [Login Form Help as3](https://forum.kirupa.com/t/login-form-help-as3/325552)

<div class="topic-metadata">

**Author:** [@duchman](https://forum.kirupa.com/u/duchman)\
**Replies:** 0\
**Last updated:** [October 22, 2011, 1:22pm UTC](https://forum.kirupa.com/t/login-form-help-as3/325552 "2011-10-22T13:22:59Z")

</div>

I have two arrays of strings containing usernames and passwords for login, var uN:Array; var pW:Array; uN = \["fla","fli","flu"\]; pW = \["adv","advi","advu"\]; I need to do a function which will compare the positions of…

---

## [Kirupa Contact Form PHP not working (sending to Yahoo)](https://forum.kirupa.com/t/kirupa-contact-form-php-not-working-sending-to-yahoo/325550)

<div class="topic-metadata">

**Author:** [@Paul\_Bullock](https://forum.kirupa.com/u/Paul_Bullock)\
**Replies:** 0\
**Last updated:** [October 21, 2011, 9:03pm UTC](https://forum.kirupa.com/t/kirupa-contact-form-php-not-working-sending-to-yahoo/325550 "2011-10-21T21:03:29Z")

</div>

Hi, I have setup up the contact form and mailer.php script, however when i submit the contact form and set the $to = to a yahoo email i do not receive any emails. When i set it to info@mydomainname.co.uk it works? S…

---

## [Making video fullscreen without scaling interface controls](https://forum.kirupa.com/t/making-video-fullscreen-without-scaling-interface-controls/325547)

<div class="topic-metadata">

**Author:** [@Boreez](https://forum.kirupa.com/u/Boreez)\
**Replies:** 0\
**Last updated:** [October 21, 2011, 7:47pm UTC](https://forum.kirupa.com/t/making-video-fullscreen-without-scaling-interface-controls/325547 "2011-10-21T19:47:46Z")

</div>

Sites like http://www.thedailyshow.com/ are doing what I need to do. When you go fullscreen with their video, the bottom video controls and the top social media bar aren't scaled. They adjust themselves in width, but the…

---

## [How to use one movie clip on several layers with few modifications?](https://forum.kirupa.com/t/how-to-use-one-movie-clip-on-several-layers-with-few-modifications/325546)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [October 21, 2011, 7:38pm UTC](https://forum.kirupa.com/t/how-to-use-one-movie-clip-on-several-layers-with-few-modifications/325546 "2011-10-21T19:38:41Z")

</div>

Hi, I have a movie clip which has several objects including text adjusted nicely. This is like a template type movie clip which I need to use it on around 15 layers with some modifications (Like text, images, calendar …

---

## [Drag Drop Rotate Multiple MCs in AS2](https://forum.kirupa.com/t/drag-drop-rotate-multiple-mcs-in-as2/325545)

<div class="topic-metadata">

**Author:** [@elusivemuse](https://forum.kirupa.com/u/elusivemuse)\
**Replies:** 0\
**Last updated:** [October 21, 2011, 7:23pm UTC](https://forum.kirupa.com/t/drag-drop-rotate-multiple-mcs-in-as2/325545 "2011-10-21T19:23:12Z")

</div>

Hello. I'm trying to have multiple movie clips that you can drag and drop; and rotate using the key Press Left. I can make them drag and drop independently, but when trying to rotate each movie clip independently, only t…

---

## [How to use if condition in a function mentioning the area?](https://forum.kirupa.com/t/how-to-use-if-condition-in-a-function-mentioning-the-area/325543)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [October 21, 2011, 6:23pm UTC](https://forum.kirupa.com/t/how-to-use-if-condition-in-a-function-mentioning-the-area/325543 "2011-10-21T18:23:43Z")

</div>

Hi, How can I use if condition in a function? If my mouse cursor not in the following area: between x:150 & x:250 between y:50 & 350 Then the following condition to be applied: function areaOut(e:MouseEvent):void…

---

## [Accessing a property?](https://forum.kirupa.com/t/accessing-a-property/325542)

<div class="topic-metadata">

**Author:** [@ronmac](https://forum.kirupa.com/u/ronmac)\
**Replies:** 0\
**Last updated:** [October 21, 2011, 5:46pm UTC](https://forum.kirupa.com/t/accessing-a-property/325542 "2011-10-21T17:46:01Z")

</div>

I'm having a small problem here. I'm attaching an array of objects to the stage, each with a size, x and y values. I have 2 values for the y property (y1 and y2). So when I attach the objects to the stage y property…

---

## [Event: EnterFrame in a clock example?](https://forum.kirupa.com/t/event-enterframe-in-a-clock-example/325540)

<div class="topic-metadata">

**Author:** [@chespy](https://forum.kirupa.com/u/chespy)\
**Replies:** 0\
**Last updated:** [October 21, 2011, 3:34pm UTC](https://forum.kirupa.com/t/event-enterframe-in-a-clock-example/325540 "2011-10-21T15:34:24Z")

</div>

Hi! I´m just start with AS3 and I saw in an example how to made a simple clock, but it is using enterFrame event, if my movie is working at 30fps, is a good practice use enterFrame for a second counter? Is there any ot…

---

## [Flash AS3 movement](https://forum.kirupa.com/t/flash-as3-movement/325539)

<div class="topic-metadata">

**Author:** [@Pipcha1](https://forum.kirupa.com/u/Pipcha1)\
**Replies:** 0\
**Last updated:** [October 21, 2011, 2:08pm UTC](https://forum.kirupa.com/t/flash-as3-movement/325539 "2011-10-21T14:08:01Z")

</div>

Hi there.. I am making a game in AS3 which doesn't require arrow keys as the way to move. Instead I am wanting the ball to travel with the shape of the ground. The ground would be hilly in some area's and steep in othe…

---

## [Why can't I run AIR applications](https://forum.kirupa.com/t/why-cant-i-run-air-applications/325538)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [October 21, 2011, 1:30pm UTC](https://forum.kirupa.com/t/why-cant-i-run-air-applications/325538 "2011-10-21T13:30:54Z")

</div>

Hello, I recently made an AIR application. When I am using the Flash authoring tool and hit ctrl-enter, the AIR app works. When I try to run just the AIR app outside of the Flash authoring environment it does not work …

---

## [How to stop it when moving from HOME to CONTACT page?](https://forum.kirupa.com/t/how-to-stop-it-when-moving-from-home-to-contact-page/325536)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [October 21, 2011, 9:48am UTC](https://forum.kirupa.com/t/how-to-stop-it-when-moving-from-home-to-contact-page/325536 "2011-10-21T09:48:29Z")

</div>

Hi, I have the following code on \[COLOR=#ff0000\]Home\_mc\[/COLOR\] which is working fine. But when I move from \[COLOR=#0000cd\]Home\_mc\[/COLOR\] to \[COLOR=#ff0000\]Contact\_mc \[/COLOR\]it should stop. How can I stop it? What is…

---

## [Reset the game when 1 life is lost](https://forum.kirupa.com/t/reset-the-game-when-1-life-is-lost/325535)

<div class="topic-metadata">

**Author:** [@MFRS](https://forum.kirupa.com/u/MFRS)\
**Replies:** 0\
**Last updated:** [October 21, 2011, 9:42am UTC](https://forum.kirupa.com/t/reset-the-game-when-1-life-is-lost/325535 "2011-10-21T09:42:47Z")

</div>

The code i have for my brick breaker game is this one (followed by a tutorial): The thing is that i can't get the game to restart with 1 less level when the ball hits the bottom. Anyone knows how to do this? I've trie…

---

## [It is always on Top. How to bring it to desired level?](https://forum.kirupa.com/t/it-is-always-on-top-how-to-bring-it-to-desired-level/325534)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [October 21, 2011, 8:13am UTC](https://forum.kirupa.com/t/it-is-always-on-top-how-to-bring-it-to-desired-level/325534 "2011-10-21T08:13:06Z")

</div>

Hi, The following code works fine but always on Top Layer. How can I bring it down? Please do help. var mySwf1:SWFLoader = new SWFLoader("AnalogClock.swf", {width:225, height:225, container:this, onComplete:complete…

---

## [How to remove the Child in ActionScript3?](https://forum.kirupa.com/t/how-to-remove-the-child-in-actionscript3/325532)

<div class="topic-metadata">

**Author:** [@elakkiya](https://forum.kirupa.com/u/elakkiya)\
**Replies:** 0\
**Last updated:** [October 21, 2011, 5:12am UTC](https://forum.kirupa.com/t/how-to-remove-the-child-in-actionscript3/325532 "2011-10-21T05:12:47Z")

</div>

I added the child each and Every time,once the child is added,when i add the next child the previous child is deleted this is my goal. am trying to remove the Child ,But Nothing Displayed in my screen. here my coding \[…

---

## [Online staff rota](https://forum.kirupa.com/t/online-staff-rota/325531)

<div class="topic-metadata">

**Author:** [@cheech74](https://forum.kirupa.com/u/cheech74)\
**Replies:** 0\
**Last updated:** [October 20, 2011, 10:29pm UTC](https://forum.kirupa.com/t/online-staff-rota/325531 "2011-10-20T22:29:55Z")

</div>

I have been asked to create an online staff rota - so the administrator would create the rota online & the staff members would login with their own login details & view the rota online. I thought i would create an html f…

---

## [Clone befunky.com](https://forum.kirupa.com/t/clone-befunky-com/325530)

<div class="topic-metadata">

**Author:** [@Vanss472](https://forum.kirupa.com/u/Vanss472)\
**Replies:** 0\
**Last updated:** [October 20, 2011, 7:10pm UTC](https://forum.kirupa.com/t/clone-befunky-com/325530 "2011-10-20T19:10:44Z")

</div>

Hello, I want to have a site similar to http://www.befunky.com. The site should be able to : - upload from computer or via webcam; - apply different effects; - share to Facebook - save to Facebook album Anyone can g…

---

## [Coloring program - how to save](https://forum.kirupa.com/t/coloring-program-how-to-save/325528)

<div class="topic-metadata">

**Author:** [@jlegoland4](https://forum.kirupa.com/u/jlegoland4)\
**Replies:** 0\
**Last updated:** [October 20, 2011, 5:12pm UTC](https://forum.kirupa.com/t/coloring-program-how-to-save/325528 "2011-10-20T17:12:38Z")

</div>

There is a cool tutorial on creating coloring person that user can color by selecting a color with paintbrush. I love it. But, is there a way to have the resulting painting saved with the pdf? I've tested by inserting…

---

## [Flash Plug-In crashing in Google Chrome?](https://forum.kirupa.com/t/flash-plug-in-crashing-in-google-chrome/325527)

<div class="topic-metadata">

**Author:** [@lazerbrains](https://forum.kirupa.com/u/lazerbrains)\
**Replies:** 0\
**Last updated:** [October 20, 2011, 3:46pm UTC](https://forum.kirupa.com/t/flash-plug-in-crashing-in-google-chrome/325527 "2011-10-20T15:46:14Z")

</div>

\[TABLE="class: tborder, width: 100%, align: center"\] \[TR\] \[TD="class: alt1, bgcolor: #FFFFFF"\]I keep getting this error in Google Chrome on a site I have built. \[TABLE="class: tborder, width: 100%, align: center"\] \[TR\] …

---

## [Remember previous keyframes?](https://forum.kirupa.com/t/remember-previous-keyframes/325525)

<div class="topic-metadata">

**Author:** [@speed\_e](https://forum.kirupa.com/u/speed_e)\
**Replies:** 0\
**Last updated:** [October 20, 2011, 2:14pm UTC](https://forum.kirupa.com/t/remember-previous-keyframes/325525 "2011-10-20T14:14:18Z")

</div>

Hi, I am just trying to create a simple escape the room game. I have a main frame with all the objects and another layer with different views. What I want to accomplish is, e.g. If a panel with buttons is clicked you g…

---

## [PHP help for as2 program](https://forum.kirupa.com/t/php-help-for-as2-program/325524)

<div class="topic-metadata">

**Author:** [@Doctor\_Dalek](https://forum.kirupa.com/u/Doctor_Dalek)\
**Replies:** 0\
**Last updated:** [October 20, 2011, 1:52pm UTC](https://forum.kirupa.com/t/php-help-for-as2-program/325524 "2011-10-20T13:52:02Z")

</div>

I am triing to make a game thats aves high scores to a website, I would like to have say, top 10 scores with 3 letter names. I have no idea what I am doing with anything other than as2, so could I possibly get some help?…

---

## [Youtube AS3.0 API](https://forum.kirupa.com/t/youtube-as3-0-api/325523)

<div class="topic-metadata">

**Author:** [@Ineedsleep](https://forum.kirupa.com/u/Ineedsleep)\
**Replies:** 0\
**Last updated:** [October 20, 2011, 1:48pm UTC](https://forum.kirupa.com/t/youtube-as3-0-api/325523 "2011-10-20T13:48:27Z")

</div>

I have a xml feed that i get from an individual video https://gdata.youtube.com/feeds/api/videos/CV2S1NCED58?v=2 This has all of the data inside of it that I want, but I cant dig down in to the the nodes can anyone hel…

---

## [Swift 3D/ Flash button and background colours](https://forum.kirupa.com/t/swift-3d-flash-button-and-background-colours/325522)

<div class="topic-metadata">

**Author:** [@AlexLegg](https://forum.kirupa.com/u/AlexLegg)\
**Replies:** 0\
**Last updated:** [October 20, 2011, 11:19am UTC](https://forum.kirupa.com/t/swift-3d-flash-button-and-background-colours/325522 "2011-10-20T11:19:20Z")

</div>

I've just discovered Swift 3D and papervision! So I am very new to this but think it has huge potential. I have managed to get a model out of 3DS Max using Swift 3D, compile in Flash and uploaded the interactive model …

---

## [as3 code to support swf player with control buttons](https://forum.kirupa.com/t/as3-code-to-support-swf-player-with-control-buttons/325520)

<div class="topic-metadata">

**Author:** [@msksanthu](https://forum.kirupa.com/u/msksanthu)\
**Replies:** 0\
**Last updated:** [October 20, 2011, 9:39am UTC](https://forum.kirupa.com/t/as3-code-to-support-swf-player-with-control-buttons/325520 "2011-10-20T09:39:41Z")

</div>

i need code for swf player.the player consists of play, pause ,stop, next and previous with seek bar and time control.i had try my code which not support my swf ......the code is ............ function swfLoadedHandler(e:…

---

## [Scoreboard help!](https://forum.kirupa.com/t/scoreboard-help/325514)

<div class="topic-metadata">

**Author:** [@BadBoyMcCoy](https://forum.kirupa.com/u/BadBoyMcCoy)\
**Replies:** 0\
**Last updated:** [October 19, 2011, 10:46pm UTC](https://forum.kirupa.com/t/scoreboard-help/325514 "2011-10-19T22:46:11Z")

</div>

Hi All, Thanks for your time. Basically I've set up a scoreboard for a flash game that I've made for a client. Now the scoreboard works fine but apparently it's not very secure. One of the clients friends was able to a…

---

## [Flash CS5.5 AS3 not displaying in Firefox](https://forum.kirupa.com/t/flash-cs5-5-as3-not-displaying-in-firefox/325513)

<div class="topic-metadata">

**Author:** [@caseygoose](https://forum.kirupa.com/u/caseygoose)\
**Replies:** 0\
**Last updated:** [October 19, 2011, 8:35pm UTC](https://forum.kirupa.com/t/flash-cs5-5-as3-not-displaying-in-firefox/325513 "2011-10-19T20:35:00Z")

</div>

I recently created a flash holiday card which displays perfectly in both Chrome and Safari but will not display in Firefox. I can hear the music playing but can't see any of the images. I've updated to the latest version…

---

## [Timline based instruction to load new .swf](https://forum.kirupa.com/t/timline-based-instruction-to-load-new-swf/325511)

<div class="topic-metadata">

**Author:** [@Conrad](https://forum.kirupa.com/u/Conrad)\
**Replies:** 0\
**Last updated:** [October 19, 2011, 5:57pm UTC](https://forum.kirupa.com/t/timline-based-instruction-to-load-new-swf/325511 "2011-10-19T17:57:46Z")

</div>

(AS2) This is so basic but I just can't find the script required to automatically load another .swf when the (already) loaded movie reaches the end of the timeline. Context: 1st swf has been inserted into an html doc w…

---

## [Run a function inside other function](https://forum.kirupa.com/t/run-a-function-inside-other-function/325510)

<div class="topic-metadata">

**Author:** [@MFRS](https://forum.kirupa.com/u/MFRS)\
**Replies:** 0\
**Last updated:** [October 19, 2011, 5:56pm UTC](https://forum.kirupa.com/t/run-a-function-inside-other-function/325510 "2011-10-19T17:56:06Z")

</div>

I am trying to make the classic brick breaker game, and i'm stuck at the part that when i lose a life, the game gets back to the beginning, except with one less life. Does anyone know how to make this?

---

## [How do I center a \<div\> vertically?](https://forum.kirupa.com/t/how-do-i-center-a-div-vertically/325508)

<div class="topic-metadata">

**Author:** [@complete](https://forum.kirupa.com/u/complete)\
**Replies:** 0\
**Last updated:** [October 19, 2011, 5:10pm UTC](https://forum.kirupa.com/t/how-do-i-center-a-div-vertically/325508 "2011-10-19T17:10:16Z")

</div>

How do I center a \<div\> vertically? I have managed to horizontally align a Div object. Here is how I did it. I got the width and the height of the object I wanted to center (XAML CODE) \<Grid Background="White" Heig…

---

## [Load BG Image First](https://forum.kirupa.com/t/load-bg-image-first/325506)

<div class="topic-metadata">

**Author:** [@rassy7](https://forum.kirupa.com/u/rassy7)\
**Replies:** 0\
**Last updated:** [October 19, 2011, 4:35pm UTC](https://forum.kirupa.com/t/load-bg-image-first/325506 "2011-10-19T16:35:21Z")

</div>

So I have a page with a relatively large background file. I say relatively, because it's the largest single image on the page, but not HUGE, per se. Basically, the page loads other images too, but they are smaller and lo…

---

## [Create a AS3 and PHP based email form, that sends different emails?](https://forum.kirupa.com/t/create-a-as3-and-php-based-email-form-that-sends-different-emails/325505)

<div class="topic-metadata">

**Author:** [@lazerbrains](https://forum.kirupa.com/u/lazerbrains)\
**Replies:** 0\
**Last updated:** [October 19, 2011, 3:47pm UTC](https://forum.kirupa.com/t/create-a-as3-and-php-based-email-form-that-sends-different-emails/325505 "2011-10-19T15:47:51Z")

</div>

I have an email form that I am trying to build. I have not done an email form in AS3, but have in AS2. I need this one to be AS3, and I need it to be able to do the following... The form will consist of an input field …

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

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