# flash

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

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

**Page:** 677

---

## [AS3 OOP - calling Main.function does not work](https://forum.kirupa.com/t/as3-oop-calling-main-function-does-not-work/284129)

<div class="topic-metadata">

**Author:** [@xchrisx](https://forum.kirupa.com/u/xchrisx)\
**Replies:** 0\
**Last updated:** [March 15, 2009, 7:30pm UTC](https://forum.kirupa.com/t/as3-oop-calling-main-function-does-not-work/284129 "2009-03-15T19:30:17Z")

</div>

This has been stumping me for days, maybe you can help. I can't seem to access functions (methods) of my document class from any other class in the same package. What i need to do is create some global functions like men…

---

## [Tweenlite and Papervision Strange MouseEvents](https://forum.kirupa.com/t/tweenlite-and-papervision-strange-mouseevents/284127)

<div class="topic-metadata">

**Author:** [@Deluka](https://forum.kirupa.com/u/Deluka)\
**Replies:** 0\
**Last updated:** [March 15, 2009, 7:10pm UTC](https://forum.kirupa.com/t/tweenlite-and-papervision-strange-mouseevents/284127 "2009-03-15T19:10:36Z")

</div>

Hey there If got a strange problem. I made a spiral in pv3d using a mc for material and added a listener for the mouse events. Now the problem is that when i rollover my mc the rollover tween start and directly start the…

---

## [eventListener on lines of text](https://forum.kirupa.com/t/eventlistener-on-lines-of-text/284121)

<div class="topic-metadata">

**Author:** [@fatratstew](https://forum.kirupa.com/u/fatratstew)\
**Replies:** 0\
**Last updated:** [March 15, 2009, 5:20pm UTC](https://forum.kirupa.com/t/eventlistener-on-lines-of-text/284121 "2009-03-15T17:20:03Z")

</div>

I have a function which cycles through an array and adds lines of text to a textField. for (var i:int = 0; i \< results.length; i++) { var furnList:Array = results\*.split("#"); …

---

## [Flash Video Player Full Screen scaling problem](https://forum.kirupa.com/t/flash-video-player-full-screen-scaling-problem/284120)

<div class="topic-metadata">

**Author:** [@darigan](https://forum.kirupa.com/u/darigan)\
**Replies:** 0\
**Last updated:** [March 15, 2009, 5:11pm UTC](https://forum.kirupa.com/t/flash-video-player-full-screen-scaling-problem/284120 "2009-03-15T17:11:44Z")

</div>

I'm workin on a multimedia CD that I'm creating entirely with Flash. I have just incorporated 2 video files. They play in the flash players fine but when I click on the Full Screen mode it blows the video up way to big t…

---

## [Rerring to my clip by name?](https://forum.kirupa.com/t/rerring-to-my-clip-by-name/284118)

<div class="topic-metadata">

**Author:** [@Alber\_Kidd](https://forum.kirupa.com/u/Alber_Kidd)\
**Replies:** 0\
**Last updated:** [March 15, 2009, 4:29pm UTC](https://forum.kirupa.com/t/rerring-to-my-clip-by-name/284118 "2009-03-15T16:29:28Z")

</div>

Hi, I have created a loop to add my clips by class and give them a name tempClip = new clientsThumbs\*(); tempClip.x = xPos; tempClip.y = yPos; tempClip.name = clientsNames\*; tempClip.addEventLi…

---

## [\[AS 2.0\] Menu not linking to Page mc's](https://forum.kirupa.com/t/as-2-0-menu-not-linking-to-page-mcs/284117)

<div class="topic-metadata">

**Author:** [@jamesrobins](https://forum.kirupa.com/u/jamesrobins)\
**Replies:** 0\
**Last updated:** [March 15, 2009, 4:28pm UTC](https://forum.kirupa.com/t/as-2-0-menu-not-linking-to-page-mcs/284117 "2009-03-15T16:28:16Z")

</div>

Hi there, Does anyone have any idea how to link the following on release code used when clicking a menu item such that it will open the required mc? stop(); // Include MC Tween #include "mc\_tween2.as" // Global Va…

---

## [AS3 MovieClip Displacement Issue](https://forum.kirupa.com/t/as3-movieclip-displacement-issue/284116)

<div class="topic-metadata">

**Author:** [@soccerlance3](https://forum.kirupa.com/u/soccerlance3)\
**Replies:** 0\
**Last updated:** [March 15, 2009, 4:21pm UTC](https://forum.kirupa.com/t/as3-movieclip-displacement-issue/284116 "2009-03-15T16:21:12Z")

</div>

Please see my .fla attachment. When positioning a MC and adding to the stage, the buttons contained within the MC are displaced by the position of the parent MC. Huh? :h: I placed comments in the simple .fla to show…

---

## [How can I play a movie clip from library?](https://forum.kirupa.com/t/how-can-i-play-a-movie-clip-from-library/284107)

<div class="topic-metadata">

**Author:** [@AndyA](https://forum.kirupa.com/u/AndyA)\
**Replies:** 0\
**Last updated:** [March 15, 2009, 12:31pm UTC](https://forum.kirupa.com/t/how-can-i-play-a-movie-clip-from-library/284107 "2009-03-15T12:31:33Z")

</div>

Hi, I'm quite new to flash and I've encountered a problem. I would like to know the actionscript for a button to play a movieclip in the library (which is a transition between pages, named "transition1"). However, I have…

---

## [XML Gallery with multiple galleries inside 3 galleries?](https://forum.kirupa.com/t/xml-gallery-with-multiple-galleries-inside-3-galleries/284105)

<div class="topic-metadata">

**Author:** [@Kasimir](https://forum.kirupa.com/u/Kasimir)\
**Replies:** 0\
**Last updated:** [March 15, 2009, 11:45am UTC](https://forum.kirupa.com/t/xml-gallery-with-multiple-galleries-inside-3-galleries/284105 "2009-03-15T11:45:33Z")

</div>

Okay, so my problem is I need a simple way to use xml and create a multiple gallery inside 3 main galleries so basicly like this: (Everything would be in the same page, list view, when clicking into one it would open it) …

---

## [dispatchEvent woes..need help](https://forum.kirupa.com/t/dispatchevent-woes-need-help/284101)

<div class="topic-metadata">

**Author:** [@pixeldude](https://forum.kirupa.com/u/pixeldude)\
**Replies:** 0\
**Last updated:** [March 15, 2009, 9:00am UTC](https://forum.kirupa.com/t/dispatchevent-woes-need-help/284101 "2009-03-15T09:00:49Z")

</div>

Aii there....I'v been struggling here..but still no luck here...reaaly need help with my dispatchEvent for my custom Event here....everything on server side is OK but when everything is success suppose to it will dispact…

---

## [RSS feed working on hosted site only](https://forum.kirupa.com/t/rss-feed-working-on-hosted-site-only/284098)

<div class="topic-metadata">

**Author:** [@IanCremona](https://forum.kirupa.com/u/IanCremona)\
**Replies:** 0\
**Last updated:** [March 15, 2009, 8:10am UTC](https://forum.kirupa.com/t/rss-feed-working-on-hosted-site-only/284098 "2009-03-15T08:10:30Z")

</div>

Hello, why is that the news item links on http://www.madeinpoker.com/RSSBanner/RSSViewer2.swf work and when the same swf is embedded here, the links do not work? http://www.chilipoker.com/external/rsstest/ how can …

---

## [AS3 Embedded MovieClips via Flex Builder](https://forum.kirupa.com/t/as3-embedded-movieclips-via-flex-builder/284096)

<div class="topic-metadata">

**Author:** [@K2xL](https://forum.kirupa.com/u/K2xL)\
**Replies:** 0\
**Last updated:** [March 15, 2009, 6:17am UTC](https://forum.kirupa.com/t/as3-embedded-movieclips-via-flex-builder/284096 "2009-03-15T06:17:26Z")

</div>

Very simple question: I have a SWF made in CS4. I use Embed tags to import the movieclip in Flex Builder 3. However, all of the actions on the movieclip (stop(), gotoAndPlay(), dispatchEvent())... simply do not wor…

---

## [Moving duplicated clips](https://forum.kirupa.com/t/moving-duplicated-clips/284094)

<div class="topic-metadata">

**Author:** [@alikim](https://forum.kirupa.com/u/alikim)\
**Replies:** 0\
**Last updated:** [March 15, 2009, 4:12am UTC](https://forum.kirupa.com/t/moving-duplicated-clips/284094 "2009-03-15T04:12:37Z")

</div>

Hi, I use the following AS in CS4 editor to create a sort of snowfall.. There r two function which I compare for effectiveness, createFlake uses a symbol in the library to duplicate and createFlake2 uses programming dr…

---

## [fontFamily for TextField](https://forum.kirupa.com/t/fontfamily-for-textfield/284089)

<div class="topic-metadata">

**Author:** [@bortiquai](https://forum.kirupa.com/u/bortiquai)\
**Replies:** 0\
**Last updated:** [March 15, 2009, 12:22am UTC](https://forum.kirupa.com/t/fontfamily-for-textfield/284089 "2009-03-15T00:22:21Z")

</div>

I am using AS3 to dynamically create TextFields. It is working fine, except I can't figure out how to apply a font. It is always the same. i tried: txtField.fontFamily = 'Arial'; but got the error "Property font…

---

## [ReferenceError: Error #1074](https://forum.kirupa.com/t/referenceerror-error-1074/284088)

<div class="topic-metadata">

**Author:** [@bobby123456789](https://forum.kirupa.com/u/bobby123456789)\
**Replies:** 0\
**Last updated:** [March 15, 2009, 12:08am UTC](https://forum.kirupa.com/t/referenceerror-error-1074/284088 "2009-03-15T00:08:35Z")

</div>

This is probably a noob question so here is my code: //---------------------------------------------------------------Variables stop(); Key.initialize(stage); time = 60; Health = 106; steps = 2; endgamebool = false; spri…

---

## [Basic AS 2.0 to 3.0 Variable help needed!](https://forum.kirupa.com/t/basic-as-2-0-to-3-0-variable-help-needed/284086)

<div class="topic-metadata">

**Author:** [@Frey](https://forum.kirupa.com/u/Frey)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 11:01pm UTC](https://forum.kirupa.com/t/basic-as-2-0-to-3-0-variable-help-needed/284086 "2009-03-14T23:01:54Z")

</div>

Hi guys \[smiley\] Basically I've been following this tutorial, here, which is for AS2, but I've been altering it to make it all 3.0, but around the 10/12min mark doing what is done in the video just brings a bunch of (1…

---

## [RSS feed in a flash site](https://forum.kirupa.com/t/rss-feed-in-a-flash-site/284084)

<div class="topic-metadata">

**Author:** [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 9:19pm UTC](https://forum.kirupa.com/t/rss-feed-in-a-flash-site/284084 "2009-03-14T21:19:49Z")

</div>

Hi there I am thinking about SEO. Today I have a thought and i would like some comments to it. I think that if I use RSS format in my site newsticker google can see the news. Unfortunately I don't knoe how to do tha…

---

## [What is the reason this is done?](https://forum.kirupa.com/t/what-is-the-reason-this-is-done/284083)

<div class="topic-metadata">

**Author:** [@Tsukiyomi](https://forum.kirupa.com/u/Tsukiyomi)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 9:15pm UTC](https://forum.kirupa.com/t/what-is-the-reason-this-is-done/284083 "2009-03-14T21:15:03Z")

</div>

I've seen something in a few custom classes, tutorials and articles I've read as to how people handle their class variables. Sometimes I see it set up like this: private var container:Sprite; private var box:TextF…

---

## [Code Problem. I'm stumped!](https://forum.kirupa.com/t/code-problem-im-stumped/284082)

<div class="topic-metadata">

**Author:** [@Woogs](https://forum.kirupa.com/u/Woogs)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 9:13pm UTC](https://forum.kirupa.com/t/code-problem-im-stumped/284082 "2009-03-14T21:13:17Z")

</div>

Hello all. I've run into an Actionscript 3.0 problem recently that I can't seem to figure out. The code is pretty simple. Where is this '000000000001' comming from? :stare: Thanks. trace(array\[0\]); // 58.24 trace(arra…

---

## [Flash Website + Not recognizing frame labels/stop action - plays thru timeline](https://forum.kirupa.com/t/flash-website-not-recognizing-frame-labels-stop-action-plays-thru-timeline/284079)

<div class="topic-metadata">

**Author:** [@lisahagun](https://forum.kirupa.com/u/lisahagun)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 8:06pm UTC](https://forum.kirupa.com/t/flash-website-not-recognizing-frame-labels-stop-action-plays-thru-timeline/284079 "2009-03-14T20:06:26Z")

</div>

Hi, I have built a couple of sites in Flash, however, I have a problem with a current site I'm working on. My client wants various photos to fade out in a "checkerboard" fashion, which I am doing via its own movie clip a…

---

## [Stand alone video](https://forum.kirupa.com/t/stand-alone-video/284078)

<div class="topic-metadata">

**Author:** [@WmLambert](https://forum.kirupa.com/u/WmLambert)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 6:54pm UTC](https://forum.kirupa.com/t/stand-alone-video/284078 "2009-03-14T18:54:11Z")

</div>

Hello. Making animated movies from .eps elements created in Illustrator is easy. My lack of knowledge comes from understanding the transport process. Generally, I can build a video, save and compress it, and export as…

---

## [Tween into position when a movie clip is automaticcally centered to stage](https://forum.kirupa.com/t/tween-into-position-when-a-movie-clip-is-automaticcally-centered-to-stage/284077)

<div class="topic-metadata">

**Author:** [@jeros10](https://forum.kirupa.com/u/jeros10)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 5:53pm UTC](https://forum.kirupa.com/t/tween-into-position-when-a-movie-clip-is-automaticcally-centered-to-stage/284077 "2009-03-14T17:53:48Z")

</div>

I hav movieclips in a flash document that i have autocenter when the stage is scaled code is something like this: clients\_mc.y = Math.round((stage.stageHeight/2)-15); stage.addEventListener(Event.RESIZE, resizeClient…

---

## [Mouse Click Passthrough?](https://forum.kirupa.com/t/mouse-click-passthrough/284075)

<div class="topic-metadata">

**Author:** [@almo](https://forum.kirupa.com/u/almo)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 5:39pm UTC](https://forum.kirupa.com/t/mouse-click-passthrough/284075 "2009-03-14T17:39:41Z")

</div>

Hi! I have a movie clip, and I would like it to stop blocking mouse clicks from getting to deeper items on the stage. I haven't added any eventlisteners to the offending clip, but when it is overlapping other clips t…

---

## [Disabling FlVplayback](https://forum.kirupa.com/t/disabling-flvplayback/284073)

<div class="topic-metadata">

**Author:** [@jeros10](https://forum.kirupa.com/u/jeros10)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 4:49pm UTC](https://forum.kirupa.com/t/disabling-flvplayback/284073 "2009-03-14T16:49:16Z")

</div>

I have a flash document that has FLVplayback components in it. the flash file itself can go full screen, but i dont want the FLVplayback fullscreen to take over when i get to that section. any thoughts?

---

## [No WMV support in CS4?](https://forum.kirupa.com/t/no-wmv-support-in-cs4/284071)

<div class="topic-metadata">

**Author:** [@DrQuincy](https://forum.kirupa.com/u/DrQuincy)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 4:35pm UTC](https://forum.kirupa.com/t/no-wmv-support-in-cs4/284071 "2009-03-14T16:35:36Z")

</div>

I have the CS4 trial and can't encode WMV - I've tried through the Flash Studio and the Media Encoder. Any ideas why? I could on Flash 8, which was the version I used to have. I have bought the full version of Design Pr…

---

## [Security violation when loading from youtube](https://forum.kirupa.com/t/security-violation-when-loading-from-youtube/284070)

<div class="topic-metadata">

**Author:** [@Johnsson](https://forum.kirupa.com/u/Johnsson)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 4:18pm UTC](https://forum.kirupa.com/t/security-violation-when-loading-from-youtube/284070 "2009-03-14T16:18:08Z")

</div>

Hi!! I'm trying to play youtube videos on my webpage..... It's worked before, but now there seem to be some sort of security violation... I've tried with this inside of flash: Security.allowDomain("www.youtube.co…

---

## [Create preview/play button like youtube?](https://forum.kirupa.com/t/create-preview-play-button-like-youtube/284068)

<div class="topic-metadata">

**Author:** [@animatrix](https://forum.kirupa.com/u/animatrix)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 3:42pm UTC](https://forum.kirupa.com/t/create-preview-play-button-like-youtube/284068 "2009-03-14T15:42:44Z")

</div>

I saw this tutorial and it works great in actionscript 3.0 on its own - http://www.monkeyflash.com/flash/pos...r\_flash\_video/ But does anyone know to make something like this in actionscript 2.0? The reason being is m…

---

## [Writing a class to use with a MovieClip that's on stage](https://forum.kirupa.com/t/writing-a-class-to-use-with-a-movieclip-thats-on-stage/284067)

<div class="topic-metadata">

**Author:** [@DrQuincy](https://forum.kirupa.com/u/DrQuincy)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 3:42pm UTC](https://forum.kirupa.com/t/writing-a-class-to-use-with-a-movieclip-thats-on-stage/284067 "2009-03-14T15:42:07Z")

</div>

Sorry I'm new to this so forgive me if I explain it wrong. If you put a moviecilp on the stage and then write a class that extends movieclip, is it possible to make it so that this references inside your class refer to…

---

## [External .as files without classes](https://forum.kirupa.com/t/external-as-files-without-classes/284064)

<div class="topic-metadata">

**Author:** [@DrQuincy](https://forum.kirupa.com/u/DrQuincy)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 3:12pm UTC](https://forum.kirupa.com/t/external-as-files-without-classes/284064 "2009-03-14T15:12:49Z")

</div>

Hi Let's say you have a ton of code in your timeline but none of it is classes. Is it possible to put these into several external .as files? If so, how do you include them? Thanks.

---

## [onRelease disable menu button](https://forum.kirupa.com/t/onrelease-disable-menu-button/284061)

<div class="topic-metadata">

**Author:** [@jamesrobins](https://forum.kirupa.com/u/jamesrobins)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 2:22pm UTC](https://forum.kirupa.com/t/onrelease-disable-menu-button/284061 "2009-03-14T14:22:12Z")

</div>

Hi guys, I was hoping someone could help me - the attached menu has functions for onRollover, and onRollout, however I was wondering if it was possible to create a function for onRelease that would mean that once the m…

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

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