# flash

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

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

**Page:** 528

---

## [Actionscript for shared object doesn't work in seperate .as class](https://forum.kirupa.com/t/actionscript-for-shared-object-doesnt-work-in-seperate-as-class/295358)

<div class="topic-metadata">

**Author:** [@Tedri\_Mark](https://forum.kirupa.com/u/Tedri_Mark)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 4:32pm UTC](https://forum.kirupa.com/t/actionscript-for-shared-object-doesnt-work-in-seperate-as-class/295358 "2009-08-28T16:32:00Z")

</div>

Hi there, bit of an odd problem, I have the following piece of code var myCookie:SharedObject = SharedObject.getLocal("mySavedData","/") if(myCookie.data.mySavedText != undefined) { var gallerypath:String = myCookie.da…

---

## [BlazeDS, AMF3 in Actionscript?](https://forum.kirupa.com/t/blazeds-amf3-in-actionscript/295355)

<div class="topic-metadata">

**Author:** [@cesig](https://forum.kirupa.com/u/cesig)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 3:47pm UTC](https://forum.kirupa.com/t/blazeds-amf3-in-actionscript/295355 "2009-08-28T15:47:28Z")

</div>

I'm trying to connect with a BlazeDS AMF3 service using Actionscript only, and I'm not sure how to go about it. All the tutorials I see are for Flex and use the AMFChannel class, which is a Flex class. Can anyone give …

---

## [FLV won't play online!](https://forum.kirupa.com/t/flv-wont-play-online/295354)

<div class="topic-metadata">

**Author:** [@101music](https://forum.kirupa.com/u/101music)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 3:37pm UTC](https://forum.kirupa.com/t/flv-wont-play-online/295354 "2009-08-28T15:37:54Z")

</div>

Hi everyone, I worked on this flash site and imported it in Dreamweaver to publish online. When I test the movie in Flash and in Dreamweaver evrything looks to work just fine, but when I upload the .swif and the .html …

---

## [Again an xml photo gallery question :)](https://forum.kirupa.com/t/again-an-xml-photo-gallery-question/295353)

<div class="topic-metadata">

**Author:** [@Echelon](https://forum.kirupa.com/u/Echelon)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 3:35pm UTC](https://forum.kirupa.com/t/again-an-xml-photo-gallery-question/295353 "2009-08-28T15:35:20Z")

</div>

Hi, I've browsed through the topics on this forum and didn't really find what I was looking for. Maybe someone here can help me out. I'm toying with the XML photo gallery presented in the "http://www.kirupa.com/develo…

---

## [Textfield - center content vertically](https://forum.kirupa.com/t/textfield-center-content-vertically/295348)

<div class="topic-metadata">

**Author:** [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 2:39pm UTC](https://forum.kirupa.com/t/textfield-center-content-vertically/295348 "2009-08-28T14:39:56Z")

</div>

Hi In my new project I have a text field with dynamic text to display some news. I want it to be centered vertically and horizontally. The horizontal is easy, I just can't center it vertically. Can anyone give me a tip…

---

## [JavaScript and ActionScript playback control](https://forum.kirupa.com/t/javascript-and-actionscript-playback-control/295346)

<div class="topic-metadata">

**Author:** [@draig\_hand](https://forum.kirupa.com/u/draig_hand)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 2:07pm UTC](https://forum.kirupa.com/t/javascript-and-actionscript-playback-control/295346 "2009-08-28T14:07:23Z")

</div>

\[FONT=Arial\] \[FONT=Arial\]Hello all,\[/FONT\] \[/FONT\] \[FONT=Arial\] \[FONT=Arial\]I am completely new to this forum and to actionscript and flash. I have been studying and researching for a solution to my problem for som…

---

## [Good old Error #2048: Security sandbox violation](https://forum.kirupa.com/t/good-old-error-2048-security-sandbox-violation/295345)

<div class="topic-metadata">

**Author:** [@bfi](https://forum.kirupa.com/u/bfi)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 1:24pm UTC](https://forum.kirupa.com/t/good-old-error-2048-security-sandbox-violation/295345 "2009-08-28T13:24:06Z")

</div>

Hi, I have an swf hosted on let's say http://www.domain.com. I want to allow it to access my localhost. So in the root of my localhost, I've placed the crossdomain.xml file: \<?xml version="1.0"?\> \<!DOCTYPE cross-dom…

---

## [Solving compiler error: Classes may only be defined in external ActionScript 2.0 clas](https://forum.kirupa.com/t/solving-compiler-error-classes-may-only-be-defined-in-external-actionscript-2-0-clas/295337)

<div class="topic-metadata">

**Author:** [@mihaispr](https://forum.kirupa.com/u/mihaispr)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 10:35am UTC](https://forum.kirupa.com/t/solving-compiler-error-classes-may-only-be-defined-in-external-actionscript-2-0-clas/295337 "2009-08-28T10:35:03Z")

</div>

Hi everyone and thanks for reading my question. I have a class named Box. I want to display all the properties in Window-\>Output or CTRL+ENTER. I use actionscript 2. I'm trying this code: (using for -in statement in a …

---

## [Having Problems Writing Farsi in ActionScript](https://forum.kirupa.com/t/having-problems-writing-farsi-in-actionscript/295336)

<div class="topic-metadata">

**Author:** [@aaa89ir](https://forum.kirupa.com/u/aaa89ir)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 10:14am UTC](https://forum.kirupa.com/t/having-problems-writing-farsi-in-actionscript/295336 "2009-08-28T10:14:37Z")

</div>

Hi, Im trying to edit a flash template i got from flashmo.com and i've encounteed some problems. This is the exact URL: http://www.flashmo.com/preview/flashmo\_184\_business I want to hav Farsi labels and you have to name …

---

## [as3 is it even possible?](https://forum.kirupa.com/t/as3-is-it-even-possible/295334)

<div class="topic-metadata">

**Author:** [@tommyvdv](https://forum.kirupa.com/u/tommyvdv)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 9:17am UTC](https://forum.kirupa.com/t/as3-is-it-even-possible/295334 "2009-08-28T09:17:07Z")

</div>

Hi folks, I'm not quite new here but i'm not a frequent visitor/poster and was forced to create a new account \[smile\] So hi! I was wondering if it is possible to reset a flash application (standalone projector) with ac…

---

## [Class String -onSort() method](https://forum.kirupa.com/t/class-string-onsort-method/295332)

<div class="topic-metadata">

**Author:** [@mihaispr](https://forum.kirupa.com/u/mihaispr)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 8:45am UTC](https://forum.kirupa.com/t/class-string-onsort-method/295332 "2009-08-28T08:45:55Z")

</div>

I'm trying to implement onSort() function in actionscript2 regarding the criteria city (so I want to use onSort() by city criteria. My array name is vecteur that is included in class Array) . here is the code: var v…

---

## [Fscommand-Fullscreen does not work in Flash Player 9](https://forum.kirupa.com/t/fscommand-fullscreen-does-not-work-in-flash-player-9/295331)

<div class="topic-metadata">

**Author:** [@indra16](https://forum.kirupa.com/u/indra16)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 7:39am UTC](https://forum.kirupa.com/t/fscommand-fullscreen-does-not-work-in-flash-player-9/295331 "2009-08-28T07:39:55Z")

</div>

Dear all, I have a problem with Flash Player 9. I have developed a flash application (projector) in Flash CS3 using AS2 . I can compile it into Flash 9 projector, but when I do that, it will not run FSCOMMAND("FULLSCRE…

---

## [Test my game?](https://forum.kirupa.com/t/test-my-game/295330)

<div class="topic-metadata">

**Author:** [@danthemilk](https://forum.kirupa.com/u/danthemilk)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 7:12am UTC](https://forum.kirupa.com/t/test-my-game/295330 "2009-08-28T07:12:54Z")

</div>

If anybody is interested in giving me feedback about my game the URL is http://barrysbadnight.com. I've never done a game like this and I'm thinking about using mochiads for distribution. It's a 2D platformer built with …

---

## [Cursor position on a character in a text field](https://forum.kirupa.com/t/cursor-position-on-a-character-in-a-text-field/295329)

<div class="topic-metadata">

**Author:** [@sar\_van81](https://forum.kirupa.com/u/sar_van81)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 6:23am UTC](https://forum.kirupa.com/t/cursor-position-on-a-character-in-a-text-field/295329 "2009-08-28T06:23:20Z")

</div>

Hi , I have textfield and a custom curso movie clip on a parent movie clip. Now I need to move the cursor the characters on the textfiled ,whenever there is righ of left movement. It is similar to the movement of th…

---

## [Calling text in flash CS4 through txt file](https://forum.kirupa.com/t/calling-text-in-flash-cs4-through-txt-file/295324)

<div class="topic-metadata">

**Author:** [@rinki](https://forum.kirupa.com/u/rinki)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 5:02am UTC](https://forum.kirupa.com/t/calling-text-in-flash-cs4-through-txt-file/295324 "2009-08-28T05:02:33Z")

</div>

Hello , I m new in flash as3 please help me solve this task !!!!! I want to call the text through txt file or xml file in flash file which can be used as link on flash file

---

## [Problem with downstate for buttons](https://forum.kirupa.com/t/problem-with-downstate-for-buttons/295319)

<div class="topic-metadata">

**Author:** [@jumpsuit1](https://forum.kirupa.com/u/jumpsuit1)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 2:37am UTC](https://forum.kirupa.com/t/problem-with-downstate-for-buttons/295319 "2009-08-28T02:37:05Z")

</div>

Hi there, I'm using some classes that apply to a series of movieclip buttons I found. I'm using the classes to get the buttons to rollover and when clicked stay in the down state, when another is clicked the previous but…

---

## [Go to frame in the Main Timeline](https://forum.kirupa.com/t/go-to-frame-in-the-main-timeline/295317)

<div class="topic-metadata">

**Author:** [@Nick23](https://forum.kirupa.com/u/Nick23)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 2:19am UTC](https://forum.kirupa.com/t/go-to-frame-in-the-main-timeline/295317 "2009-08-28T02:19:33Z")

</div>

How do you go to a frame in the main timeline? I tried stage.gotoAndStop(2); but that did not work. Thanks!

---

## [What's wrong with this code? 95% there!](https://forum.kirupa.com/t/whats-wrong-with-this-code-95-there/295313)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 12:50am UTC](https://forum.kirupa.com/t/whats-wrong-with-this-code-95-there/295313 "2009-08-28T00:50:10Z")

</div>

This is my 2nd posting of this .. No-one seems interested!? This produces a fair effect :: im trying to work out how to keep lines drawn between different movieclips. It works, but wont clear the lines!!, so i have to l…

---

## [Z Order Swapping](https://forum.kirupa.com/t/z-order-swapping/295312)

<div class="topic-metadata">

**Author:** [@flashie](https://forum.kirupa.com/u/flashie)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 12:40am UTC](https://forum.kirupa.com/t/z-order-swapping/295312 "2009-08-28T00:40:34Z")

</div>

Hello. I am creating a simple navigation menu. It consists of two arrows, forward and backward. When only the forward arrow is applicable, then it will sit in the "center" (and vice versa), when both are applicable, they…

---

## [{Flash 8} AS 2.0 desperately need help! button needs to play animation loop](https://forum.kirupa.com/t/flash-8-as-2-0-desperately-need-help-button-needs-to-play-animation-loop/295304)

<div class="topic-metadata">

**Author:** [@Roselestte](https://forum.kirupa.com/u/Roselestte)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 9:05pm UTC](https://forum.kirupa.com/t/flash-8-as-2-0-desperately-need-help-button-needs-to-play-animation-loop/295304 "2009-08-27T21:05:43Z")

</div>

Hey everyone, I might as well start by saying im a total and utter newbie to action script, I have literally been thrown into it in the past 3 days, Im a freelance illustrator and a client has just asked me to create a…

---

## [Image Gallery Template](https://forum.kirupa.com/t/image-gallery-template/295302)

<div class="topic-metadata">

**Author:** [@top1hat19](https://forum.kirupa.com/u/top1hat19)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 8:54pm UTC](https://forum.kirupa.com/t/image-gallery-template/295302 "2009-08-27T20:54:47Z")

</div>

I know how to take a set of images and create a thumbnail gallery viewer, but I want to do more with it. I want to be able to add pictures to the gallery, or change which folder of pictures the gallery views alltogether…

---

## [\[F8\] userList and SspectatorList problem](https://forum.kirupa.com/t/f8-userlist-and-sspectatorlist-problem/295301)

<div class="topic-metadata">

**Author:** [@capdetrons](https://forum.kirupa.com/u/capdetrons)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 8:41pm UTC](https://forum.kirupa.com/t/f8-userlist-and-sspectatorlist-problem/295301 "2009-08-27T20:41:50Z")

</div>

Hi, Is anyone using electroserver or might have an idea of why this is happening in a game where you can send private messages by clicking on the userList but not when you click on the spectatorList? I don't know much ac…

---

## [Why does this work / not work?](https://forum.kirupa.com/t/why-does-this-work-not-work/295300)

<div class="topic-metadata">

**Author:** [@davec](https://forum.kirupa.com/u/davec)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 8:30pm UTC](https://forum.kirupa.com/t/why-does-this-work-not-work/295300 "2009-08-27T20:30:57Z")

</div>

I have a 10 frame movieClip which I can put on the timeline in a new movie like this: var impPanel:MovieClip = new ImpPanel(); addChild(impPanel); var btn:SimpleButton = new TBtn(); btn.addEventListener(MouseEvent.MO…

---

## [Combobox inside Datagrid](https://forum.kirupa.com/t/combobox-inside-datagrid/295298)

<div class="topic-metadata">

**Author:** [@EssenceLord](https://forum.kirupa.com/u/EssenceLord)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 8:14pm UTC](https://forum.kirupa.com/t/combobox-inside-datagrid/295298 "2009-08-27T20:14:36Z")

</div>

I am trying to put a combobox inside a datagrid. I managed to get it this far: http://img8.imageshack.us/img8/8325/captureyma.jpg Shown in that image is my combobox, populated with data. The problem is that if I se…

---

## [UILoader preloader problem](https://forum.kirupa.com/t/uiloader-preloader-problem/295297)

<div class="topic-metadata">

**Author:** [@szox](https://forum.kirupa.com/u/szox)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 7:39pm UTC](https://forum.kirupa.com/t/uiloader-preloader-problem/295297 "2009-08-27T19:39:49Z")

</div>

this is how it works. i add gallery mc to stage by this code: var galleryPage = new pageGallery(); galleryPage.stop(); gallery\_mc.addEventListener(MouseEvent.CLICK, btnClick); gallery\_mc.targetMc = galleryPage; funct…

---

## [General photo gallery efficiency questions](https://forum.kirupa.com/t/general-photo-gallery-efficiency-questions/295295)

<div class="topic-metadata">

**Author:** [@tpspoons](https://forum.kirupa.com/u/tpspoons)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 7:25pm UTC](https://forum.kirupa.com/t/general-photo-gallery-efficiency-questions/295295 "2009-08-27T19:25:00Z")

</div>

For some reason all the flash work I've been getting has been photo galleries, so I think I've worked out a pretty good model for creating one. However I haven't spent much time testing out different methods so I'm not a…

---

## [OrientToBezier](https://forum.kirupa.com/t/orienttobezier/295290)

<div class="topic-metadata">

**Author:** [@ash\_at\_risk](https://forum.kirupa.com/u/ash_at_risk)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 6:12pm UTC](https://forum.kirupa.com/t/orienttobezier/295290 "2009-08-27T18:12:46Z")

</div>

hello friends, i bumped with a error again, i m trying to move the car with the orientToBezier property to orient it along the path but , it rotated the car 90 degree first then orient . what is the problem associated …

---

## [Accessing an XML Tag Name](https://forum.kirupa.com/t/accessing-an-xml-tag-name/295289)

<div class="topic-metadata">

**Author:** [@Alpha\_Remex](https://forum.kirupa.com/u/Alpha_Remex)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 6:07pm UTC](https://forum.kirupa.com/t/accessing-an-xml-tag-name/295289 "2009-08-27T18:07:41Z")

</div>

So this is a nuanced version of a lot of posts that I found... If I have an XML database with a line like this: \<pizza\>pepporoni\</pizza\> ...and I want to get the name "pizza" when I'm looping through a database, ho…

---

## [Stage detection](https://forum.kirupa.com/t/stage-detection/295287)

<div class="topic-metadata">

**Author:** [@East\_High](https://forum.kirupa.com/u/East_High)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 5:30pm UTC](https://forum.kirupa.com/t/stage-detection/295287 "2009-08-27T17:30:17Z")

</div>

Sup y'all. it's been a long while since I've worked in Flash, but I'm moving into AS3 and I'm wondering why the below actions only work when there's a movie clip on the stage. What's the point of assigning an event liste…

---

## [Need help with a Vertical Scroll Loop](https://forum.kirupa.com/t/need-help-with-a-vertical-scroll-loop/295283)

<div class="topic-metadata">

**Author:** [@kcartcbre](https://forum.kirupa.com/u/kcartcbre)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 4:39pm UTC](https://forum.kirupa.com/t/need-help-with-a-vertical-scroll-loop/295283 "2009-08-27T16:39:33Z")

</div>

I have a list of locations that I am scrolling vertically in my movie with a mask over it (kind of like movie credits). My problem is when I try to loop the graphic it isn't smooth. I am using the following script: onC…

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

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