# programming

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

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

**Page:** 1212

---

## [Please Help with with array an variable](https://forum.kirupa.com/t/please-help-with-with-array-an-variable/261864)

<div class="topic-metadata">

**Author:** [@alchris](https://forum.kirupa.com/u/alchris)\
**Replies:** 5\
**Last updated:** [June 4, 2008, 4:14am UTC](https://forum.kirupa.com/t/please-help-with-with-array-an-variable/261864 "2008-06-04T04:14:32Z")

</div>

I am having trouble setting the variable for selectedBtn. I want to have it so I can put selectedBtn = 3; So that when you first open the swf. It will have the last button already selected. I include my code below. A…

---

## [TARGEngine](https://forum.kirupa.com/t/targengine/262198)

<div class="topic-metadata">

**Author:** [@SeiferTim](https://forum.kirupa.com/u/SeiferTim)\
**Replies:** 2\
**Last updated:** [June 4, 2008, 4:05am UTC](https://forum.kirupa.com/t/targengine/262198 "2008-06-04T04:05:23Z")

</div>

Hey, so, I haven't been here in a loooong time, but I wanted to just stop by and drop off this link to the project I've been working on: TARGEngine is a Flash ActionScript 3.0 RPG Engine that takes most of the base work …

---

## [PopUp Menu issues](https://forum.kirupa.com/t/popup-menu-issues/262201)

<div class="topic-metadata">

**Author:** [@crbarlow](https://forum.kirupa.com/u/crbarlow)\
**Replies:** 0\
**Last updated:** [June 4, 2008, 3:21am UTC](https://forum.kirupa.com/t/popup-menu-issues/262201 "2008-06-04T03:21:50Z")

</div>

Hello, I have an issue that I cant seem to solve. When rolling over the popup it causes an animation of the popup. However when moving the mouse over the top of the animating mc causes it to flicker. I think this is …

---

## [FF problem](https://forum.kirupa.com/t/ff-problem/262177)

<div class="topic-metadata">

**Author:** [@ff123](https://forum.kirupa.com/u/ff123)\
**Replies:** 3\
**Last updated:** [June 4, 2008, 3:20am UTC](https://forum.kirupa.com/t/ff-problem/262177 "2008-06-04T03:20:22Z")

</div>

I have this code for bg in CSS .blogbg{; padding-top: 20px; background: url('bg.jpg') no-repeat 1px 0; /\*20px 0 equals horizontal and vertical position of arrow. Adjust as desired (ie: 20px -5px).\*/ } and used this i…

---

## [Problems with targeting MovieClip](https://forum.kirupa.com/t/problems-with-targeting-movieclip/262012)

<div class="topic-metadata">

**Author:** [@habes](https://forum.kirupa.com/u/habes)\
**Replies:** 5\
**Last updated:** [June 4, 2008, 2:48am UTC](https://forum.kirupa.com/t/problems-with-targeting-movieclip/262012 "2008-06-04T02:48:20Z")

</div>

I am trying to target a MC on the stage with a turret MC, through an external AS file. I thought what I have would work to test if the target MC is in range, but apparently it won't. Any ideas? I want the turret to hav…

---

## [Dynamic crontab edition from php](https://forum.kirupa.com/t/dynamic-crontab-edition-from-php/261709)

<div class="topic-metadata">

**Author:** [@dinchu37](https://forum.kirupa.com/u/dinchu37)\
**Replies:** 7\
**Last updated:** [June 4, 2008, 1:27am UTC](https://forum.kirupa.com/t/dynamic-crontab-edition-from-php/261709 "2008-06-04T01:27:46Z")

</div>

Hi, i would like to know if is possible to Dynamic edit a crontab file from php, if it's possible can someone tell me how? i searched for this info about 2 days and never got an accuarate answer. how i'm supposed to gi…

---

## [\[Flash 8/AS2\] Skip over branches in XML?](https://forum.kirupa.com/t/flash-8-as2-skip-over-branches-in-xml/262187)

<div class="topic-metadata">

**Author:** [@mark2741](https://forum.kirupa.com/u/mark2741)\
**Replies:** 1\
**Last updated:** [June 4, 2008, 12:28am UTC](https://forum.kirupa.com/t/flash-8-as2-skip-over-branches-in-xml/262187 "2008-06-04T00:28:24Z")

</div>

I have an tree component that is populated via XML. There are branch nodes and child nodes for each branch. This is a user interface for an elearning course. The branch nodes/folders in the tree component are for course …

---

## [Sending two distinct emails from one online form](https://forum.kirupa.com/t/sending-two-distinct-emails-from-one-online-form/262047)

<div class="topic-metadata">

**Author:** [@cressa](https://forum.kirupa.com/u/cressa)\
**Replies:** 4\
**Last updated:** [June 3, 2008, 11:58pm UTC](https://forum.kirupa.com/t/sending-two-distinct-emails-from-one-online-form/262047 "2008-06-03T23:58:07Z")

</div>

hello, im sure there is a simple answer to this, but its not something i've see posted anywhere. i have a php from in a html page, i got it from a PHP book, its well scripted and secure. in the form the user submits…

---

## [Detect end of video playback](https://forum.kirupa.com/t/detect-end-of-video-playback/262184)

<div class="topic-metadata">

**Author:** [@artcoder](https://forum.kirupa.com/u/artcoder)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 11:31pm UTC](https://forum.kirupa.com/t/detect-end-of-video-playback/262184 "2008-06-03T23:31:12Z")

</div>

I dragged a FLVPlayback control to stage and set the "content" to my FLV file. It plays fine. But I want to detect when the video finish and have the movie GotoAndPlay(1) -- go back to frame 1 of movie. I know I'm…

---

## [Loading Images through XML for a RPG](https://forum.kirupa.com/t/loading-images-through-xml-for-a-rpg/261860)

<div class="topic-metadata">

**Author:** [@lancerawks](https://forum.kirupa.com/u/lancerawks)\
**Replies:** 9\
**Last updated:** [June 3, 2008, 11:19pm UTC](https://forum.kirupa.com/t/loading-images-through-xml-for-a-rpg/261860 "2008-06-03T23:19:08Z")

</div>

Hey fellow flashers, im makeing a little rpg just for experiance and learning and im haveing trouble with the images, they are all bad quality. I had this crazy idea that maby i could make a XML dattabase and have the ga…

---

## [Hand cursor?](https://forum.kirupa.com/t/hand-cursor/262158)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 11\
**Last updated:** [June 3, 2008, 11:15pm UTC](https://forum.kirupa.com/t/hand-cursor/262158 "2008-06-03T23:15:28Z")

</div>

mc.addEventListener(MouseEvent.CLICK,tween); function tween(event:MouseEvent):void { trace("clicked"); } it works but why is the hand cursor off?

---

## [How to make my flash website appear fullscreen](https://forum.kirupa.com/t/how-to-make-my-flash-website-appear-fullscreen/261999)

<div class="topic-metadata">

**Author:** [@crollo](https://forum.kirupa.com/u/crollo)\
**Replies:** 1\
**Last updated:** [June 3, 2008, 10:23pm UTC](https://forum.kirupa.com/t/how-to-make-my-flash-website-appear-fullscreen/261999 "2008-06-03T22:23:15Z")

</div>

Hi I've got a problem, I'm using Flash MX 2004 and I've tried Kirupa's full screen tutorial (http://www.kirupa.com/developer/mx2004/fullscreen.htm)and it won't work for me it shows full screen in width but not height it …

---

## [How can I bundle classes within the swf?](https://forum.kirupa.com/t/how-can-i-bundle-classes-within-the-swf/262171)

<div class="topic-metadata">

**Author:** [@invincibleneo](https://forum.kirupa.com/u/invincibleneo)\
**Replies:** 1\
**Last updated:** [June 3, 2008, 10:19pm UTC](https://forum.kirupa.com/t/how-can-i-bundle-classes-within-the-swf/262171 "2008-06-03T22:19:11Z")

</div>

I want to bundle tweener class in my as2 swf so that I dont have to include the classes directory along with the swf. How do I do that?

---

## [VideoEvent Does Not Work with Video Class](https://forum.kirupa.com/t/videoevent-does-not-work-with-video-class/262074)

<div class="topic-metadata">

**Author:** [@Nineteen](https://forum.kirupa.com/u/Nineteen)\
**Replies:** 2\
**Last updated:** [June 3, 2008, 10:15pm UTC](https://forum.kirupa.com/t/videoevent-does-not-work-with-video-class/262074 "2008-06-03T22:15:53Z")

</div>

Hi, I feel I have researched the WHOLE of the internet about this issue. Basically what I am trying to do is use the VideoEvent's "COMPLETE" to detect when my FLV has reached the end. Now the issue is, I can get this…

---

## [Inserting Photoshop Flash Web Gallery into another SWF](https://forum.kirupa.com/t/inserting-photoshop-flash-web-gallery-into-another-swf/262170)

<div class="topic-metadata">

**Author:** [@Issue\_One](https://forum.kirupa.com/u/Issue_One)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 9:38pm UTC](https://forum.kirupa.com/t/inserting-photoshop-flash-web-gallery-into-another-swf/262170 "2008-06-03T21:38:08Z")

</div>

Hi guys, just looking for a bit of help. I’ve created a flash web gallery using the automation ‘function’ in photoshop. I’ve then tried to insert the generated swf into a swf that is my website. I have used the loader…

---

## [Multiple galleries, image flashing](https://forum.kirupa.com/t/multiple-galleries-image-flashing/262167)

<div class="topic-metadata">

**Author:** [@nikneven](https://forum.kirupa.com/u/nikneven)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 9:05pm UTC](https://forum.kirupa.com/t/multiple-galleries-image-flashing/262167 "2008-06-03T21:05:36Z")

</div>

Ok, i have a portfolio site. It has a master swf that other swf load into. Menu.swf is loaded into level 10. There are 3 links in the menu. button one loads Art.swf into level 5, button two loads Logo.swf into level 5…

---

## [XML Calendar Works, But How](https://forum.kirupa.com/t/xml-calendar-works-but-how/262166)

<div class="topic-metadata">

**Author:** [@setzer9999](https://forum.kirupa.com/u/setzer9999)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 9:02pm UTC](https://forum.kirupa.com/t/xml-calendar-works-but-how/262166 "2008-06-03T21:02:09Z")

</div>

I have the following code in actionscript var calendar:XML = new XML(); calendar.ignoreWhite = true; var captions:Array = new Array(); calendar.onLoad = function(success) { if (success) { var rootNode = …

---

## [Gradient tween](https://forum.kirupa.com/t/gradient-tween/226876)

<div class="topic-metadata">

**Author:** [@Zhet](https://forum.kirupa.com/u/Zhet)\
**Replies:** 1\
**Last updated:** [June 3, 2008, 8:36pm UTC](https://forum.kirupa.com/t/gradient-tween/226876 "2008-06-03T20:36:27Z")

</div>

I want to make an effect, with a motion tween. I have a shape with a gradient fill in the first frame, in the 25-th I changed the gradient direction and made a motion tween hoping to see how it slowly changes, but noting…

---

## [Php 5 Soap](https://forum.kirupa.com/t/php-5-soap/262160)

<div class="topic-metadata">

**Author:** [@winstonSmith](https://forum.kirupa.com/u/winstonSmith)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 8:21pm UTC](https://forum.kirupa.com/t/php-5-soap/262160 "2008-06-03T20:21:14Z")

</div>

Hello I was wondering if someone could help me with writing a PHP script that will request an XML through SOAP. I have the request code given to me, but no control over the web service. If anybody can help me that would …

---

## [Constrain MovieClip to irregular area](https://forum.kirupa.com/t/constrain-movieclip-to-irregular-area/261942)

<div class="topic-metadata">

**Author:** [@Matt\_RKLS](https://forum.kirupa.com/u/Matt_RKLS)\
**Replies:** 2\
**Last updated:** [June 3, 2008, 8:15pm UTC](https://forum.kirupa.com/t/constrain-movieclip-to-irregular-area/261942 "2008-06-03T20:15:47Z")

</div>

Hello! I am looking to constrain a draggable movieclip within a non-rectangular (pie shaped) area... using AS3. I can drag out the old trig books, but thought some Flash whiz may have a shortcut approach to get me sta…

---

## [Pass constructor variable for MC in the Library](https://forum.kirupa.com/t/pass-constructor-variable-for-mc-in-the-library/262029)

<div class="topic-metadata">

**Author:** [@midimid](https://forum.kirupa.com/u/midimid)\
**Replies:** 10\
**Last updated:** [June 3, 2008, 8:03pm UTC](https://forum.kirupa.com/t/pass-constructor-variable-for-mc-in-the-library/262029 "2008-06-03T20:03:01Z")

</div>

A problem I absolutely can't figure out. I'm using an MVC based on the examples in the O'reilly book "AS3 Design Patterns" (the weather map). It uses Composite/Component based views. Lets sat I have an MC in my libr…

---

## [AS2-3 Video Conference](https://forum.kirupa.com/t/as2-3-video-conference/262155)

<div class="topic-metadata">

**Author:** [@K9Damien](https://forum.kirupa.com/u/K9Damien)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 7:48pm UTC](https://forum.kirupa.com/t/as2-3-video-conference/262155 "2008-06-03T19:48:02Z")

</div>

I'm looking into setting up a live feed for an educational institution which will be used for distant learning. There will be a camera set up to a computer in the lecture hall and the students will be able to connect t…

---

## [FLV player with buttons](https://forum.kirupa.com/t/flv-player-with-buttons/262024)

<div class="topic-metadata">

**Author:** [@Vectar](https://forum.kirupa.com/u/Vectar)\
**Replies:** 4\
**Last updated:** [June 3, 2008, 7:37pm UTC](https://forum.kirupa.com/t/flv-player-with-buttons/262024 "2008-06-03T19:37:16Z")

</div>

hi everybody, i'm working on the video player from gotoandlearn.com Now i want to add to images underneed the player wich refer to a FLV. When i click on one of these images the video should start playing in the player. …

---

## [How to play a movie clip in reverse](https://forum.kirupa.com/t/how-to-play-a-movie-clip-in-reverse/262071)

<div class="topic-metadata">

**Author:** [@kidyi](https://forum.kirupa.com/u/kidyi)\
**Replies:** 6\
**Last updated:** [June 3, 2008, 7:33pm UTC](https://forum.kirupa.com/t/how-to-play-a-movie-clip-in-reverse/262071 "2008-06-03T19:33:12Z")

</div>

I have a movie clip which I want to play part of it in reverse when I click the button. For example before I click the button, the movie clip will play from frame 150 to 155 then stop. Then when the button is clicked, …

---

## [Loading swfs into a container](https://forum.kirupa.com/t/loading-swfs-into-a-container/262081)

<div class="topic-metadata">

**Author:** [@mariuskatz](https://forum.kirupa.com/u/mariuskatz)\
**Replies:** 2\
**Last updated:** [June 3, 2008, 7:30pm UTC](https://forum.kirupa.com/t/loading-swfs-into-a-container/262081 "2008-06-03T19:30:18Z")

</div>

I am trying to load various swf into one container (instancename:holder). In As2 i used to declare a variable, change its properties via buttons and load the swf using the MovieLoaderClass into the holder clip. what…

---

## [Brain Fart Question](https://forum.kirupa.com/t/brain-fart-question/262151)

<div class="topic-metadata">

**Author:** [@Buckycat7](https://forum.kirupa.com/u/Buckycat7)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 6:57pm UTC](https://forum.kirupa.com/t/brain-fart-question/262151 "2008-06-03T18:57:42Z")

</div>

I'm trying to do a really simple flash movie. 3 buttons each on loads a new movie clip into a holder that is on the stage. I was just going to use this code: on (release) { MCHolder.loadMovie("loader.swf", 1); …

---

## [Turning captions on and off](https://forum.kirupa.com/t/turning-captions-on-and-off/262150)

<div class="topic-metadata">

**Author:** [@Jack\_Cook](https://forum.kirupa.com/u/Jack_Cook)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 6:56pm UTC](https://forum.kirupa.com/t/turning-captions-on-and-off/262150 "2008-06-03T18:56:13Z")

</div>

I'm trying out the captioning component in Flash CS3 and it's working, but I can't figure out a way to turn the captions on and off. If showCaptions is set to false, the captions don't show up until you press the button,…

---

## [AS3.0 Loading SWF buttons](https://forum.kirupa.com/t/as3-0-loading-swf-buttons/262149)

<div class="topic-metadata">

**Author:** [@delfeld](https://forum.kirupa.com/u/delfeld)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 6:56pm UTC](https://forum.kirupa.com/t/as3-0-loading-swf-buttons/262149 "2008-06-03T18:56:08Z")

</div>

Hello, I have a Flash 9 SWF library with a button in it. I had to convert it to a MovieClip to "Embed" it into a Flex application. It works fine, but plays as a MC, so I have to re-create the button's behaivior usi…

---

## [Help with CSS Links](https://forum.kirupa.com/t/help-with-css-links/262138)

<div class="topic-metadata">

**Author:** [@wyclef](https://forum.kirupa.com/u/wyclef)\
**Replies:** 9\
**Last updated:** [June 3, 2008, 6:48pm UTC](https://forum.kirupa.com/t/help-with-css-links/262138 "2008-06-03T18:48:49Z")

</div>

Can someone please check the 'About' dropdown how the link turns black but then turns white when you roll off it? I want it to function like the other links except this link is supposed to represent the active page so th…

---

## [Matching Word Game in Flash and XML](https://forum.kirupa.com/t/matching-word-game-in-flash-and-xml/262141)

<div class="topic-metadata">

**Author:** [@sTyleSHA](https://forum.kirupa.com/u/sTyleSHA)\
**Replies:** 1\
**Last updated:** [June 3, 2008, 6:38pm UTC](https://forum.kirupa.com/t/matching-word-game-in-flash-and-xml/262141 "2008-06-03T18:38:20Z")

</div>

Dear members, I am urgently in need of a "match the following " kind of game to be done in flash mx2004 or 8 with xml data input. To be in brief, the words to be matched should be at left (6 nos) and the correct words …

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

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