# programming

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

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

**Page:** 432

---

## [Flash text box when button clicked](https://forum.kirupa.com/t/flash-text-box-when-button-clicked/313113)

<div class="topic-metadata">

**Author:** [@J0ss](https://forum.kirupa.com/u/J0ss)\
**Replies:** 0\
**Last updated:** [August 20, 2010, 8:50am UTC](https://forum.kirupa.com/t/flash-text-box-when-button-clicked/313113 "2010-08-20T08:50:44Z")

</div>

My problem is that I cant figure out how to make so... When i click etc. button1, than text pops up, and you can close the window. if there is any questions than ask, because i think I didnt explain myself clearly enau…

---

## [XML gallery images](https://forum.kirupa.com/t/xml-gallery-images/313111)

<div class="topic-metadata">

**Author:** [@brianharms](https://forum.kirupa.com/u/brianharms)\
**Replies:** 0\
**Last updated:** [August 20, 2010, 7:40am UTC](https://forum.kirupa.com/t/xml-gallery-images/313111 "2010-08-20T07:40:19Z")

</div>

Is there a way to specify/change the height and width of an image loaded from an xml file that will be placed within an empty movieclip? The movieclip will resize with the webpage, and what I want to do is make sure the …

---

## [AS3 : Get Netsream video Height and Width](https://forum.kirupa.com/t/as3-get-netsream-video-height-and-width/313109)

<div class="topic-metadata">

**Author:** [@vjn\_23](https://forum.kirupa.com/u/vjn_23)\
**Replies:** 0\
**Last updated:** [August 20, 2010, 6:05am UTC](https://forum.kirupa.com/t/as3-get-netsream-video-height-and-width/313109 "2010-08-20T06:05:58Z")

</div>

Hi friends, I am new in AS3. I am using net stream video player with xml. How can i get videos dimension (Width and Height). if suppose i get the dimension of the video and i will change the video size with aspect …

---

## [Class files(.as) and SWF](https://forum.kirupa.com/t/class-files-as-and-swf/313105)

<div class="topic-metadata">

**Author:** [@glisando](https://forum.kirupa.com/u/glisando)\
**Replies:** 0\
**Last updated:** [August 20, 2010, 4:06am UTC](https://forum.kirupa.com/t/class-files-as-and-swf/313105 "2010-08-20T04:06:50Z")

</div>

Hi Folks, I have a question. Sometime we write custom classes that are used by our FLA files, the custom classes are stored as .as files. Now when were create SWF files, what happens to the .as? Does the SWF itself con…

---

## [Document Class and Instantiating Linkage / Exported Library Items](https://forum.kirupa.com/t/document-class-and-instantiating-linkage-exported-library-items/313104)

<div class="topic-metadata">

**Author:** [@oreth](https://forum.kirupa.com/u/oreth)\
**Replies:** 0\
**Last updated:** [August 20, 2010, 3:34am UTC](https://forum.kirupa.com/t/document-class-and-instantiating-linkage-exported-library-items/313104 "2010-08-20T03:34:45Z")

</div>

I have a symbol named picHolder. In symbol properties under linkage, I chose "Export for ActionScript" and "Export in frame 1" and gave it a class name of picHolder. Normally, to instantiate a new instance, I'd say: …

---

## [Formatting text with font SWF and CSS files](https://forum.kirupa.com/t/formatting-text-with-font-swf-and-css-files/313103)

<div class="topic-metadata">

**Author:** [@nhilez](https://forum.kirupa.com/u/nhilez)\
**Replies:** 0\
**Last updated:** [August 20, 2010, 2:20am UTC](https://forum.kirupa.com/t/formatting-text-with-font-swf-and-css-files/313103 "2010-08-20T02:20:34Z")

</div>

I need to populate a dynamic text field with data from an XML file. The data looks like this: \<headline2 width="500"\> \<!\[CDATA\[\<span class="Headline"\>you \<span class="boldHeadline"\>ca\</span\>n\</span\> \]\]\> \</headline2\> …

---

## [FileReference call back data](https://forum.kirupa.com/t/filereference-call-back-data/313101)

<div class="topic-metadata">

**Author:** [@Shaedo](https://forum.kirupa.com/u/Shaedo)\
**Replies:** 0\
**Last updated:** [August 20, 2010, 1:25am UTC](https://forum.kirupa.com/t/filereference-call-back-data/313101 "2010-08-20T01:25:46Z")

</div>

\<EDIT\>: SOLVED with http://help.adobe.com/en\_US/AS3LCR/Flash\_10.0/flash/net/FileReference.html#event:uploadCompleteData Thank you Senocular, it was reading another of your posts that enlightened me! \</EDIT\> Hi, How d…

---

## [Typewrite Effect - with loop](https://forum.kirupa.com/t/typewrite-effect-with-loop/313100)

<div class="topic-metadata">

**Author:** [@esferaweb](https://forum.kirupa.com/u/esferaweb)\
**Replies:** 0\
**Last updated:** [August 20, 2010, 12:10am UTC](https://forum.kirupa.com/t/typewrite-effect-with-loop/313100 "2010-08-20T00:10:50Z")

</div>

Hi, i´ve found this code with typewrite simulation, but just work for one sentence. how can i change the code to use for more sentences and with loop? function typewriter(textBox:TextField, string:String, speed:in…

---

## [Trouble passing xml file name to function](https://forum.kirupa.com/t/trouble-passing-xml-file-name-to-function/313097)

<div class="topic-metadata">

**Author:** [@sylviamc](https://forum.kirupa.com/u/sylviamc)\
**Replies:** 0\
**Last updated:** [August 19, 2010, 8:29pm UTC](https://forum.kirupa.com/t/trouble-passing-xml-file-name-to-function/313097 "2010-08-19T20:29:12Z")

</div>

Hi folks, I'm new to AS3, I'm wondering if anyone could please help me out. I have an index.swf that loads thumbnail images from this file (projects\_list.xml). When the user clicks on a thumbnail image I want it to…

---

## [Error #1065 on Variables that Exist](https://forum.kirupa.com/t/error-1065-on-variables-that-exist/313096)

<div class="topic-metadata">

**Author:** [@bnns](https://forum.kirupa.com/u/bnns)\
**Replies:** 0\
**Last updated:** [August 19, 2010, 7:54pm UTC](https://forum.kirupa.com/t/error-1065-on-variables-that-exist/313096 "2010-08-19T19:54:49Z")

</div>

I was working on a project in CS3 and since i'm getting closer to completion i started porting it to CS4 flashplayer 10. (bug is also present in CS5 when exporting for flash player 10.) Whenever i run the project this…

---

## [Self Processing Form PHP](https://forum.kirupa.com/t/self-processing-form-php/313094)

<div class="topic-metadata">

**Author:** [@berryD](https://forum.kirupa.com/u/berryD)\
**Replies:** 0\
**Last updated:** [August 19, 2010, 5:40pm UTC](https://forum.kirupa.com/t/self-processing-form-php/313094 "2010-08-19T17:40:15Z")

</div>

Hey, I need to make a form that takes info like name, address (basic info) then I will have 4 check boxes. When the user clicks the check box I want an email sent back to them with the information that they requested. …

---

## [Imported MC (Breakout Game) Not Functioning Correctly](https://forum.kirupa.com/t/imported-mc-breakout-game-not-functioning-correctly/313093)

<div class="topic-metadata">

**Author:** [@jackloganbill](https://forum.kirupa.com/u/jackloganbill)\
**Replies:** 0\
**Last updated:** [August 19, 2010, 5:08pm UTC](https://forum.kirupa.com/t/imported-mc-breakout-game-not-functioning-correctly/313093 "2010-08-19T17:08:08Z")

</div>

I am writing a large elearning course using flash. As a break for the student, I want to include a breakout game on one frame. I tried loading the game (game01.swf) into an MC container. The game loaded but did not …

---

## [Attach and remove sprites using TweenLite](https://forum.kirupa.com/t/attach-and-remove-sprites-using-tweenlite/313092)

<div class="topic-metadata">

**Author:** [@zeldalink](https://forum.kirupa.com/u/zeldalink)\
**Replies:** 0\
**Last updated:** [August 19, 2010, 4:39pm UTC](https://forum.kirupa.com/t/attach-and-remove-sprites-using-tweenlite/313092 "2010-08-19T16:39:53Z")

</div>

I'm creating visual effects using TweenLite, which currently only manages the \*\*tweens \*\*for me, can I also \*\*attach \*\*a sprite at a specific time? (using "delay") Basically I want to use TweenLite to attach/remove spr…

---

## [MouseOver Event cancelling due to child MovieClips](https://forum.kirupa.com/t/mouseover-event-cancelling-due-to-child-movieclips/313090)

<div class="topic-metadata">

**Author:** [@Squib](https://forum.kirupa.com/u/Squib)\
**Replies:** 0\
**Last updated:** [August 19, 2010, 2:43pm UTC](https://forum.kirupa.com/t/mouseover-event-cancelling-due-to-child-movieclips/313090 "2010-08-19T14:43:07Z")

</div>

Hi there, I seem to be struggling with such a simple issue!..And its now officially doing my head in! What I've got is a clip that when moused over expands down, and when moused out contracts back up again...simple rig…

---

## [Flash KeyNav through Array of Functions](https://forum.kirupa.com/t/flash-keynav-through-array-of-functions/313088)

<div class="topic-metadata">

**Author:** [@darastudio](https://forum.kirupa.com/u/darastudio)\
**Replies:** 0\
**Last updated:** [August 19, 2010, 2:17pm UTC](https://forum.kirupa.com/t/flash-keynav-through-array-of-functions/313088 "2010-08-19T14:17:07Z")

</div>

I'm basically creating a glorified Powerpoint presentation... except a lot more "flashy". If there is a better way to do this, just tell me. I have each "slide" basically as a function of animations (done with greensoc…

---

## [New loader class (loaded content)](https://forum.kirupa.com/t/new-loader-class-loaded-content/313087)

<div class="topic-metadata">

**Author:** [@Costas\_Drakos](https://forum.kirupa.com/u/Costas_Drakos)\
**Replies:** 0\
**Last updated:** [August 19, 2010, 2:11pm UTC](https://forum.kirupa.com/t/new-loader-class-loaded-content/313087 "2010-08-19T14:11:45Z")

</div>

Hello I have a problem with my New Loader class I use as3 and buttons to load external files into into my main swf file and I resize the external files to match my stage but they always load from the top left at x=0 y=0…

---

## [Flash cs4 Falling snow tutorial - no results](https://forum.kirupa.com/t/flash-cs4-falling-snow-tutorial-no-results/313081)

<div class="topic-metadata">

**Author:** [@tom\_briggs](https://forum.kirupa.com/u/tom_briggs)\
**Replies:** 0\
**Last updated:** [August 19, 2010, 11:26am UTC](https://forum.kirupa.com/t/flash-cs4-falling-snow-tutorial-no-results/313081 "2010-08-19T11:26:41Z")

</div>

I am having no results with Kirupa Falling snow tutorial in Flash cs4. I set up Fla file according to tutorial, then set up action script file and cpy and paste ac provided in tutorial. But nothing happens when I run tes…

---

## [Problem with \[new Loader()\]](https://forum.kirupa.com/t/problem-with-new-loader/313079)

<div class="topic-metadata">

**Author:** [@uusrand](https://forum.kirupa.com/u/uusrand)\
**Replies:** 0\
**Last updated:** [August 19, 2010, 10:33am UTC](https://forum.kirupa.com/t/problem-with-new-loader/313079 "2010-08-19T10:33:02Z")

</div>

Hallo! I have a two movie clips (preload.swf and index.swf). Starting with preload.swf. Preload movie clip loading index.swf. But nothing works on index movie clip (stage resizing, mouse events). Maybe somebody show so…

---

## [Lightbox - flash](https://forum.kirupa.com/t/lightbox-flash/313078)

<div class="topic-metadata">

**Author:** [@black\_pearl](https://forum.kirupa.com/u/black_pearl)\
**Replies:** 0\
**Last updated:** [August 19, 2010, 9:44am UTC](https://forum.kirupa.com/t/lightbox-flash/313078 "2010-08-19T09:44:55Z")

</div>

Can anybody tell me how to make lightbox window open from flash. I just want to click a button to open a lightbox window.

---

## [Edit Code for Sound Toggle Button](https://forum.kirupa.com/t/edit-code-for-sound-toggle-button/313075)

<div class="topic-metadata">

**Author:** [@JMasterJ](https://forum.kirupa.com/u/JMasterJ)\
**Replies:** 0\
**Last updated:** [August 19, 2010, 7:37am UTC](https://forum.kirupa.com/t/edit-code-for-sound-toggle-button/313075 "2010-08-19T07:37:57Z")

</div>

Hi all... this is the one code that I could make work, but I need it so the music plays at start and then the button will pause/stop it, and then turn into a play graphic which, when pressed, will play it again. I tr…

---

## [3d view in flash](https://forum.kirupa.com/t/3d-view-in-flash/313073)

<div class="topic-metadata">

**Author:** [@flashjr](https://forum.kirupa.com/u/flashjr)\
**Replies:** 0\
**Last updated:** [August 19, 2010, 7:02am UTC](https://forum.kirupa.com/t/3d-view-in-flash/313073 "2010-08-19T07:02:45Z")

</div>

hi friends, I have a problem with 3d view in flash, is it possible in flash to show in 3d view and total interface is to look like 3d, how can i over come with this please tell

---

## [Multiple sounds on single frame problem](https://forum.kirupa.com/t/multiple-sounds-on-single-frame-problem/313070)

<div class="topic-metadata">

**Author:** [@SincerestApathy](https://forum.kirupa.com/u/SincerestApathy)\
**Replies:** 0\
**Last updated:** [August 19, 2010, 3:10am UTC](https://forum.kirupa.com/t/multiple-sounds-on-single-frame-problem/313070 "2010-08-19T03:10:45Z")

</div>

I have two buttons on a single frame that each play seperate sounds when clicked though actionscript is throwing up this error and I have no idea how to fix it. Can anyone help? 1151: A conflict exists with definitio…

---

## [XML link target problem](https://forum.kirupa.com/t/xml-link-target-problem/313065)

<div class="topic-metadata">

**Author:** [@flash\_fool](https://forum.kirupa.com/u/flash_fool)\
**Replies:** 0\
**Last updated:** [August 19, 2010, 12:02am UTC](https://forum.kirupa.com/t/xml-link-target-problem/313065 "2010-08-19T00:02:25Z")

</div>

Hi everyone. Im having a problem with my xml file. basically i have an image carousel (separate swf with images loaded through xml) which is externally loaded into a movie clip in my main swf. When I click one of the ima…

---

## [How to use built in transition effect?](https://forum.kirupa.com/t/how-to-use-built-in-transition-effect/313064)

<div class="topic-metadata">

**Author:** [@bhartigorkar](https://forum.kirupa.com/u/bhartigorkar)\
**Replies:** 0\
**Last updated:** [August 18, 2010, 11:29pm UTC](https://forum.kirupa.com/t/how-to-use-built-in-transition-effect/313064 "2010-08-18T23:29:57Z")

</div>

How to use built-in transition effect for frame/page navigation? \*\* \*\*

---

## [Help formatting XML Text in AS3 file](https://forum.kirupa.com/t/help-formatting-xml-text-in-as3-file/313063)

<div class="topic-metadata">

**Author:** [@ccbass85](https://forum.kirupa.com/u/ccbass85)\
**Replies:** 0\
**Last updated:** [August 18, 2010, 11:11pm UTC](https://forum.kirupa.com/t/help-formatting-xml-text-in-as3-file/313063 "2010-08-18T23:11:07Z")

</div>

Hi Everyone, I'm importing text via an XML file that will then be displayed in a dynamic text field. The text is about 1 sentence long but one of the words in the sentence must be bold and a different color. So I've ad…

---

## [Problem with arrays(?), AS2 to AS3](https://forum.kirupa.com/t/problem-with-arrays-as2-to-as3/313059)

<div class="topic-metadata">

**Author:** [@dexter\_walrus](https://forum.kirupa.com/u/dexter_walrus)\
**Replies:** 0\
**Last updated:** [August 18, 2010, 10:08pm UTC](https://forum.kirupa.com/t/problem-with-arrays-as2-to-as3/313059 "2010-08-18T22:08:30Z")

</div>

I'm trying to translate AS2 into AS3. I'm building an image gallery for my website. Now here's the AS2 code that I have //create images and mask this.createEmptyMovieClip("images", 100); this.createEmptyMovieClip("na…

---

## [Dynamic image gallery with multiple galleries?](https://forum.kirupa.com/t/dynamic-image-gallery-with-multiple-galleries/313056)

<div class="topic-metadata">

**Author:** [@brianharms](https://forum.kirupa.com/u/brianharms)\
**Replies:** 0\
**Last updated:** [August 18, 2010, 8:03pm UTC](https://forum.kirupa.com/t/dynamic-image-gallery-with-multiple-galleries/313056 "2010-08-18T20:03:11Z")

</div>

Can anyone help me out here? I'm trying to create a gallery where each thumbnail you can click loads a different set of images (and unloads or removes the previously loaded gallery). Can anyone point me in the right…

---

## [Variables, classes, and references](https://forum.kirupa.com/t/variables-classes-and-references/313052)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [August 18, 2010, 6:53pm UTC](https://forum.kirupa.com/t/variables-classes-and-references/313052 "2010-08-18T18:53:10Z")

</div>

I just learned about references today (a bit late, but yeay!) I wanted to double check, if you have a complex class (not a standard number or string) will it be passed as a reference, or will it ALWAYS be cloned every …

---

## [Multiplayer game design theory questions](https://forum.kirupa.com/t/multiplayer-game-design-theory-questions/313051)

<div class="topic-metadata">

**Author:** [@psych](https://forum.kirupa.com/u/psych)\
**Replies:** 0\
**Last updated:** [August 18, 2010, 6:36pm UTC](https://forum.kirupa.com/t/multiplayer-game-design-theory-questions/313051 "2010-08-18T18:36:48Z")

</div>

Hi guys, I am thinking on creating simple multiplayer game with custom backend for the fun of the learning and afterwards when i gain some experience and knowledge i have an idea for online multiplayer game which i'd l…

---

## [Tween in AS 3.0](https://forum.kirupa.com/t/tween-in-as-3-0/313049)

<div class="topic-metadata">

**Author:** [@flex\_learner](https://forum.kirupa.com/u/flex_learner)\
**Replies:** 0\
**Last updated:** [August 18, 2010, 6:00pm UTC](https://forum.kirupa.com/t/tween-in-as-3-0/313049 "2010-08-18T18:00:22Z")

</div>

Hello all, I have the following code --- TweensArray\[\_nr\].pos = new Tween(\_obj, "x", Strong.easeOut, \_obj.x, posX, 05, true); Can somebody please help me rewriting this in actionscript, I dont want to use mxml tags…

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

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