# programming

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

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

**Page:** 1047

---

## [SWF/XML to open \_self instead of \_blank HTML page](https://forum.kirupa.com/t/swf-xml-to-open--self-instead-of--blank-html-page/273358)

<div class="topic-metadata">

**Author:** [@flasherkirupa](https://forum.kirupa.com/u/flasherkirupa)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 7:36pm UTC](https://forum.kirupa.com/t/swf-xml-to-open--self-instead-of--blank-html-page/273358 "2008-10-14T19:36:35Z")

</div>

never mind

---

## [Repurposing dragslidefade with Fuse](https://forum.kirupa.com/t/repurposing-dragslidefade-with-fuse/273357)

<div class="topic-metadata">

**Author:** [@jmpmusic](https://forum.kirupa.com/u/jmpmusic)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 7:11pm UTC](https://forum.kirupa.com/t/repurposing-dragslidefade-with-fuse/273357 "2008-10-14T19:11:43Z")

</div>

Hello AS helpers, Trying to repurpose/switch out a DSF class and alternatively use Fuse elements within an array for positioning various mc's on the stage. Below is the former and trying to apply Fuse elements, "easeIn…

---

## [Sizing Image Area](https://forum.kirupa.com/t/sizing-image-area/273356)

<div class="topic-metadata">

**Author:** [@sweaver72](https://forum.kirupa.com/u/sweaver72)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 7:03pm UTC](https://forum.kirupa.com/t/sizing-image-area/273356 "2008-10-14T19:03:15Z")

</div>

I'm trying to load an image (image.jpg) into a movie (imageLoader). I want the image loader to be 150 pixels by 150 pixels, so that only a square of image.jpg is shown (basically a thumbnail). My code is currently warp…

---

## [Dynamic Form](https://forum.kirupa.com/t/dynamic-form/273354)

<div class="topic-metadata">

**Author:** [@guitarplayer08](https://forum.kirupa.com/u/guitarplayer08)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 7:00pm UTC](https://forum.kirupa.com/t/dynamic-form/273354 "2008-10-14T19:00:35Z")

</div>

I need to make a form which has a drop down list of numbers then after the user selects the amount of number, it will create radio buttons in that many amount. How do I do this? Is this kind of like a dynamic form fi…

---

## [Ideas! (help)](https://forum.kirupa.com/t/ideas-help/273352)

<div class="topic-metadata">

**Author:** [@TDN169](https://forum.kirupa.com/u/TDN169)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 6:48pm UTC](https://forum.kirupa.com/t/ideas-help/273352 "2008-10-14T18:48:40Z")

</div>

I'm somewhat stuck for ideas- doing a Young Enterprise project (Printed water bottles-http://www.hydr8yourself.com). Can anyone recommend a good website to look at for ideas for a flash animation to put in the box on the…

---

## [Strange Tabbing Behaviour](https://forum.kirupa.com/t/strange-tabbing-behaviour/273350)

<div class="topic-metadata">

**Author:** [@desoto0311](https://forum.kirupa.com/u/desoto0311)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 6:45pm UTC](https://forum.kirupa.com/t/strange-tabbing-behaviour/273350 "2008-10-14T18:45:02Z")

</div>

Hello all, I've built a flash questionnaire (in CS3, exported as flash 9, AS2) that has several frames with inputboxes that only take numerals. These input boxes already have a 'zero' in them. Here's the 'strangeness': …

---

## [Classes + color matrix](https://forum.kirupa.com/t/classes-color-matrix/273349)

<div class="topic-metadata">

**Author:** [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 6:27pm UTC](https://forum.kirupa.com/t/classes-color-matrix/273349 "2008-10-14T18:27:36Z")

</div>

Any advice on classes? I think I'm coming round to understanding maybe. Classes are basically functions outside of the fla. So say at present I have a page, MC which acts like a class, I attach it 5 times, pass varia…

---

## [One xml file for multiple flash movies - possible?](https://forum.kirupa.com/t/one-xml-file-for-multiple-flash-movies-possible/273341)

<div class="topic-metadata">

**Author:** [@wuzzi2ya](https://forum.kirupa.com/u/wuzzi2ya)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 5:15pm UTC](https://forum.kirupa.com/t/one-xml-file-for-multiple-flash-movies-possible/273341 "2008-10-14T17:15:23Z")

</div>

I'm sure it is as easy as it sounds, yet is it possible to have one xml file for multiple flash movies. More specific... Is it possible to have multiple flash files on different pages within a site feed off of one xml …

---

## [How to clip or mask a region](https://forum.kirupa.com/t/how-to-clip-or-mask-a-region/273340)

<div class="topic-metadata">

**Author:** [@justkevin](https://forum.kirupa.com/u/justkevin)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 5:15pm UTC](https://forum.kirupa.com/t/how-to-clip-or-mask-a-region/273340 "2008-10-14T17:15:12Z")

</div>

Let's say I have a Sprite with lots of children. I want to define a rectangular region, outside of which the children aren't shown (imagine the rectangular region is like a window, and the sprite's children are everythi…

---

## [\[Flash8\] Silly loop playback problem](https://forum.kirupa.com/t/flash8-silly-loop-playback-problem/273339)

<div class="topic-metadata">

**Author:** [@ygrafix](https://forum.kirupa.com/u/ygrafix)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 4:43pm UTC](https://forum.kirupa.com/t/flash8-silly-loop-playback-problem/273339 "2008-10-14T16:43:16Z")

</div>

Hi guys I tried to create simple animation from this Kirupa's tutorial My aim is to make a circle run from left to right and when it is almost to the edge it will move back to the origin point and it will loop only 3 t…

---

## [Problem with swffit](https://forum.kirupa.com/t/problem-with-swffit/273333)

<div class="topic-metadata">

**Author:** [@cocoj](https://forum.kirupa.com/u/cocoj)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 3:32pm UTC](https://forum.kirupa.com/t/problem-with-swffit/273333 "2008-10-14T15:32:31Z")

</div>

I have a problem with swffit. I don’t know how to insert the AC\_RunActiveContent in the page. \<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”\> \<html xmlns=“X…

---

## [HELP dynamic spacing of XML images](https://forum.kirupa.com/t/help-dynamic-spacing-of-xml-images/273332)

<div class="topic-metadata">

**Author:** [@thesupermarket](https://forum.kirupa.com/u/thesupermarket)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 3:25pm UTC](https://forum.kirupa.com/t/help-dynamic-spacing-of-xml-images/273332 "2008-10-14T15:25:56Z")

</div>

I'm working on a site with lots of thumbnails. site with lots of thumbs The thumbnails are loaded via XML and each one has a different width. Right now those thumbs are being loaded every 120px on the X axis regardles…

---

## [fullScreenSourceRect Issue](https://forum.kirupa.com/t/fullscreensourcerect-issue/273331)

<div class="topic-metadata">

**Author:** [@laemmy](https://forum.kirupa.com/u/laemmy)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 3:06pm UTC](https://forum.kirupa.com/t/fullscreensourcerect-issue/273331 "2008-10-14T15:06:39Z")

</div>

Hello, I tried the tutorial for the fullscreen mode in flash (http://labs.adobe.com/wiki/index.php/Flash\_Player :9:Update:Full-Screen\_Mode \_HW) everything works fine until I use the SourceRectangle to specify a part to…

---

## [onReleaseOutside and stage security dependant](https://forum.kirupa.com/t/onreleaseoutside-and-stage-security-dependant/273330)

<div class="topic-metadata">

**Author:** [@fedorovici](https://forum.kirupa.com/u/fedorovici)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 3:05pm UTC](https://forum.kirupa.com/t/onreleaseoutside-and-stage-security-dependant/273330 "2008-10-14T15:05:38Z")

</div>

In order to solve the missing onReleaseOutside event in AS3, everybody seems to use the stage MOUSE\_UP event. However, this is not a solution in the following situation: movieA.swf loads movieB.swf from a different sec…

---

## [Why did crossdomain not stop me from playing Youtube's videos?](https://forum.kirupa.com/t/why-did-crossdomain-not-stop-me-from-playing-youtubes-videos/273328)

<div class="topic-metadata">

**Author:** [@zhangxiaorui](https://forum.kirupa.com/u/zhangxiaorui)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 2:58pm UTC](https://forum.kirupa.com/t/why-did-crossdomain-not-stop-me-from-playing-youtubes-videos/273328 "2008-10-14T14:58:25Z")

</div>

\[COLOR=#000000\]In the docs from Adobe.com, it says: \[/COLOR\] \[COLOR=#000000\]\[/COLOR\] \[INDENT\]\[COLOR=#000000\]Cross-domain policy files affect access to a number of assets, including the following: Data in bitmaps, s…

---

## [Locking Controls](https://forum.kirupa.com/t/locking-controls/273325)

<div class="topic-metadata">

**Author:** [@fishinggeek](https://forum.kirupa.com/u/fishinggeek)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 2:33pm UTC](https://forum.kirupa.com/t/locking-controls/273325 "2008-10-14T14:33:19Z")

</div>

This is a little bit of a different situation. I am developing in AS3 using Flex... I know it is different than Flash, but thought you guys might be able to help out. Here is the situation: I have a canvas that allows…

---

## [Loading video and external image at the same time](https://forum.kirupa.com/t/loading-video-and-external-image-at-the-same-time/273324)

<div class="topic-metadata">

**Author:** [@christinelalala](https://forum.kirupa.com/u/christinelalala)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 2:18pm UTC](https://forum.kirupa.com/t/loading-video-and-external-image-at-the-same-time/273324 "2008-10-14T14:18:59Z")

</div>

Hi, My question is that if I'm streaming a video and loading external images or swf files at the same time, will the video start lagging? Assume they're all loaded in the same file. Thanks. Cheers, Christine

---

## [AS2: Am I XML Blind? Text disappearing](https://forum.kirupa.com/t/as2-am-i-xml-blind-text-disappearing/273321)

<div class="topic-metadata">

**Author:** [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 12:49pm UTC](https://forum.kirupa.com/t/as2-am-i-xml-blind-text-disappearing/273321 "2008-10-14T12:49:44Z")

</div>

I have a card like movieclip that contains a textfield that calls in the XML fine. But then when I motion tween and tilt the movieclip the text in the text field disappears for no reason - when I change the field to jus…

---

## [How to write a component from scratch](https://forum.kirupa.com/t/how-to-write-a-component-from-scratch/273320)

<div class="topic-metadata">

**Author:** [@kflash](https://forum.kirupa.com/u/kflash)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 12:45pm UTC](https://forum.kirupa.com/t/how-to-write-a-component-from-scratch/273320 "2008-10-14T12:45:47Z")

</div>

hello everyone, Can any of you please let me know or direct me to a very good resource for newbies on how to create a component? Please, I don't want the same references found in the flash manual. Thank you

---

## [How can I access the children of the child?](https://forum.kirupa.com/t/how-can-i-access-the-children-of-the-child/273313)

<div class="topic-metadata">

**Author:** [@koneko](https://forum.kirupa.com/u/koneko)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 10:12am UTC](https://forum.kirupa.com/t/how-can-i-access-the-children-of-the-child/273313 "2008-10-14T10:12:39Z")

</div>

How can I access the children of the child? function function1() { var parentz:Parentz=new Parentz; addChild(parentz); parentz.name="parentz"; //add the child var childz:Childz=new Childz; parentz.addChild(childz…

---

## [PHP forms and spam](https://forum.kirupa.com/t/php-forms-and-spam/273304)

<div class="topic-metadata">

**Author:** [@carbone6](https://forum.kirupa.com/u/carbone6)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 6:16am UTC](https://forum.kirupa.com/t/php-forms-and-spam/273304 "2008-10-14T06:16:18Z")

</div>

I've been told the only way to prevent spam scripts from taking email addresses from PHP forms i create is to make one of those randomly generated images with numbers and letters for users to enter before sending the ema…

---

## [Problem with return function from custom class](https://forum.kirupa.com/t/problem-with-return-function-from-custom-class/273301)

<div class="topic-metadata">

**Author:** [@bbarney261](https://forum.kirupa.com/u/bbarney261)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 5:04am UTC](https://forum.kirupa.com/t/problem-with-return-function-from-custom-class/273301 "2008-10-14T05:04:26Z")

</div>

Hi, I'm new to AS3 and was wondering if someone here would be able to help me with a this problem. I created a custom class and in the class I try to set the value of an instance variable and the return that value. Whe…

---

## [Move MC attached and with a swf inside (loadClip)](https://forum.kirupa.com/t/move-mc-attached-and-with-a-swf-inside-loadclip/273299)

<div class="topic-metadata">

**Author:** [@federomano](https://forum.kirupa.com/u/federomano)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 4:22am UTC](https://forum.kirupa.com/t/move-mc-attached-and-with-a-swf-inside-loadclip/273299 "2008-10-14T04:22:25Z")

</div>

Hi, i have a problem with this function //insert the container, an empty MC attachMovie("container","container",\_level0.getNextHighestDepth()); container.\_x = 145; container.\_y = 40; //assign an onEnterFrame for it t…

---

## [ART, Symbol, Drawing, MC skills for use in Games or Animation](https://forum.kirupa.com/t/art-symbol-drawing-mc-skills-for-use-in-games-or-animation/273297)

<div class="topic-metadata">

**Author:** [@Shred49](https://forum.kirupa.com/u/Shred49)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 3:30am UTC](https://forum.kirupa.com/t/art-symbol-drawing-mc-skills-for-use-in-games-or-animation/273297 "2008-10-14T03:30:49Z")

</div>

if anyone is looking for someone to make symbols or draw things or animate clips, talk to me and i'll see what i can do \[wink\]

---

## [More efficient code](https://forum.kirupa.com/t/more-efficient-code/273296)

<div class="topic-metadata">

**Author:** [@dougesilver](https://forum.kirupa.com/u/dougesilver)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 3:05am UTC](https://forum.kirupa.com/t/more-efficient-code/273296 "2008-10-14T03:05:13Z")

</div>

Hi, I'm wondering if there is a more efficient to program buttons (either buttons or movie clips as buttons)? The only way I know how to do this is to write an event listener for each state of the button, then write a …

---

## [About the crossdomain question](https://forum.kirupa.com/t/about-the-crossdomain-question/273293)

<div class="topic-metadata">

**Author:** [@zhangxiaorui](https://forum.kirupa.com/u/zhangxiaorui)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 2:21am UTC](https://forum.kirupa.com/t/about-the-crossdomain-question/273293 "2008-10-14T02:21:31Z")

</div>

In the docs from Adobe.com, it says: Cross-domain policy files affect access to a number of assets, including the following: Data in bitmaps, sounds, and \[COLOR=red\]videos \[/COLOR\] Loading XML and text files Acces…

---

## [MC Folling Angle of Mouse(yes i searched the forums)](https://forum.kirupa.com/t/mc-folling-angle-of-mouse-yes-i-searched-the-forums/273286)

<div class="topic-metadata">

**Author:** [@Shred49](https://forum.kirupa.com/u/Shred49)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 12:17am UTC](https://forum.kirupa.com/t/mc-folling-angle-of-mouse-yes-i-searched-the-forums/273286 "2008-10-14T00:17:09Z")

</div>

hey, i was wondering. What code would i apply to a movie clip to make it rotate on one end according to the angle(location) of the mouse

---

## [This\[\] gives Error 1056: Cannot create property](https://forum.kirupa.com/t/this-gives-error-1056-cannot-create-property/273283)

<div class="topic-metadata">

**Author:** [@cauchy](https://forum.kirupa.com/u/cauchy)\
**Replies:** 0\
**Last updated:** [October 13, 2008, 11:43pm UTC](https://forum.kirupa.com/t/this-gives-error-1056-cannot-create-property/273283 "2008-10-13T23:43:55Z")

</div>

If I create a simple fla and class file, where the fla has one line: var myTest:Test = new Test(); and the class file has: package { import flash.display.Sprite; public class Test extends Sprite { …

---

## [Linux help](https://forum.kirupa.com/t/linux-help/273278)

<div class="topic-metadata">

**Author:** [@wo1olf](https://forum.kirupa.com/u/wo1olf)\
**Replies:** 0\
**Last updated:** [October 13, 2008, 10:03pm UTC](https://forum.kirupa.com/t/linux-help/273278 "2008-10-13T22:03:56Z")

</div>

when linux display this message " fg: %: no such job" , what does it mean? I am trying to run a command using a specified command but i get the message above. :puzzled:

---

## [AIR - Image not refreshing upon window restore](https://forum.kirupa.com/t/air-image-not-refreshing-upon-window-restore/273274)

<div class="topic-metadata">

**Author:** [@Mr\_Entropy](https://forum.kirupa.com/u/Mr_Entropy)\
**Replies:** 0\
**Last updated:** [October 13, 2008, 9:03pm UTC](https://forum.kirupa.com/t/air-image-not-refreshing-upon-window-restore/273274 "2008-10-13T21:03:48Z")

</div>

Hi all, I am working on an AIR application that uses custom chrome. One of my beta testers told me that after minimizing my application for about an hour or so, and then restoring the application, that only a corner of…

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

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