# programming

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

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

**Page:** 1000

---

## [Cookie for floating banner](https://forum.kirupa.com/t/cookie-for-floating-banner/276458)

<div class="topic-metadata">

**Author:** [@marcelomdsc](https://forum.kirupa.com/u/marcelomdsc)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 6:45pm UTC](https://forum.kirupa.com/t/cookie-for-floating-banner/276458 "2008-11-27T18:45:20Z")

</div>

Hello, I need to create a cookie so that a floating banner plays only once per user. How could I do that? I do not know how to create a cookie. Thanks! PS: it has to be done with a cookie.

---

## [Fadeout functions not working on onRelease](https://forum.kirupa.com/t/fadeout-functions-not-working-on-onrelease/276456)

<div class="topic-metadata">

**Author:** [@vcm11](https://forum.kirupa.com/u/vcm11)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 6:16pm UTC](https://forum.kirupa.com/t/fadeout-functions-not-working-on-onrelease/276456 "2008-11-27T18:16:25Z")

</div>

Hi guys, going crazy with these bloody functions and buttons, got movie in the root with buttons inside (they all fade in at beginning of main movie), the script is at main movie controlling some of the buttons from to…

---

## [addEventListener not working](https://forum.kirupa.com/t/addeventlistener-not-working/276452)

<div class="topic-metadata">

**Author:** [@tboornaz](https://forum.kirupa.com/u/tboornaz)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 4:17pm UTC](https://forum.kirupa.com/t/addeventlistener-not-working/276452 "2008-11-27T16:17:13Z")

</div>

:hair: Please help! I have created a scrolling bar menu. All the buttons in the menu work except for the last two. When I place a trace statement within the function it definitely is listening to all the buttons except…

---

## [Function + Pointers](https://forum.kirupa.com/t/function-pointers/276449)

<div class="topic-metadata">

**Author:** [@o0oo](https://forum.kirupa.com/u/o0oo)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 3:09pm UTC](https://forum.kirupa.com/t/function-pointers/276449 "2008-11-27T15:09:01Z")

</div>

I have a loop and I am trying to create dynamic functions, each which contains a different variable. The problem is, once the loop finishes, it references the function created last. I trimmed the code down below, but i…

---

## [Reload XML data using Javascript](https://forum.kirupa.com/t/reload-xml-data-using-javascript/276448)

<div class="topic-metadata">

**Author:** [@goomy](https://forum.kirupa.com/u/goomy)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 3:01pm UTC](https://forum.kirupa.com/t/reload-xml-data-using-javascript/276448 "2008-11-27T15:01:20Z")

</div>

Hi All! \[wink\] I have small flash file calling numbers from xml data. Is there a way to reload XML data using javascript? I mean to click on the button and just XML not whole flash reload? I've seen something with …

---

## [Open link in new browser window](https://forum.kirupa.com/t/open-link-in-new-browser-window/276447)

<div class="topic-metadata">

**Author:** [@small\_guy](https://forum.kirupa.com/u/small_guy)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 2:00pm UTC](https://forum.kirupa.com/t/open-link-in-new-browser-window/276447 "2008-11-27T14:00:20Z")

</div>

I am just starting out with AS 3.0 (after having worked with Flash and AS 2.0 for a number of years). I picked up this code from another source to open a new URL button.addEventListener(MouseEvent.CLICK, buttonClickH…

---

## [TRANSITION MANAGER in AS 3.0 ; ADVANCED ISSUE](https://forum.kirupa.com/t/transition-manager-in-as-3-0-advanced-issue/276446)

<div class="topic-metadata">

**Author:** [@xFlashStudentx](https://forum.kirupa.com/u/xFlashStudentx)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 1:54pm UTC](https://forum.kirupa.com/t/transition-manager-in-as-3-0-advanced-issue/276446 "2008-11-27T13:54:55Z")

</div>

My question is, how do I use the Transition Manager in ActionScript 3.0 but use my own transition? I rather not use the blinds or dissolve transition effects at all. For indeed, I rather create my own effect for the tran…

---

## [Advanced help needed](https://forum.kirupa.com/t/advanced-help-needed/276443)

<div class="topic-metadata">

**Author:** [@MattiasA](https://forum.kirupa.com/u/MattiasA)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 1:20pm UTC](https://forum.kirupa.com/t/advanced-help-needed/276443 "2008-11-27T13:20:12Z")

</div>

Wazzzzuuuuup If you email me at matast-2@student.ltu.se I can send you the \*.fla file (filesize = 1,04 MB)!!! So even if you don´t know how to help me you get a cool dialknob component you can use! I need help to mak…

---

## [Creating HTML Links in AS3](https://forum.kirupa.com/t/creating-html-links-in-as3/276442)

<div class="topic-metadata">

**Author:** [@Ricky55](https://forum.kirupa.com/u/Ricky55)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 12:55pm UTC](https://forum.kirupa.com/t/creating-html-links-in-as3/276442 "2008-11-27T12:55:24Z")

</div>

Hi I have this example here: http://www.qwertypcs.co.uk/as3test2.html This is using Thickbox, and this the code I am using in Flash: eg1Mc.addEventListener(MouseEvent.CLICK, onClick); import flash.external.Exte…

---

## [Scroller Shared object problem in IE](https://forum.kirupa.com/t/scroller-shared-object-problem-in-ie/276441)

<div class="topic-metadata">

**Author:** [@Tie\_my\_rope](https://forum.kirupa.com/u/Tie_my_rope)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 12:48pm UTC](https://forum.kirupa.com/t/scroller-shared-object-problem-in-ie/276441 "2008-11-27T12:48:18Z")

</div>

Urggh I posted a thread a little while ago about some problems i was having with shared objects, someone was good enough to help me out. Now i have a new problem. Basically i have a scroll bar and i want it to remem…

---

## [CS4 - Graphics Bitmap Distortion](https://forum.kirupa.com/t/cs4-graphics-bitmap-distortion/276438)

<div class="topic-metadata">

**Author:** [@Si1](https://forum.kirupa.com/u/Si1)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 11:47am UTC](https://forum.kirupa.com/t/cs4-graphics-bitmap-distortion/276438 "2008-11-27T11:47:48Z")

</div>

Hi guys, Does anyone have any insight into how bitmaps are distorted when using UVT data and the Graphics.drawTriangles() method in Flash CS4? It is too quick for the bitmaps to be drawn pixel-by-pixel, and standard Ma…

---

## [Start on random frame](https://forum.kirupa.com/t/start-on-random-frame/276436)

<div class="topic-metadata">

**Author:** [@izzie](https://forum.kirupa.com/u/izzie)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 11:16am UTC](https://forum.kirupa.com/t/start-on-random-frame/276436 "2008-11-27T11:16:48Z")

</div>

Can anyone please help me with getting the correct code in AS3 for starting a swf-file on a random frame? In my file, it should randomly start on frame 2 or 3. I found a code for AS2, which is function randRange(min…

---

## [Paint called too late](https://forum.kirupa.com/t/paint-called-too-late/276435)

<div class="topic-metadata">

**Author:** [@th3r1ddl3r](https://forum.kirupa.com/u/th3r1ddl3r)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 10:28am UTC](https://forum.kirupa.com/t/paint-called-too-late/276435 "2008-11-27T10:28:10Z")

</div>

Hello all, This fla has a round mc "objet" on frame1 and a rectangular mc "objet" on frame2. This is the as3 code: for (var i=0; i\<=this.totalFrames; i++) { this.addFrameScript(i, null); \</SPAN\> this.addFrame…

---

## [Flex code generator](https://forum.kirupa.com/t/flex-code-generator/276434)

<div class="topic-metadata">

**Author:** [@andretapxure](https://forum.kirupa.com/u/andretapxure)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 10:23am UTC](https://forum.kirupa.com/t/flex-code-generator/276434 "2008-11-27T10:23:17Z")

</div>

Hi, there! We wrote a Flex code generator with AMFPHP. Please, visit \*\*\[http://www.solucoesideais.com.br/flexgen\*\*\](http://www.solucoesideais.com.br/flexgen) Thanks for your time and sorry by the inconvenient.

---

## [Using umlouts in php mail](https://forum.kirupa.com/t/using-umlouts-in-php-mail/276433)

<div class="topic-metadata">

**Author:** [@Trupti](https://forum.kirupa.com/u/Trupti)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 10:01am UTC](https://forum.kirupa.com/t/using-umlouts-in-php-mail/276433 "2008-11-27T10:01:43Z")

</div>

Hello everyone, I have mail function written in PHP which takes data like names and email ids from flash and sends the fomatted text to one of the emailid specified. If user types in special characters (like umlouts…

---

## [Improve Image quality dynamically](https://forum.kirupa.com/t/improve-image-quality-dynamically/276432)

<div class="topic-metadata">

**Author:** [@Trupti](https://forum.kirupa.com/u/Trupti)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 9:40am UTC](https://forum.kirupa.com/t/improve-image-quality-dynamically/276432 "2008-11-27T09:40:38Z")

</div>

Hi all here is the my question I have a flipbook component in which i am loading images dynamically The image are of 300 dpi. The width and height of the images are bigger than the book component size. My problem is …

---

## [Slide Website | Form gone bad?](https://forum.kirupa.com/t/slide-website-form-gone-bad/276431)

<div class="topic-metadata">

**Author:** [@RavenGears](https://forum.kirupa.com/u/RavenGears)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 8:58am UTC](https://forum.kirupa.com/t/slide-website-form-gone-bad/276431 "2008-11-27T08:58:48Z")

</div>

0

---

## [Ipod feel slider](https://forum.kirupa.com/t/ipod-feel-slider/276430)

<div class="topic-metadata">

**Author:** [@dragonzzz](https://forum.kirupa.com/u/dragonzzz)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 8:48am UTC](https://forum.kirupa.com/t/ipod-feel-slider/276430 "2008-11-27T08:48:02Z")

</div>

Hi, I'm making a website with a slider in the top. I want to make a slider just like a ipod touch (iphone) feel. You know when you are in your contacts. So if you slide it slowly, it will move slowly. Can someone h…

---

## [Adding sound problem](https://forum.kirupa.com/t/adding-sound-problem/276427)

<div class="topic-metadata">

**Author:** [@mebius89](https://forum.kirupa.com/u/mebius89)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 6:12am UTC](https://forum.kirupa.com/t/adding-sound-problem/276427 "2008-11-27T06:12:27Z")

</div>

Hi, I would like to ask if it's possible to add sound through coding in Flash CS3 ? I only learnt how to add sound in layers but I need to add my sound through coding. Is it possible ? If so, I need a simple sample for…

---

## [Problem passing variable values (from XML) to variable in child movie](https://forum.kirupa.com/t/problem-passing-variable-values-from-xml-to-variable-in-child-movie/276423)

<div class="topic-metadata">

**Author:** [@Testy](https://forum.kirupa.com/u/Testy)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 1:54am UTC](https://forum.kirupa.com/t/problem-passing-variable-values-from-xml-to-variable-in-child-movie/276423 "2008-11-27T01:54:59Z")

</div>

I'm reading something from XML, and store it in a variable. I can trace the variable and it shows two items. I can display those two seperately with variable\[0\] and \[1\], meaning that it works as intended. After that, I…

---

## [Referencing Dynamically Loaded MovieClips](https://forum.kirupa.com/t/referencing-dynamically-loaded-movieclips/276420)

<div class="topic-metadata">

**Author:** [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 12:57am UTC](https://forum.kirupa.com/t/referencing-dynamically-loaded-movieclips/276420 "2008-11-27T00:57:32Z")

</div>

You can reference a MovieClip by clicking "Export For Actionscript" in the Linkage field of the library and giving it a class name. For example, I click the box and give it the class name "page1"; I can later access it…

---

## [How to embed/export a embeddable flash video](https://forum.kirupa.com/t/how-to-embed-export-a-embeddable-flash-video/276419)

<div class="topic-metadata">

**Author:** [@Pixelmech](https://forum.kirupa.com/u/Pixelmech)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 12:34am UTC](https://forum.kirupa.com/t/how-to-embed-export-a-embeddable-flash-video/276419 "2008-11-27T00:34:01Z")

</div>

Hi, I've got a .swf I made that I want to embed on my blog. Instead of creating an html page and using the javascript library, I wanted to instead embed a flash video player on the blog playing the SWF. I can't seem to…

---

## [Problem: cant get bold text to display in swf, must be something simple!](https://forum.kirupa.com/t/problem-cant-get-bold-text-to-display-in-swf-must-be-something-simple/276418)

<div class="topic-metadata">

**Author:** [@flycafemadrid](https://forum.kirupa.com/u/flycafemadrid)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 12:15am UTC](https://forum.kirupa.com/t/problem-cant-get-bold-text-to-display-in-swf-must-be-something-simple/276418 "2008-11-27T00:15:10Z")

</div>

Hi everyone, first time in here.. Got this really annoying problem! Just made a text box scroll thing, which is working fine. Only problem is that I need to make some of the text bold in the external .txt file. I've bee…

---

## [Help converting to AS3](https://forum.kirupa.com/t/help-converting-to-as3/276417)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [November 26, 2008, 11:13pm UTC](https://forum.kirupa.com/t/help-converting-to-as3/276417 "2008-11-26T23:13:13Z")

</div>

I found this draggable sortable list thing in AS2 :: http://blog.soulwire.co.uk/flash/actionscript-2/prototypes/dynamic-stacking/ I tried converting it to AS3, but am thrown off by the prototype functions. Does anyone …

---

## [Parameter child must be non null?](https://forum.kirupa.com/t/parameter-child-must-be-non-null/276416)

<div class="topic-metadata">

**Author:** [@Katie\_Lee](https://forum.kirupa.com/u/Katie_Lee)\
**Replies:** 0\
**Last updated:** [November 26, 2008, 10:58pm UTC](https://forum.kirupa.com/t/parameter-child-must-be-non-null/276416 "2008-11-26T22:58:17Z")

</div>

Hi, Do you know what Parameter child must be non-null means? at flash.display::DisplayObjectContainer/addChild() I am trying to add a picture (picture\_mc) from the previous frame, into person\_mc. person\_mc.addChild…

---

## [A conflict exists with definition in namespace internal?](https://forum.kirupa.com/t/a-conflict-exists-with-definition-in-namespace-internal/276414)

<div class="topic-metadata">

**Author:** [@Katie\_Lee](https://forum.kirupa.com/u/Katie_Lee)\
**Replies:** 0\
**Last updated:** [November 26, 2008, 10:03pm UTC](https://forum.kirupa.com/t/a-conflict-exists-with-definition-in-namespace-internal/276414 "2008-11-26T22:03:26Z")

</div>

Hello, Can you tell me what this means? person\_mc:MovieClip = new MovieClip(); person\_mc.addChild(picture\_mc); 1151: A conflict exists with definition person\_mc in namespace internal.var

---

## [Timeline Video](https://forum.kirupa.com/t/timeline-video/276413)

<div class="topic-metadata">

**Author:** [@well33t](https://forum.kirupa.com/u/well33t)\
**Replies:** 0\
**Last updated:** [November 26, 2008, 9:37pm UTC](https://forum.kirupa.com/t/timeline-video/276413 "2008-11-26T21:37:59Z")

</div>

Hi, I have a little problem to make my playbar and it would be very appreciated that someone help me to resolve it ! What i try to do is: Separate an flv in 5 part, (like theres a point at 2sec an other a 8sec and so …

---

## [Easy problem that will take you guys 2 seconds i think](https://forum.kirupa.com/t/easy-problem-that-will-take-you-guys-2-seconds-i-think/276410)

<div class="topic-metadata">

**Author:** [@RoomSeven](https://forum.kirupa.com/u/RoomSeven)\
**Replies:** 0\
**Last updated:** [November 26, 2008, 8:50pm UTC](https://forum.kirupa.com/t/easy-problem-that-will-take-you-guys-2-seconds-i-think/276410 "2008-11-26T20:50:08Z")

</div>

Hey guys i'm running into an issue where on teh click of a button i want a short text field to appear on stage. My problem is when the button is pushed the text field only appears and doesn't do the transition (from zer…

---

## [PHP not updating mysql](https://forum.kirupa.com/t/php-not-updating-mysql/276407)

<div class="topic-metadata">

**Author:** [@revin](https://forum.kirupa.com/u/revin)\
**Replies:** 0\
**Last updated:** [November 26, 2008, 8:45pm UTC](https://forum.kirupa.com/t/php-not-updating-mysql/276407 "2008-11-26T20:45:02Z")

</div>

\################################################################################ #------------------------------------------------------------------------------# # Activate Function #-----------------------------------…

---

## [Dynamic object & 3D rotation](https://forum.kirupa.com/t/dynamic-object-3d-rotation/276406)

<div class="topic-metadata">

**Author:** [@substance](https://forum.kirupa.com/u/substance)\
**Replies:** 0\
**Last updated:** [November 26, 2008, 8:16pm UTC](https://forum.kirupa.com/t/dynamic-object-3d-rotation/276406 "2008-11-26T20:16:43Z")

</div>

I'm creating a sprite dynamically and want to rotate it (using rotationY\[3D\]) around the center of the object. I know you cant change the registration point of an object dynamically so is this even possible? Maybe usin…

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

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