# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=1279

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

**Page:** 1280

---

## [How to handle LoadVars inside a class?](https://forum.kirupa.com/t/how-to-handle-loadvars-inside-a-class/233898)

<div class="topic-metadata">

**Author:** [@ironchefmoto](https://forum.kirupa.com/u/ironchefmoto)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 8:15pm UTC](https://forum.kirupa.com/t/how-to-handle-loadvars-inside-a-class/233898 "2007-07-27T20:15:07Z")

</div>

I'm an idiot...nothing to see here...

---

## [Convert a flash gallery to XML](https://forum.kirupa.com/t/convert-a-flash-gallery-to-xml/233897)

<div class="topic-metadata">

**Author:** [@beesbane](https://forum.kirupa.com/u/beesbane)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 7:51pm UTC](https://forum.kirupa.com/t/convert-a-flash-gallery-to-xml/233897 "2007-07-27T19:51:37Z")

</div>

how would i most easily convert my current flash gallery to an XML gallery that can be easily updated? I currently have little knowledge on XML.

---

## [Help With A "simple" Flash Xml Gallery](https://forum.kirupa.com/t/help-with-a-simple-flash-xml-gallery/233894)

<div class="topic-metadata">

**Author:** [@dchitman03](https://forum.kirupa.com/u/dchitman03)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 7:28pm UTC](https://forum.kirupa.com/t/help-with-a-simple-flash-xml-gallery/233894 "2007-07-27T19:28:18Z")

</div>

Hey, can anybody help me with this flashden gallery I found. I wanna know how to put it together. I want it to look like the example but I just wanna know how to do it! Here's the link: http://www.flashden.net/item/pho…

---

## [Variables can't be accessed from inside function?](https://forum.kirupa.com/t/variables-cant-be-accessed-from-inside-function/233891)

<div class="topic-metadata">

**Author:** [@iceflyin](https://forum.kirupa.com/u/iceflyin)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 7:11pm UTC](https://forum.kirupa.com/t/variables-cant-be-accessed-from-inside-function/233891 "2007-07-27T19:11:03Z")

</div>

Ummm, whats the deal... My other function works fine! trace(Title0.text);// Traces "My Title" outside of function //START - Submit Function this.submit.addEventListener("mouseUp",submitFunct); function submitFunct(e…

---

## [PDF doesn't load on windows](https://forum.kirupa.com/t/pdf-doesnt-load-on-windows/233889)

<div class="topic-metadata">

**Author:** [@rkorda](https://forum.kirupa.com/u/rkorda)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 6:57pm UTC](https://forum.kirupa.com/t/pdf-doesnt-load-on-windows/233889 "2007-07-27T18:57:35Z")

</div>

hey there, anybody know why a PDF would load on mac and not on windows? this is the code: PDF\_btn.onRelease=function(){ getURL("TermLifePDF.pdf", "\_blank","GET") } thanks!!

---

## [Line Work](https://forum.kirupa.com/t/line-work/233886)

<div class="topic-metadata">

**Author:** [@egghead2000](https://forum.kirupa.com/u/egghead2000)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 6:44pm UTC](https://forum.kirupa.com/t/line-work/233886 "2007-07-27T18:44:27Z")

</div>

Is it possible to animate a line being drawn? Going from a dot to a line.

---

## [How to detect video stream freeze in player](https://forum.kirupa.com/t/how-to-detect-video-stream-freeze-in-player/233880)

<div class="topic-metadata">

**Author:** [@jgpandit](https://forum.kirupa.com/u/jgpandit)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 5:46pm UTC](https://forum.kirupa.com/t/how-to-detect-video-stream-freeze-in-player/233880 "2007-07-27T17:46:20Z")

</div>

Hello, I have a video player which plays only live streams. The stream could contain audio / video or audio only. I am seeing an intermittant freeze only in the video. I am not able to track down the source of the free…

---

## [Issue with embedded fonts and loadMovie](https://forum.kirupa.com/t/issue-with-embedded-fonts-and-loadmovie/233879)

<div class="topic-metadata">

**Author:** [@disbeliever](https://forum.kirupa.com/u/disbeliever)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 5:45pm UTC](https://forum.kirupa.com/t/issue-with-embedded-fonts-and-loadmovie/233879 "2007-07-27T17:45:10Z")

</div>

Hello, I have a main movie with a blank holder clip that I am loading an external movie into. This blank holder is sitting on even x,y coords. In my external movie, I am embedding several fonts, not even pixel fonts, l…

---

## [Possible for two dynamic MCs to share \_level0?](https://forum.kirupa.com/t/possible-for-two-dynamic-mcs-to-share--level0/233877)

<div class="topic-metadata">

**Author:** [@pajhonka](https://forum.kirupa.com/u/pajhonka)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 5:38pm UTC](https://forum.kirupa.com/t/possible-for-two-dynamic-mcs-to-share--level0/233877 "2007-07-27T17:38:57Z")

</div>

Hi, I'm trying to keep all of my Flash project on \_level0 for my Content Management System's purposes. I'm trying to have two movie clips containing all the project on \_level0, but the new movie always bumps the other. …

---

## [Full Browser flash question](https://forum.kirupa.com/t/full-browser-flash-question/233876)

<div class="topic-metadata">

**Author:** [@Big\_Shooter](https://forum.kirupa.com/u/Big_Shooter)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 5:31pm UTC](https://forum.kirupa.com/t/full-browser-flash-question/233876 "2007-07-27T17:31:04Z")

</div>

Hi there, Can someone please give me a hand, I'm using one of kirupas examples for load emptymc. The document size is 800x600, which is white, but the background color will change around it when the user clicks on a…

---

## [Array.sortOn with objects of a custom class?](https://forum.kirupa.com/t/array-sorton-with-objects-of-a-custom-class/233872)

<div class="topic-metadata">

**Author:** [@daveistheword](https://forum.kirupa.com/u/daveistheword)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 5:02pm UTC](https://forum.kirupa.com/t/array-sorton-with-objects-of-a-custom-class/233872 "2007-07-27T17:02:20Z")

</div>

I have a problem - I'm trying to do Array.sortOn on an array of custom-class objects. It's not working, though nothing in the documentation suggests that this is a problem. Below is the code. I'm confident the MetricReco…

---

## [How To Do This](https://forum.kirupa.com/t/how-to-do-this/233870)

<div class="topic-metadata">

**Author:** [@michaelus82](https://forum.kirupa.com/u/michaelus82)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 4:29pm UTC](https://forum.kirupa.com/t/how-to-do-this/233870 "2007-07-27T16:29:38Z")

</div>

a

---

## [ReferenceError: Error #1037: Cannot assign to a method myFunction on myClass](https://forum.kirupa.com/t/referenceerror-error-1037-cannot-assign-to-a-method-myfunction-on-myclass/233864)

<div class="topic-metadata">

**Author:** [@cesig](https://forum.kirupa.com/u/cesig)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 4:05pm UTC](https://forum.kirupa.com/t/referenceerror-error-1037-cannot-assign-to-a-method-myfunction-on-myclass/233864 "2007-07-27T16:05:58Z")

</div>

I'm trying to combine two classes to create a larger ui component. I have a paging widget and a slider. On the paging widget, a user can click on the left or right arrows to page down or up. The slider has a number…

---

## [loadMovie AS3 style](https://forum.kirupa.com/t/loadmovie-as3-style/233862)

<div class="topic-metadata">

**Author:** [@GrndMasterFlash](https://forum.kirupa.com/u/GrndMasterFlash)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 3:53pm UTC](https://forum.kirupa.com/t/loadmovie-as3-style/233862 "2007-07-27T15:53:14Z")

</div>

i just started using AS3 and was trying to do a loadMovie, but that method is not supported, can some one tell me how to do a loadMovie in AS3?:b:

---

## [Need Help with Set Inerval & Tweening](https://forum.kirupa.com/t/need-help-with-set-inerval-tweening/233856)

<div class="topic-metadata">

**Author:** [@kenobebe](https://forum.kirupa.com/u/kenobebe)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 3:02pm UTC](https://forum.kirupa.com/t/need-help-with-set-inerval-tweening/233856 "2007-07-27T15:02:12Z")

</div>

so im trying to make a game where your task is to feed a fat baby until he is 100% satisfied I want the functionality to be that a function calls a random food item from an array really quickly so it's tough to click on …

---

## [Why does this have to be so hard](https://forum.kirupa.com/t/why-does-this-have-to-be-so-hard/233854)

<div class="topic-metadata">

**Author:** [@RaymondP](https://forum.kirupa.com/u/RaymondP)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 2:51pm UTC](https://forum.kirupa.com/t/why-does-this-have-to-be-so-hard/233854 "2007-07-27T14:51:17Z")

</div>

r

---

## [Publish Settings](https://forum.kirupa.com/t/publish-settings/233853)

<div class="topic-metadata">

**Author:** [@arturo](https://forum.kirupa.com/u/arturo)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 2:43pm UTC](https://forum.kirupa.com/t/publish-settings/233853 "2007-07-27T14:43:57Z")

</div>

Hi Guys, well, 2 questions, I have a movie of 1024 x 768 with a gradient background, idea here it's to have that movie as a background of the entire site, and full window size, this is, if the size of the windows is 1024…

---

## [Button that toggles text box](https://forum.kirupa.com/t/button-that-toggles-text-box/233847)

<div class="topic-metadata">

**Author:** [@mikeyd3232](https://forum.kirupa.com/u/mikeyd3232)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 1:58pm UTC](https://forum.kirupa.com/t/button-that-toggles-text-box/233847 "2007-07-27T13:58:53Z")

</div>

I can't find any information on this....any help is greatly appreciated. I have a button that will show/hide information. Along with that, I want the text on the button to toggle from "show" to "hide" and vice versa. T…

---

## [Noob Question Re. Link Probs =(](https://forum.kirupa.com/t/noob-question-re-link-probs/233841)

<div class="topic-metadata">

**Author:** [@GuideAroundTown](https://forum.kirupa.com/u/GuideAroundTown)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 12:51pm UTC](https://forum.kirupa.com/t/noob-question-re-link-probs/233841 "2007-07-27T12:51:50Z")

</div>

Hey, Having a bit of trouble getting links to work - Using MX Pro 2004. The links are working fine when i preview in flash however when previewed in html nothing happens. Not sure what I'm doing wrong but it's bound t…

---

## [SlideShow](https://forum.kirupa.com/t/slideshow/233832)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 11:14am UTC](https://forum.kirupa.com/t/slideshow/233832 "2007-07-27T11:14:28Z")

</div>

Hello \> I am trying to make a slide show, which selects the next picture at random from an array. Unfortunately, the image is undefined when traced.. Here is my code ... Any help would be most appreciated! var slid…

---

## [SHAPE tweening](https://forum.kirupa.com/t/shape-tweening/233831)

<div class="topic-metadata">

**Author:** [@PatriciaE](https://forum.kirupa.com/u/PatriciaE)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 10:52am UTC](https://forum.kirupa.com/t/shape-tweening/233831 "2007-07-27T10:52:58Z")

</div>

Hi guys, I made a flash character animation for a client about 2 months ago and some hair animation used shape tweening. now for no good reason, in the fla and swf the tween is broken! I've used hints but the "tween"…

---

## [Why isn't this working? Creating a dynamic movieclip using ActionScript](https://forum.kirupa.com/t/why-isnt-this-working-creating-a-dynamic-movieclip-using-actionscript/233830)

<div class="topic-metadata">

**Author:** [@Zomis](https://forum.kirupa.com/u/Zomis)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 10:33am UTC](https://forum.kirupa.com/t/why-isnt-this-working-creating-a-dynamic-movieclip-using-actionscript/233830 "2007-07-27T10:33:20Z")

</div>

When I click the button, I want the "sand" movieclip to be created at position (200, 100). But when I launch the project I get an error: The class or interface 'sand' could not be loaded. However, even though I get t…

---

## [For a newbie, ActionScript 2.0 or 3.0?](https://forum.kirupa.com/t/for-a-newbie-actionscript-2-0-or-3-0/233826)

<div class="topic-metadata">

**Author:** [@Zomis](https://forum.kirupa.com/u/Zomis)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 9:32am UTC](https://forum.kirupa.com/t/for-a-newbie-actionscript-2-0-or-3-0/233826 "2007-07-27T09:32:35Z")

</div>

I was wondering which ActionScript version you recommend me to start learning, is 2.0 still usable or is 3.0 the only way to go? Is one of them much easier to learn than the other? How much more powerful is 3.0?

---

## [2 classes in the same package](https://forum.kirupa.com/t/2-classes-in-the-same-package/233825)

<div class="topic-metadata">

**Author:** [@Aquilonian](https://forum.kirupa.com/u/Aquilonian)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 9:31am UTC](https://forum.kirupa.com/t/2-classes-in-the-same-package/233825 "2007-07-27T09:31:05Z")

</div>

This migth be so basic that i am afraid to ask Anyway package leprechan { public class c1{ var gh:int = 1; } public class c2{ var gh:int = 2; } } saved as leprechan.as and in the main timeline: import …

---

## [Help me to kill a function!](https://forum.kirupa.com/t/help-me-to-kill-a-function/233817)

<div class="topic-metadata">

**Author:** [@Head\_In\_A\_Pan](https://forum.kirupa.com/u/Head_In_A_Pan)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 6:40am UTC](https://forum.kirupa.com/t/help-me-to-kill-a-function/233817 "2007-07-27T06:40:08Z")

</div>

I have a function I call immediately when my movie loads... There is another function I call where I want to kill the first & stop it doing what it was doing. How do I kill the first function?

---

## [How do Control a Streaming Dynamic External SWF](https://forum.kirupa.com/t/how-do-control-a-streaming-dynamic-external-swf/233814)

<div class="topic-metadata">

**Author:** [@devondrake01](https://forum.kirupa.com/u/devondrake01)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 5:50am UTC](https://forum.kirupa.com/t/how-do-control-a-streaming-dynamic-external-swf/233814 "2007-07-27T05:50:00Z")

</div>

Alright So here is the problem... I am building a flash media player which you can visit at this address http://www.drakewire.com/ad1.html Everything loads fine, at least in concept... However, on Frame one I am c…

---

## [Flash resize browser](https://forum.kirupa.com/t/flash-resize-browser/233808)

<div class="topic-metadata">

**Author:** [@Big\_Shooter](https://forum.kirupa.com/u/Big_Shooter)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 3:53am UTC](https://forum.kirupa.com/t/flash-resize-browser/233808 "2007-07-27T03:53:46Z")

</div>

Hi all, I am looking to have a site setup so that when you go the the index page, it automatically enlarges the window to fill the browser screen depending on the user's resolution size, similar to this site: http://…

---

## [Can scrollRect be tweened?](https://forum.kirupa.com/t/can-scrollrect-be-tweened/233807)

<div class="topic-metadata">

**Author:** [@geoken](https://forum.kirupa.com/u/geoken)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 3:52am UTC](https://forum.kirupa.com/t/can-scrollrect-be-tweened/233807 "2007-07-27T03:52:11Z")

</div>

Like the title says, is there any way to tween scrollRect?

---

## [Random frames with no repeat](https://forum.kirupa.com/t/random-frames-with-no-repeat/233804)

<div class="topic-metadata">

**Author:** [@LeiaGraf](https://forum.kirupa.com/u/LeiaGraf)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 1:45am UTC](https://forum.kirupa.com/t/random-frames-with-no-repeat/233804 "2007-07-27T01:45:45Z")

</div>

Hey guys! This time I'm trying to access random frames between 1 and 10. That bit's easy, yay for help files. function randRange(min:Number, max:Number):Number { var randomNum:Number = Math.floor(Math.random() …

---

## [Need help modifying the slideshow :)](https://forum.kirupa.com/t/need-help-modifying-the-slideshow/233792)

<div class="topic-metadata">

**Author:** [@Stevai0](https://forum.kirupa.com/u/Stevai0)\
**Replies:** 0\
**Last updated:** [July 26, 2007, 10:35pm UTC](https://forum.kirupa.com/t/need-help-modifying-the-slideshow/233792 "2007-07-26T22:35:17Z")

</div>

Hay all, Im new here, the tutorials are so good btw :A+: Anyway heres the code from one of the tutorials: delay = 3000; //----------------------- function loadXML(loaded) { if (loaded) { xmlNode = this.firs…

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=1278)

[Next page](https://forum.kirupa.com/c/programming/flash/38.md?page=1280)
