# programming

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

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

**Page:** 269

---

## [Framescript loading before display objects in that frame?](https://forum.kirupa.com/t/framescript-loading-before-display-objects-in-that-frame/322799)

<div class="topic-metadata">

**Author:** [@Donutfiend84](https://forum.kirupa.com/u/Donutfiend84)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 2:27pm UTC](https://forum.kirupa.com/t/framescript-loading-before-display-objects-in-that-frame/322799 "2011-06-03T14:27:12Z")

</div>

I have a project, that uses a set of buttons, between a predetermined set of frames, with the code for each, on the same frame. When it reaches the first frame with framescript, it lists one of the objects on stage as nu…

---

## [Programming Game AI by Example](https://forum.kirupa.com/t/programming-game-ai-by-example/322798)

<div class="topic-metadata">

**Author:** [@FlashByDefault](https://forum.kirupa.com/u/FlashByDefault)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 2:18pm UTC](https://forum.kirupa.com/t/programming-game-ai-by-example/322798 "2011-06-03T14:18:56Z")

</div>

I have stumbled upon this amazing book, that teaches you a lot to know about AI Proggraming. You can read more about it at http://www.ironcoding.com/2011/05/book-overview-programming-game-ai-by-example/ Flash,

---

## [Share with facebook](https://forum.kirupa.com/t/share-with-facebook/322795)

<div class="topic-metadata">

**Author:** [@predajob](https://forum.kirupa.com/u/predajob)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 1:31pm UTC](https://forum.kirupa.com/t/share-with-facebook/322795 "2011-06-03T13:31:00Z")

</div>

Hi all, I'm developping a flash photo gallery with deeplink and i would like to enable the user to share the photos on their facebook wall. I tryied to find some tutorials explaining how to achieve that but unfortunatl…

---

## [What is cloaking?](https://forum.kirupa.com/t/what-is-cloaking/322794)

<div class="topic-metadata">

**Author:** [@bhavanaets](https://forum.kirupa.com/u/bhavanaets)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 12:32pm UTC](https://forum.kirupa.com/t/what-is-cloaking/322794 "2011-06-03T12:32:19Z")

</div>

Give some details.

---

## [What is pinging?](https://forum.kirupa.com/t/what-is-pinging/322793)

<div class="topic-metadata">

**Author:** [@bhavanaets](https://forum.kirupa.com/u/bhavanaets)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 12:30pm UTC](https://forum.kirupa.com/t/what-is-pinging/322793 "2011-06-03T12:30:04Z")

</div>

Please give some suggestions related to it.

---

## [Free FLA where do I get](https://forum.kirupa.com/t/free-fla-where-do-i-get/322792)

<div class="topic-metadata">

**Author:** [@Sharath\_Shetty](https://forum.kirupa.com/u/Sharath_Shetty)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 12:15pm UTC](https://forum.kirupa.com/t/free-fla-where-do-i-get/322792 "2011-06-03T12:15:41Z")

</div>

Hey, i have started learning flash, help me in finding the basic tutorials to create flash actionscript banners, i know to work on tweening how to control with script, which i would like to know, please helpl Sharath \[…

---

## [AS2 to Database!](https://forum.kirupa.com/t/as2-to-database/322791)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 11:57am UTC](https://forum.kirupa.com/t/as2-to-database/322791 "2011-06-03T11:57:39Z")

</div>

Hi there .. what's the best way to connect to my server from flash for it to retrieve data? At the moment I have set up a loadvars .. calling it to load my php file (which is where I call the commands to connect to my …

---

## [Audio loading problem](https://forum.kirupa.com/t/audio-loading-problem/322789)

<div class="topic-metadata">

**Author:** [@aflashdeveloper](https://forum.kirupa.com/u/aflashdeveloper)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 10:34am UTC](https://forum.kirupa.com/t/audio-loading-problem/322789 "2011-06-03T10:34:35Z")

</div>

Hi, I am having a pretty irritating problem with the audio I am using for a Flash game which I am making using Flash 8 and Actionscript 2.0. The game itself is near complete and is already hosted online, it is a simpl…

---

## [Taking Actionscript back to flash. Big question need big help :)](https://forum.kirupa.com/t/taking-actionscript-back-to-flash-big-question-need-big-help/322788)

<div class="topic-metadata">

**Author:** [@DonoDonato](https://forum.kirupa.com/u/DonoDonato)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 8:41am UTC](https://forum.kirupa.com/t/taking-actionscript-back-to-flash-big-question-need-big-help/322788 "2011-06-03T08:41:42Z")

</div>

Hi guys, Ok so i have this project. I have a MC centered on a stage. Inside the MC there is another MC\_2 with some vector graphic on it. I would like to put Zoom in, Zoom Out, And Go back to normal size (3 buttons in t…

---

## [Android and iOS publishing: VideoEvent.COMPLETE not working?](https://forum.kirupa.com/t/android-and-ios-publishing-videoevent-complete-not-working/322787)

<div class="topic-metadata">

**Author:** [@Egomet](https://forum.kirupa.com/u/Egomet)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 7:56am UTC](https://forum.kirupa.com/t/android-and-ios-publishing-videoevent-complete-not-working/322787 "2011-06-03T07:56:15Z")

</div>

Hello I have a project that I want to port to mobile platform on Android and iOS. The project uses a v.addEventListener(VideoEvent.COMPLETE, completePlay) handler to detect when video is finished playing and trigger …

---

## [Loading cross domain asset SWFs](https://forum.kirupa.com/t/loading-cross-domain-asset-swfs/322786)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 2:53am UTC](https://forum.kirupa.com/t/loading-cross-domain-asset-swfs/322786 "2011-06-03T02:53:16Z")

</div>

Yet another irritating technical issue, it's the first time I've tried loading assets from another server and it's not working. Apparently having the loader context check policy file does nothing with SWFs, I've tried …

---

## [3D correction?](https://forum.kirupa.com/t/3d-correction/322785)

<div class="topic-metadata">

**Author:** [@patrickjv](https://forum.kirupa.com/u/patrickjv)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 2:51am UTC](https://forum.kirupa.com/t/3d-correction/322785 "2011-06-03T02:51:51Z")

</div>

I'm trying to grab some MC and turn it into bitmapData, works ok. Just an example code, try in a keyframe import flash.display.Sprite; import flash.display.MovieClip; var r = new Sprite(); r.graphics.beginFill(0xFF00…

---

## [How definitions should (theoretically) be written in AS3](https://forum.kirupa.com/t/how-definitions-should-theoretically-be-written-in-as3/322783)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 12:48am UTC](https://forum.kirupa.com/t/how-definitions-should-theoretically-be-written-in-as3/322783 "2011-06-03T00:48:10Z")

</div>

Note: Once again I am playing around with my purely fictional language beyond the confined bounds of AS3. This post has no practical applications what so ever, and is merely an exercise of the mind. \*\* Java-style def…

---

## [Accessing a class private variable in the main timeline](https://forum.kirupa.com/t/accessing-a-class-private-variable-in-the-main-timeline/322782)

<div class="topic-metadata">

**Author:** [@Zazza](https://forum.kirupa.com/u/Zazza)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 12:33am UTC](https://forum.kirupa.com/t/accessing-a-class-private-variable-in-the-main-timeline/322782 "2011-06-03T00:33:04Z")

</div>

Greetings, noob question. Here's my main class: package { import flash.external.ExternalInterface; public class main { public function main() { } public function c…

---

## [How to get from external swf to my main movie to Frame Nr.5?](https://forum.kirupa.com/t/how-to-get-from-external-swf-to-my-main-movie-to-frame-nr-5/322781)

<div class="topic-metadata">

**Author:** [@judit](https://forum.kirupa.com/u/judit)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 9:03pm UTC](https://forum.kirupa.com/t/how-to-get-from-external-swf-to-my-main-movie-to-frame-nr-5/322781 "2011-06-02T21:03:15Z")

</div>

As a student Im working on a main swf (Main.swf). There are many seites with many themes. On each site (Frames 1,2,3,.....25) Theres a button to get to an external .swf. If I\`m in the external .swf, there is a button …

---

## [Very strange phenomenon:](https://forum.kirupa.com/t/very-strange-phenomenon/322780)

<div class="topic-metadata">

**Author:** [@tseyigai](https://forum.kirupa.com/u/tseyigai)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 8:25pm UTC](https://forum.kirupa.com/t/very-strange-phenomenon/322780 "2011-06-02T20:25:04Z")

</div>

Very strange phenomenon here. Now I'm noticing that after I publish my files (both the swf and the html ones), . the html shows up fine but the swf file is not complete. (My settings are ok as I can see them. ) F…

---

## [Facebook sharer](https://forum.kirupa.com/t/facebook-sharer/322779)

<div class="topic-metadata">

**Author:** [@daniel\_mihalcea](https://forum.kirupa.com/u/daniel_mihalcea)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 8:08pm UTC](https://forum.kirupa.com/t/facebook-sharer/322779 "2011-06-02T20:08:30Z")

</div>

Hi there, I am building a gallery in flash AS2 with swfaddress and swfobject so that i could have links on my gallery and in addition i added a facebook like button so that every page to be posted on facebook. My pro…

---

## [Help with click events](https://forum.kirupa.com/t/help-with-click-events/322778)

<div class="topic-metadata">

**Author:** [@hope\_industries](https://forum.kirupa.com/u/hope_industries)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 8:01pm UTC](https://forum.kirupa.com/t/help-with-click-events/322778 "2011-06-02T20:01:50Z")

</div>

Hey guys, I need help on how to determine a certain variable. I want to be able to dynamicly change the profileID, by clicking on a name or picture. Can anyone give me a hint or even a code fix on how to do this ? Exam…

---

## [Self preloaders in AS3](https://forum.kirupa.com/t/self-preloaders-in-as3/322777)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 6:47pm UTC](https://forum.kirupa.com/t/self-preloaders-in-as3/322777 "2011-06-02T18:47:57Z")

</div>

Do any of you guys know of an elegent, pure code solution? I need to make a self preloader for a single SWF, where obviously my normal, preferred solution is an external preloader. I followed Keith's tutorial here - h…

---

## [Searching Package Contents](https://forum.kirupa.com/t/searching-package-contents/322775)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 5:02pm UTC](https://forum.kirupa.com/t/searching-package-contents/322775 "2011-06-02T17:02:22Z")

</div>

Is there a part of the AS3 API that can be used for dynamically searching the contents of a package and instantiating classes found in the search?

---

## [HitTest issue](https://forum.kirupa.com/t/hittest-issue/322773)

<div class="topic-metadata">

**Author:** [@Tattered](https://forum.kirupa.com/u/Tattered)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 4:11pm UTC](https://forum.kirupa.com/t/hittest-issue/322773 "2011-06-02T16:11:05Z")

</div>

I am having an issue with a hitTestObject inside a for loop. When I drag an item it traces back that it was a hit but still animates back to its original place. I can't figure out what is going on with this... Here is …

---

## [Problems with multiple sounds](https://forum.kirupa.com/t/problems-with-multiple-sounds/322772)

<div class="topic-metadata">

**Author:** [@netmonkey](https://forum.kirupa.com/u/netmonkey)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 3:44pm UTC](https://forum.kirupa.com/t/problems-with-multiple-sounds/322772 "2011-06-02T15:44:53Z")

</div>

I'm using the AS3 iOS mode in CS5. It seems like playing sound fx on the timeline is unreliable. I've set all my sound to stream, which I've been told works, if they're all set to the same (not event). I get this when I …

---

## [SWF not showing in IE without clearing cache and reloading](https://forum.kirupa.com/t/swf-not-showing-in-ie-without-clearing-cache-and-reloading/322771)

<div class="topic-metadata">

**Author:** [@wolfenr](https://forum.kirupa.com/u/wolfenr)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 3:32pm UTC](https://forum.kirupa.com/t/swf-not-showing-in-ie-without-clearing-cache-and-reloading/322771 "2011-06-02T15:32:24Z")

</div>

Help please, I'm going crazy Googling for days trying to solve this problem... I'm trying to use Server Side Includes so that a menu bar doesn't have to be repeated for every page I build. This works fine in Firefox an…

---

## [removeChild in parent MovieClip not working](https://forum.kirupa.com/t/removechild-in-parent-movieclip-not-working/322769)

<div class="topic-metadata">

**Author:** [@SammyTheBear](https://forum.kirupa.com/u/SammyTheBear)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 3:01pm UTC](https://forum.kirupa.com/t/removechild-in-parent-movieclip-not-working/322769 "2011-06-02T15:01:28Z")

</div>

Hello folks! I am trying to remove a movieclip from my main timeline but it is not working. you click a button that is in a movieclip that is dynamically added to the stage and it is supposed to remove a movieclip from…

---

## [How to set the default image in gallery?](https://forum.kirupa.com/t/how-to-set-the-default-image-in-gallery/322766)

<div class="topic-metadata">

**Author:** [@AniMi](https://forum.kirupa.com/u/AniMi)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 1:03pm UTC](https://forum.kirupa.com/t/how-to-set-the-default-image-in-gallery/322766 "2011-06-02T13:03:11Z")

</div>

I need that on load the first image and first thumbnail to show up. please help \[smile\] package { import com.greensock.events.LoaderEvent; import com.greensock.loading.XMLLoader; import com.greensock.loa…

---

## [I am facing problem with EventDispatcher](https://forum.kirupa.com/t/i-am-facing-problem-with-eventdispatcher/322765)

<div class="topic-metadata">

**Author:** [@Milan\_vaja](https://forum.kirupa.com/u/Milan_vaja)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 12:59pm UTC](https://forum.kirupa.com/t/i-am-facing-problem-with-eventdispatcher/322765 "2011-06-02T12:59:44Z")

</div>

Hello Every One i am trying to dispatch a custom event but i cant do that i cant understand what i am doing wrong here is my code in test.as package { import flash.utils.Timer; import flash.events.TimerEvent; impor…

---

## [Is there a way to create a math.random that doesn't overlap movieclips?](https://forum.kirupa.com/t/is-there-a-way-to-create-a-math-random-that-doesnt-overlap-movieclips/322763)

<div class="topic-metadata">

**Author:** [@ssubham](https://forum.kirupa.com/u/ssubham)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 11:56am UTC](https://forum.kirupa.com/t/is-there-a-way-to-create-a-math-random-that-doesnt-overlap-movieclips/322763 "2011-06-02T11:56:31Z")

</div>

Hi, I have made a functional to use a number of objects on the stage which should not load overlap with other object of the stage. But, Some time it goes stuck in infinite loops or overlap others. Any one can help m…

---

## [Swf loading external .swf/xml/font](https://forum.kirupa.com/t/swf-loading-external-swf-xml-font/322762)

<div class="topic-metadata">

**Author:** [@Ireath](https://forum.kirupa.com/u/Ireath)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 11:43am UTC](https://forum.kirupa.com/t/swf-loading-external-swf-xml-font/322762 "2011-06-02T11:43:58Z")

</div>

Hi, I've been updating a flash-file for a company and now struggle to sort the menu system. This is how I would want it to work. Had they not used external xml and font swf files it would be done by now, but I have n…

---

## [Caribbean and Northern Free Online Newspapers](https://forum.kirupa.com/t/caribbean-and-northern-free-online-newspapers/322759)

<div class="topic-metadata">

**Author:** [@may645](https://forum.kirupa.com/u/may645)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 9:03am UTC](https://forum.kirupa.com/t/caribbean-and-northern-free-online-newspapers/322759 "2011-06-02T09:03:01Z")

</div>

\[FONT=Arial\]Welcome to the best Online Newspapers from the entire world, Information on local issues, all politics, Main events, World celebrations, people and all business on onlinenewspapersz.com. Online Newspapers if …

---

## [Changing the text in the textfield](https://forum.kirupa.com/t/changing-the-text-in-the-textfield/322758)

<div class="topic-metadata">

**Author:** [@jeponkz](https://forum.kirupa.com/u/jeponkz)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 6:55am UTC](https://forum.kirupa.com/t/changing-the-text-in-the-textfield/322758 "2011-06-02T06:55:31Z")

</div>

I want to change the text in textfield1 with the inputted text in textfield2.. for example, the text in textfield1 is "HELLO" i want to make it "HI" by inputing "HI" in textfield2 after clicking the change button the "…

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

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