# flash

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

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

**Page:** 210

---

## [If you were being shot out of a cannon](https://forum.kirupa.com/t/if-you-were-being-shot-out-of-a-cannon/318793)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 8:29pm UTC](https://forum.kirupa.com/t/if-you-were-being-shot-out-of-a-cannon/318793 "2011-01-30T20:29:57Z")

</div>

Hi all I have seen plenty of tutes that deal with gravity, & bounce of falling objects like balls, but what if you were attempting to depict a woman being shot out of a cannon as apparently was popular in the circus of…

---

## [CS4 AS2 Help needed!](https://forum.kirupa.com/t/cs4-as2-help-needed/318792)

<div class="topic-metadata">

**Author:** [@lgreenwald](https://forum.kirupa.com/u/lgreenwald)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 8:26pm UTC](https://forum.kirupa.com/t/cs4-as2-help-needed/318792 "2011-01-30T20:26:32Z")

</div>

Hi there! I'm using the following bit of AS2 on a couple of mc's of my project so I would like to use the specific instance name in this: onClipEvent(enterFrame){ this.x = this.x + (root.intSlideToX - this.x ) /5; th…

---

## [as3 Movieclip not going to selected frame: error](https://forum.kirupa.com/t/as3-movieclip-not-going-to-selected-frame-error/318789)

<div class="topic-metadata">

**Author:** [@samiflashflash](https://forum.kirupa.com/u/samiflashflash)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 6:17pm UTC](https://forum.kirupa.com/t/as3-movieclip-not-going-to-selected-frame-error/318789 "2011-01-30T18:17:01Z")

</div>

So in my game I have a ketchup button that when its click creats a ketchup movieclip that attaches to the cursor. What I want is for when you click on the buns with the ketchup cursor it goes to the frame within the buns…

---

## [Flash and mock-ups](https://forum.kirupa.com/t/flash-and-mock-ups/318788)

<div class="topic-metadata">

**Author:** [@h3d0](https://forum.kirupa.com/u/h3d0)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 3:15pm UTC](https://forum.kirupa.com/t/flash-and-mock-ups/318788 "2011-01-30T15:15:30Z")

</div>

Hello everyone, I believe most of you faced situations when client asked you to send him a mockup (of flash-website, application, etc.). But Flash in not a static page, you cannot just draw a couple of pictures in Phot…

---

## [3D Tween rotation](https://forum.kirupa.com/t/3d-tween-rotation/318786)

<div class="topic-metadata">

**Author:** [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 1:34pm UTC](https://forum.kirupa.com/t/3d-tween-rotation/318786 "2011-01-30T13:34:32Z")

</div>

I'm currently posting about a related problem but thought I'd start a new thread as its a standalone problem. If I'm incrementally increasing the rotationY property to rotate an object about its Z axis - can I use a Tw…

---

## [Problems removing an event listener](https://forum.kirupa.com/t/problems-removing-an-event-listener/318784)

<div class="topic-metadata">

**Author:** [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 12:36pm UTC](https://forum.kirupa.com/t/problems-removing-an-event-listener/318784 "2011-01-30T12:36:37Z")

</div>

I have an on enter frame listener defined in a function: function sideClicked(e:MouseEvent):void { removeEventListener(Event.ENTER\_FRAME, loop); var targetName=e.target.name; var a:Array=\[\]; a=targetName.split(…

---

## [AS3 Variable doubling](https://forum.kirupa.com/t/as3-variable-doubling/318783)

<div class="topic-metadata">

**Author:** [@mvrb](https://forum.kirupa.com/u/mvrb)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 10:39am UTC](https://forum.kirupa.com/t/as3-variable-doubling/318783 "2011-01-30T10:39:53Z")

</div>

Hey everyone, I've written a code for my shop in my game. But every time I buy an item, the price doubles. I'm using this code: http://pastebin.com/YKjxYVqP Is there a way to solve this? I think it's because I call t…

---

## [Need Some Help with attachMovie](https://forum.kirupa.com/t/need-some-help-with-attachmovie/318782)

<div class="topic-metadata">

**Author:** [@Kentus](https://forum.kirupa.com/u/Kentus)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 9:46am UTC](https://forum.kirupa.com/t/need-some-help-with-attachmovie/318782 "2011-01-30T09:46:12Z")

</div>

I try to make an old shooter game and i have this problem: This is the code in Flash Cs3 AS2: if(Key.isDown(Key.SPACE)){ {i++; if(pozition=="right"){ root.attachMovie("glont","glont"+i,root.getNextHighestDepth()); …

---

## [Creating a circle with ticks around it](https://forum.kirupa.com/t/creating-a-circle-with-ticks-around-it/318781)

<div class="topic-metadata">

**Author:** [@Zoltar26](https://forum.kirupa.com/u/Zoltar26)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 8:53am UTC](https://forum.kirupa.com/t/creating-a-circle-with-ticks-around-it/318781 "2011-01-30T08:53:58Z")

</div>

Hi, I've created a circle and I need to draw equal separated ticks along it, you know like in a humanscale analogue machine. How do i do this ? Thanks in advance.

---

## [hitTestPoint Help](https://forum.kirupa.com/t/hittestpoint-help/318779)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 8:07am UTC](https://forum.kirupa.com/t/hittestpoint-help/318779 "2011-01-30T08:07:04Z")

</div>

I'm trying to set up a collision so that when a bullet hits a wall it is destroyed. Here is the snippet of code I am using: while (\_root.newWall.hitTestPoint(x, y+radius, true)) { y-=Math.sin(angle); deleteMe=true; } …

---

## [Output window not scrolling](https://forum.kirupa.com/t/output-window-not-scrolling/318778)

<div class="topic-metadata">

**Author:** [@carrot](https://forum.kirupa.com/u/carrot)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 7:40am UTC](https://forum.kirupa.com/t/output-window-not-scrolling/318778 "2011-01-30T07:40:56Z")

</div>

Hi again. I've just installed CS5 on a new laptop using Windows 7. I was running it before on my Windows Vista machine and CS3 on that same machine before that with no problems. However on this install, the 'Output' …

---

## [Why Dose video stop when I click another Button](https://forum.kirupa.com/t/why-dose-video-stop-when-i-click-another-button/318772)

<div class="topic-metadata">

**Author:** [@daragh\_c](https://forum.kirupa.com/u/daragh_c)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 2:01am UTC](https://forum.kirupa.com/t/why-dose-video-stop-when-i-click-another-button/318772 "2011-01-30T02:01:02Z")

</div>

Hi Guys, I have the following code which loads a file from the FLASH MEDIA SERVER. (See below) When I click on the playVid the video plays perfectly. The FMSConnection is an external AS3 file. The problem is that when …

---

## [Speeding up performance](https://forum.kirupa.com/t/speeding-up-performance/318771)

<div class="topic-metadata">

**Author:** [@WhiteyMcWhite](https://forum.kirupa.com/u/WhiteyMcWhite)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 1:55am UTC](https://forum.kirupa.com/t/speeding-up-performance/318771 "2011-01-30T01:55:35Z")

</div>

In my quest for squeezing as much performance out of flash as I possibly can, besides common speedy AS3 practices and smart programming, I'm looking into lower level speed boosts (as I'm hitting the limit with higher lev…

---

## [Questions about using OOP Classes Inheritence](https://forum.kirupa.com/t/questions-about-using-oop-classes-inheritence/318769)

<div class="topic-metadata">

**Author:** [@legend\_tisman](https://forum.kirupa.com/u/legend_tisman)\
**Replies:** 0\
**Last updated:** [January 29, 2011, 11:10pm UTC](https://forum.kirupa.com/t/questions-about-using-oop-classes-inheritence/318769 "2011-01-29T23:10:47Z")

</div>

PROBLEM SOLVED! THANK YOU: brart, TheCanadian, Krilnon Intro.(Thank You) Hello, thank you for taking the time to read this. I really appreciate you taking the time to try to assist me. I'm new to the forum and somewhat…

---

## [Can you pass args with events easily?](https://forum.kirupa.com/t/can-you-pass-args-with-events-easily/318767)

<div class="topic-metadata">

**Author:** [@megshea](https://forum.kirupa.com/u/megshea)\
**Replies:** 0\
**Last updated:** [January 29, 2011, 10:04pm UTC](https://forum.kirupa.com/t/can-you-pass-args-with-events-easily/318767 "2011-01-29T22:04:36Z")

</div>

Hi, I would liek to use this code to load and display images within 4 movie clips. But it looks like this fires off an event for "imageLoaded" which means I can't specify which movieclip to use (in an arg). Is there …

---

## [Dynamic Text & Image Change?](https://forum.kirupa.com/t/dynamic-text-image-change/318766)

<div class="topic-metadata">

**Author:** [@exodia1010](https://forum.kirupa.com/u/exodia1010)\
**Replies:** 0\
**Last updated:** [January 29, 2011, 10:01pm UTC](https://forum.kirupa.com/t/dynamic-text-image-change/318766 "2011-01-29T22:01:08Z")

</div>

My friend and I are in competition on who can make the most realistic Pokedex from Pokemon. He is using Javascript/HTML and I'm using Flash and embedding it into an HTML document. He has 36 weeks of work ahead of me (he …

---

## [Why is this EventListner looping so many times?](https://forum.kirupa.com/t/why-is-this-eventlistner-looping-so-many-times/318763)

<div class="topic-metadata">

**Author:** [@samiflashflash](https://forum.kirupa.com/u/samiflashflash)\
**Replies:** 0\
**Last updated:** [January 29, 2011, 7:13pm UTC](https://forum.kirupa.com/t/why-is-this-eventlistner-looping-so-many-times/318763 "2011-01-29T19:13:45Z")

</div>

I am trying to make it so when you click anwhere on the stage the movieclip cursor is removed. Code: stage.addEventListener(MouseEvent.CLICK,ketchremove); function ketchremove (evt:MouseEvent):void { trace("I a…

---

## [Collision With Other Instances Of Same Class](https://forum.kirupa.com/t/collision-with-other-instances-of-same-class/318762)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [January 29, 2011, 7:02pm UTC](https://forum.kirupa.com/t/collision-with-other-instances-of-same-class/318762 "2011-01-29T19:02:39Z")

</div>

Hey so I'm trying to make it so that the instances of the class "Enemy" stop completely when they get too close to each other. They are circles so determining a collision is easy. But when I used this code: if (Math…

---

## ["best" practice to track changes](https://forum.kirupa.com/t/best-practice-to-track-changes/318760)

<div class="topic-metadata">

**Author:** [@eigDOTnet](https://forum.kirupa.com/u/eigDOTnet)\
**Replies:** 0\
**Last updated:** [January 29, 2011, 5:30pm UTC](https://forum.kirupa.com/t/best-practice-to-track-changes/318760 "2011-01-29T17:30:40Z")

</div>

Hi everybody. A "project management" question this time. (Not certain if this is the correct forum section for PM question; Please advise...) Development platform = Flash CS4; Project participants = 2; Roles = keyFr…

---

## [Tileset animation vs MC animation](https://forum.kirupa.com/t/tileset-animation-vs-mc-animation/318759)

<div class="topic-metadata">

**Author:** [@selacius](https://forum.kirupa.com/u/selacius)\
**Replies:** 0\
**Last updated:** [January 29, 2011, 3:05pm UTC](https://forum.kirupa.com/t/tileset-animation-vs-mc-animation/318759 "2011-01-29T15:05:42Z")

</div>

Hello all, My last post was trying to convert an AS1 tile based RPG into an AS3 project. I just happened to stumble upon an AS3 tutorial from the same person who wrote the AS1 project I was following. It has been great h…

---

## [A problem with static variables](https://forum.kirupa.com/t/a-problem-with-static-variables/318758)

<div class="topic-metadata">

**Author:** [@AndrewK](https://forum.kirupa.com/u/AndrewK)\
**Replies:** 0\
**Last updated:** [January 29, 2011, 1:42pm UTC](https://forum.kirupa.com/t/a-problem-with-static-variables/318758 "2011-01-29T13:42:08Z")

</div>

Hello I get this error 1120: Access of undefined property OtherClass. Ths is the code: public class SomeClass extends MovieClip { function SomeClass():void { } public functio…

---

## [.x,.y and .X,.Y of a Movieclip](https://forum.kirupa.com/t/x-y-and-x-y-of-a-movieclip/318756)

<div class="topic-metadata">

**Author:** [@pnsrinivasreddy](https://forum.kirupa.com/u/pnsrinivasreddy)\
**Replies:** 0\
**Last updated:** [January 29, 2011, 10:12am UTC](https://forum.kirupa.com/t/x-y-and-x-y-of-a-movieclip/318756 "2011-01-29T10:12:40Z")

</div>

Hi, anybody knows the difference between .x,.y and .X,.Y of a movieclip? What I mean, I want to know what happens when something like my\_mc.x = my\_mc.X; what does it mean? Thanks, Srinivas

---

## [Movieclip](https://forum.kirupa.com/t/movieclip/318755)

<div class="topic-metadata">

**Author:** [@prettypriti](https://forum.kirupa.com/u/prettypriti)\
**Replies:** 0\
**Last updated:** [January 29, 2011, 8:20am UTC](https://forum.kirupa.com/t/movieclip/318755 "2011-01-29T08:20:26Z")

</div>

how to cal movieclip from stage to the movielcip which present in another movieclip:sigh:

---

## [Flash AS3 Contact Form](https://forum.kirupa.com/t/flash-as3-contact-form/318753)

<div class="topic-metadata">

**Author:** [@palsingh](https://forum.kirupa.com/u/palsingh)\
**Replies:** 0\
**Last updated:** [January 29, 2011, 5:38am UTC](https://forum.kirupa.com/t/flash-as3-contact-form/318753 "2011-01-29T05:38:17Z")

</div>

Hello, I need to make an flash form, can anyone provide me a sample form or a good tut which also have validations, it should be with aspx or php. Please H E L P

---

## [Trouble with classes](https://forum.kirupa.com/t/trouble-with-classes/318750)

<div class="topic-metadata">

**Author:** [@Katumi](https://forum.kirupa.com/u/Katumi)\
**Replies:** 0\
**Last updated:** [January 28, 2011, 11:49pm UTC](https://forum.kirupa.com/t/trouble-with-classes/318750 "2011-01-28T23:49:30Z")

</div>

I use two classes for my current project, a document class and a menuscreen class. I have a function in my document class called startGame that i want to run from the menuscreen class when a button is clicked. I'm nearly…

---

## [addEventListener error ?!](https://forum.kirupa.com/t/addeventlistener-error/318749)

<div class="topic-metadata">

**Author:** [@samiflashflash](https://forum.kirupa.com/u/samiflashflash)\
**Replies:** 0\
**Last updated:** [January 28, 2011, 11:04pm UTC](https://forum.kirupa.com/t/addeventlistener-error/318749 "2011-01-28T23:04:49Z")

</div>

NVM I FIXED IT ! Im making a cooking game and basically I have my buttons and background export to the stage, which is good, but now I want to make it so when you click on the mustard it exports the mustard movieclip t…

---

## [Why is my movieclip doing this?](https://forum.kirupa.com/t/why-is-my-movieclip-doing-this/318744)

<div class="topic-metadata">

**Author:** [@chilldog](https://forum.kirupa.com/u/chilldog)\
**Replies:** 0\
**Last updated:** [January 28, 2011, 9:22pm UTC](https://forum.kirupa.com/t/why-is-my-movieclip-doing-this/318744 "2011-01-28T21:22:06Z")

</div>

There are no keyframes in the movieclips on the stage or in the library, and I can't figure out why the outputted swf is moving through each movieclip as if they are in frames.

---

## [Senocular Transform Tool Label resizing problem](https://forum.kirupa.com/t/senocular-transform-tool-label-resizing-problem/318743)

<div class="topic-metadata">

**Author:** [@futurox](https://forum.kirupa.com/u/futurox)\
**Replies:** 0\
**Last updated:** [January 28, 2011, 9:04pm UTC](https://forum.kirupa.com/t/senocular-transform-tool-label-resizing-problem/318743 "2011-01-28T21:04:01Z")

</div>

Hi! I've tested Senocular Transform tool since 2 weeks (build 2010.12.07 (beta) available) and I founded something strange when I have set this.tool.transformMethod == "properties";. Try this code: var lab:Te…

---

## [Audio manipulation](https://forum.kirupa.com/t/audio-manipulation/318740)

<div class="topic-metadata">

**Author:** [@Geki](https://forum.kirupa.com/u/Geki)\
**Replies:** 0\
**Last updated:** [January 28, 2011, 7:26pm UTC](https://forum.kirupa.com/t/audio-manipulation/318740 "2011-01-28T19:26:39Z")

</div>

Hey, I have a very traditional background in programming and one thing I have never really touched (other than playing a premade sound) is audio. I would like to mix sounds, play around with sound channels and such htt…

---

## [Swf loading into movieclip is wrong size](https://forum.kirupa.com/t/swf-loading-into-movieclip-is-wrong-size/318736)

<div class="topic-metadata">

**Author:** [@donbon](https://forum.kirupa.com/u/donbon)\
**Replies:** 0\
**Last updated:** [January 28, 2011, 5:14pm UTC](https://forum.kirupa.com/t/swf-loading-into-movieclip-is-wrong-size/318736 "2011-01-28T17:14:34Z")

</div>

EDIT: I found a solution Hi, I'm a total noob when it comes to actionscript so any help is really appreciated. I am trying to load a swf into a movieclip of the same size but the swf seems to be resized somehow. Any…

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

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