# flash

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

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

**Page:** 856

---

## [My actionScript only works half the time - animate on/off](https://forum.kirupa.com/t/my-actionscript-only-works-half-the-time-animate-on-off/269701)

<div class="topic-metadata">

**Author:** [@dango](https://forum.kirupa.com/u/dango)\
**Replies:** 0\
**Last updated:** [August 31, 2008, 2:49am UTC](https://forum.kirupa.com/t/my-actionscript-only-works-half-the-time-animate-on-off/269701 "2008-08-31T02:49:06Z")

</div>

hello, i have a basic formula i use on most websites that i make. the current site i am making is not working properly. when i open a new page, the current page does not always animate off. sometimes it does, but 50% o…

---

## [Parental Guidance Needed!](https://forum.kirupa.com/t/parental-guidance-needed/269698)

<div class="topic-metadata">

**Author:** [@slimpickinz](https://forum.kirupa.com/u/slimpickinz)\
**Replies:** 0\
**Last updated:** [August 31, 2008, 12:46am UTC](https://forum.kirupa.com/t/parental-guidance-needed/269698 "2008-08-31T00:46:36Z")

</div>

I have a main MC, on which I have a button which dynamically loads another MC on top (like a popup). On this popup, I have a close button, which works. On the popup, I have another button which dynamically loads another …

---

## [Quick fix: Passing a int Variable into a function](https://forum.kirupa.com/t/quick-fix-passing-a-int-variable-into-a-function/269697)

<div class="topic-metadata">

**Author:** [@Z11](https://forum.kirupa.com/u/Z11)\
**Replies:** 0\
**Last updated:** [August 31, 2008, 12:39am UTC](https://forum.kirupa.com/t/quick-fix-passing-a-int-variable-into-a-function/269697 "2008-08-31T00:39:50Z")

</div>

I can't seem to get this to work: var i:int = 0; function count(a:int):void { a++; } count(i); count(i); count(i); trace(i);//traces 0 Is there a way I can make it do it's math, to the variable itse…

---

## [Flash just won't show](https://forum.kirupa.com/t/flash-just-wont-show/269695)

<div class="topic-metadata">

**Author:** [@sarumitai](https://forum.kirupa.com/u/sarumitai)\
**Replies:** 0\
**Last updated:** [August 31, 2008, 12:00am UTC](https://forum.kirupa.com/t/flash-just-wont-show/269695 "2008-08-31T00:00:11Z")

</div>

I made some computer games for learning English. I have played them hundreds of times on my home computer, computers around the world, computers at home in the US (I am in Japan now), and many others. When I decide t…

---

## [Random Movie Clips](https://forum.kirupa.com/t/random-movie-clips/269690)

<div class="topic-metadata">

**Author:** [@small\_guy](https://forum.kirupa.com/u/small_guy)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 9:30pm UTC](https://forum.kirupa.com/t/random-movie-clips/269690 "2008-08-30T21:30:41Z")

</div>

I have three different movie clips linked out of the library. I would like to set it up so (randomly) it will be a different movie clip that comes up when the user brings up the site. Any thoughts on how to achieve thi…

---

## [Tweening imported graphics](https://forum.kirupa.com/t/tweening-imported-graphics/269689)

<div class="topic-metadata">

**Author:** [@NANO3](https://forum.kirupa.com/u/NANO3)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 9:02pm UTC](https://forum.kirupa.com/t/tweening-imported-graphics/269689 "2008-08-30T21:02:36Z")

</div>

Is it possible to tween imported graphics? I made some boxes in photoshop and want to tween them to make a flowing transition on a navigation menu. Thank you.

---

## [Srolling banners](https://forum.kirupa.com/t/srolling-banners/269688)

<div class="topic-metadata">

**Author:** [@Mondie](https://forum.kirupa.com/u/Mondie)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 8:43pm UTC](https://forum.kirupa.com/t/srolling-banners/269688 "2008-08-30T20:43:59Z")

</div>

Hi guys! I was just wondering if someone could help me with this. It's driving me crazy but I bet it's something trivial. I am trying to create banners which would slide by themselves but also need to be controlled by 2…

---

## [Full Screen Gallery](https://forum.kirupa.com/t/full-screen-gallery/269686)

<div class="topic-metadata">

**Author:** [@mattjp18](https://forum.kirupa.com/u/mattjp18)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 7:55pm UTC](https://forum.kirupa.com/t/full-screen-gallery/269686 "2008-08-30T19:55:15Z")

</div>

Hi, Can anyone offer me some tips or point me in the right direction to making a fullscreen gallery. An example of what I'm trying to do is at http://www.designworks.bbdo.com/ when you click on view project. I would …

---

## [DataGrid first row height?](https://forum.kirupa.com/t/datagrid-first-row-height/269685)

<div class="topic-metadata">

**Author:** [@kaptankorkut](https://forum.kirupa.com/u/kaptankorkut)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 7:53pm UTC](https://forum.kirupa.com/t/datagrid-first-row-height/269685 "2008-08-30T19:53:38Z")

</div>

Hi, I want my grids first rows height to be more than others. Any ideas? Thanks in advance!

---

## [Car animation](https://forum.kirupa.com/t/car-animation/269682)

<div class="topic-metadata">

**Author:** [@flashfighter](https://forum.kirupa.com/u/flashfighter)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 6:56pm UTC](https://forum.kirupa.com/t/car-animation/269682 "2008-08-30T18:56:37Z")

</div>

i want to animate car in city. which software would be better flash or 3d studio max

---

## [Switch language using custom buttons vs combobox](https://forum.kirupa.com/t/switch-language-using-custom-buttons-vs-combobox/269676)

<div class="topic-metadata">

**Author:** [@Obi\_Wan](https://forum.kirupa.com/u/Obi_Wan)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 4:51pm UTC](https://forum.kirupa.com/t/switch-language-using-custom-buttons-vs-combobox/269676 "2008-08-30T16:51:15Z")

</div>

Hey Folks, I have to create a multilanguage site and I have all that code working now but I am using the combo box to toggle back and forth from English and French. How do I change my code so that the user has to click…

---

## ["Dynamic" XML photo gallery, mp3 player?](https://forum.kirupa.com/t/dynamic-xml-photo-gallery-mp3-player/269674)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 3:45pm UTC](https://forum.kirupa.com/t/dynamic-xml-photo-gallery-mp3-player/269674 "2008-08-30T15:45:32Z")

</div>

Is there a way to create an XML-based photo gallery that can go and "find" image files in a given directory -- meaning, figure out how many there are and the file names on the fly -- so that I don't have to provide file …

---

## [\[fl9\]Passing flashvars problem](https://forum.kirupa.com/t/fl9-passing-flashvars-problem/269673)

<div class="topic-metadata">

**Author:** [@quietkiller](https://forum.kirupa.com/u/quietkiller)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 3:03pm UTC](https://forum.kirupa.com/t/fl9-passing-flashvars-problem/269673 "2008-08-30T15:03:42Z")

</div>

hello here i have my code for a flash movie that is something like a car driving through and leaving boxes on the stage the drives off Stage.align = "TL"; Stage.scaleMode = "noScale"; if (bcX\_1==null && bcX\_2==null) {…

---

## [Icons error](https://forum.kirupa.com/t/icons-error/269672)

<div class="topic-metadata">

**Author:** [@xramember](https://forum.kirupa.com/u/xramember)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 2:01pm UTC](https://forum.kirupa.com/t/icons-error/269672 "2008-08-30T14:01:44Z")

</div>

I have AS3 fla files. i can see the icons when works on Flas CS3 rendered with ctrl+enter so the icons was seeing in swf when wirth works on explorer and firefox but the problem is in flash signoff when clicked cant see …

---

## [Help Cleaning this code](https://forum.kirupa.com/t/help-cleaning-this-code/269669)

<div class="topic-metadata">

**Author:** [@rodlab2x](https://forum.kirupa.com/u/rodlab2x)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 12:52pm UTC](https://forum.kirupa.com/t/help-cleaning-this-code/269669 "2008-08-30T12:52:47Z")

</div>

I'm relatively new to AS3 and learning. I would like to know how to reduce this code by maybe using arrays or loops? and still work the same. I'm using Tweener here. I pasted 2 of 6 buttons actions and if I wanted to mak…

---

## [Flash Perspective movement: Back button problem](https://forum.kirupa.com/t/flash-perspective-movement-back-button-problem/269668)

<div class="topic-metadata">

**Author:** [@cybe\_r](https://forum.kirupa.com/u/cybe_r)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 12:41pm UTC](https://forum.kirupa.com/t/flash-perspective-movement-back-button-problem/269668 "2008-08-30T12:41:54Z")

</div>

Hi there, I am working on a project, for which I have made perspective movement of thumbnails. My one side movement is working fine, but I am unable to create to and fro movement (back & forward), as variable values do…

---

## [Restricting numbers](https://forum.kirupa.com/t/restricting-numbers/269663)

<div class="topic-metadata">

**Author:** [@olaster](https://forum.kirupa.com/u/olaster)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 6:10am UTC](https://forum.kirupa.com/t/restricting-numbers/269663 "2008-08-30T06:10:57Z")

</div>

Hi, I would like to restrict user input to numbers only between letters. for example: the user is allowed to input "a2b", but "2ab" or "ab2" isn't allowed. Any ideas?

---

## [Returning movieClips to x,y origins after animation](https://forum.kirupa.com/t/returning-movieclips-to-x-y-origins-after-animation/269658)

<div class="topic-metadata">

**Author:** [@ThreeDzone](https://forum.kirupa.com/u/ThreeDzone)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 4:37am UTC](https://forum.kirupa.com/t/returning-movieclips-to-x-y-origins-after-animation/269658 "2008-08-30T04:37:09Z")

</div>

Hi im using AS3 and flash CS3, I have created an Array "pieces" this Array consists of 3 different movieClips of randomly spaced on the screen private var pieces:Array = \[{className:fone},{className:ftwo},{classNa…

---

## [How to focus a textfield inside a movieclip?](https://forum.kirupa.com/t/how-to-focus-a-textfield-inside-a-movieclip/269654)

<div class="topic-metadata">

**Author:** [@bluemagica](https://forum.kirupa.com/u/bluemagica)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 3:24am UTC](https://forum.kirupa.com/t/how-to-focus-a-textfield-inside-a-movieclip/269654 "2008-08-30T03:24:54Z")

</div>

In normal situation, that is when putting the textfield on the main timeline, i can use mytxt.stage.focus=mytxt; But what if the textfield is inside a movieclip? How do i set focus to it?

---

## [ANYRD Flash Paypal Cart component issue (currency problem)](https://forum.kirupa.com/t/anyrd-flash-paypal-cart-component-issue-currency-problem/269653)

<div class="topic-metadata">

**Author:** [@jcuriel](https://forum.kirupa.com/u/jcuriel)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 3:08am UTC](https://forum.kirupa.com/t/anyrd-flash-paypal-cart-component-issue-currency-problem/269653 "2008-08-30T03:08:56Z")

</div>

Hi, I purchased ANYRD Flash Cart component a while back. Recently Paypal took a great step forward by adding support for Mexican Pesos. So since I live in Mexico people is more open to do a transaction in Pesos rather …

---

## [Dreamweaver CS3](https://forum.kirupa.com/t/dreamweaver-cs3/269652)

<div class="topic-metadata">

**Author:** [@johnb816](https://forum.kirupa.com/u/johnb816)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 2:51am UTC](https://forum.kirupa.com/t/dreamweaver-cs3/269652 "2008-08-30T02:51:51Z")

</div>

I've made my first website in flash. It was a hard and long task that I began in May with no prior knowledge of flash cs3 or as3. I'm now faced with a simple "align=center" task. I've imported my ".swf" file in dreamwe…

---

## [Fetching youtube videos to your flash movie](https://forum.kirupa.com/t/fetching-youtube-videos-to-your-flash-movie/269651)

<div class="topic-metadata">

**Author:** [@bLasTamos](https://forum.kirupa.com/u/bLasTamos)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 2:48am UTC](https://forum.kirupa.com/t/fetching-youtube-videos-to-your-flash-movie/269651 "2008-08-30T02:48:44Z")

</div>

Is there any way to do it? I have good actionscript experience but I've never handled with merging several .swf or connecting to the internet with the flash movie but i actually need this. Please tell me if you know any …

---

## [Volume Control Bar](https://forum.kirupa.com/t/volume-control-bar/269648)

<div class="topic-metadata">

**Author:** [@McBobas](https://forum.kirupa.com/u/McBobas)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 1:59am UTC](https://forum.kirupa.com/t/volume-control-bar/269648 "2008-08-30T01:59:10Z")

</div>

hello, i’m working on a site, and i need to make a mp3 player for it. I have made everything but the volume bar because i couldn’t find a tutorial that describes it, how to do it the way i want. I would like to have one…

---

## [Filter Datagrid Array Based on a Regular Expression?](https://forum.kirupa.com/t/filter-datagrid-array-based-on-a-regular-expression/269647)

<div class="topic-metadata">

**Author:** [@Mr\_Entropy](https://forum.kirupa.com/u/Mr_Entropy)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 1:39am UTC](https://forum.kirupa.com/t/filter-datagrid-array-based-on-a-regular-expression/269647 "2008-08-30T01:39:53Z")

</div>

Hi all, I was just looking at the example on Adobe.com of a sortable datagrid. http://www.adobe.com/devnet/flash/quickstart/datagrid\_pt3/ In particular, I'm interested in the bit of code that filters the contents o…

---

## [Multiple XML galleries skipping](https://forum.kirupa.com/t/multiple-xml-galleries-skipping/269643)

<div class="topic-metadata">

**Author:** [@dpdesign](https://forum.kirupa.com/u/dpdesign)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 12:45am UTC](https://forum.kirupa.com/t/multiple-xml-galleries-skipping/269643 "2008-08-30T00:45:21Z")

</div>

I'm using a xml gallery with my customizations. However I have a problem with the arrow key functions. My entire site is in flash (CS3, Actionscript 2.0) with a separate scene,one frame, and various buttons to load sep…

---

## [Incorrect colours with the images when imported into Flash](https://forum.kirupa.com/t/incorrect-colours-with-the-images-when-imported-into-flash/269642)

<div class="topic-metadata">

**Author:** [@sham1818](https://forum.kirupa.com/u/sham1818)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 12:37am UTC](https://forum.kirupa.com/t/incorrect-colours-with-the-images-when-imported-into-flash/269642 "2008-08-30T00:37:12Z")

</div>

I have spent time correcting the colours of an image in photoshop, but when i bring it into flash cs3... the colours are not as strong and rich as it should be (it looks a slight bit faded). Can anyone please help me to …

---

## [Symbol to load picture into](https://forum.kirupa.com/t/symbol-to-load-picture-into/269641)

<div class="topic-metadata">

**Author:** [@Terry\_elekes](https://forum.kirupa.com/u/Terry_elekes)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 12:30am UTC](https://forum.kirupa.com/t/symbol-to-load-picture-into/269641 "2008-08-30T00:30:57Z")

</div>

When I make a symbol to load a .jpg into it works fine. But what I do not understand is if I would edit the symbol and add a layer and put a graduate fill over on that layer it does not work but if I would make a new la…

---

## [BitmapData getPixel on rotating movieClip?](https://forum.kirupa.com/t/bitmapdata-getpixel-on-rotating-movieclip/269639)

<div class="topic-metadata">

**Author:** [@flashpipe](https://forum.kirupa.com/u/flashpipe)\
**Replies:** 0\
**Last updated:** [August 29, 2008, 11:45pm UTC](https://forum.kirupa.com/t/bitmapdata-getpixel-on-rotating-movieclip/269639 "2008-08-29T23:45:07Z")

</div>

This may be more of a math question as I try variations on this problem. I'm trying to get the rgb value from a pixel area on the stage that a bitmap is rotating in. I made it work for the y by adjusting the getPixel loc…

---

## [Quick BitmapData question](https://forum.kirupa.com/t/quick-bitmapdata-question/269638)

<div class="topic-metadata">

**Author:** [@Felixz](https://forum.kirupa.com/u/Felixz)\
**Replies:** 0\
**Last updated:** [August 29, 2008, 11:04pm UTC](https://forum.kirupa.com/t/quick-bitmapdata-question/269638 "2008-08-29T23:04:36Z")

</div>

I have a .png imported to library with linkage name 'Header' and then loaded whole .swf to another's applicationDomain. Is there a possiblibility to create new bitmap using original width and height? var b:Bitmap = n…

---

## [Help with class](https://forum.kirupa.com/t/help-with-class/269637)

<div class="topic-metadata">

**Author:** [@Ismael\_92](https://forum.kirupa.com/u/Ismael_92)\
**Replies:** 0\
**Last updated:** [August 29, 2008, 10:09pm UTC](https://forum.kirupa.com/t/help-with-class/269637 "2008-08-29T22:09:28Z")

</div>

Hi there, I have a problem with a class, I don't know how to make it work, mainly because I'm new at using classes. This is the class sounds.as: package { import flash.events.\*; import flash.media.Sound; …

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

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