# programming

**URL:** https://forum.kirupa.com/c/programming/41.md?page=217

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

**Page:** 218

---

## [Do I always have to create an instance of my class when I want to use code in it?](https://forum.kirupa.com/t/do-i-always-have-to-create-an-instance-of-my-class-when-i-want-to-use-code-in-it/325720)

<div class="topic-metadata">

**Author:** [@Mufanza](https://forum.kirupa.com/u/Mufanza)\
**Replies:** 0\
**Last updated:** [November 1, 2011, 6:21pm UTC](https://forum.kirupa.com/t/do-i-always-have-to-create-an-instance-of-my-class-when-i-want-to-use-code-in-it/325720 "2011-11-01T18:21:40Z")

</div>

Hi again \[smiley\] There's another thing I don't fully understand in ActionScript 3 yet... Let's say I have a class that takes care of certain things (KeyPress events, to be specific). But when I want to access the func…

---

## [Using Runtime sharing of multiple SWFs](https://forum.kirupa.com/t/using-runtime-sharing-of-multiple-swfs/325717)

<div class="topic-metadata">

**Author:** [@mono\_eric3](https://forum.kirupa.com/u/mono_eric3)\
**Replies:** 0\
**Last updated:** [November 1, 2011, 5:25pm UTC](https://forum.kirupa.com/t/using-runtime-sharing-of-multiple-swfs/325717 "2011-11-01T17:25:11Z")

</div>

Hi guys, I've got myself in a pickle that I don't think can be solved, but I'd appreciate anyone's thoughts. I'll explain a little about what I was hoping to achieve, my experiments and why I think that it may not be p…

---

## [Sliding website](https://forum.kirupa.com/t/sliding-website/325715)

<div class="topic-metadata">

**Author:** [@Svante](https://forum.kirupa.com/u/Svante)\
**Replies:** 0\
**Last updated:** [November 1, 2011, 4:03pm UTC](https://forum.kirupa.com/t/sliding-website/325715 "2011-11-01T16:03:11Z")

</div>

Hello! I have been following this tutorial http://www.kirupa.com/developer/flash8/slidingMenu.htm to design a sliding website. I have designed each section(about, portfolio, contact etc) of the website as a movie c…

---

## [Z position of nested movie clip](https://forum.kirupa.com/t/z-position-of-nested-movie-clip/325713)

<div class="topic-metadata">

**Author:** [@phastings](https://forum.kirupa.com/u/phastings)\
**Replies:** 0\
**Last updated:** [November 1, 2011, 3:38pm UTC](https://forum.kirupa.com/t/z-position-of-nested-movie-clip/325713 "2011-11-01T15:38:21Z")

</div>

This is driving me crazy. I have a movie clip(main) that contains a bunch of other movie clips(subs). I'm moving the clip 'main' along the z axis but need to figure out what the z position of the nested clips(subs) rel…

---

## [Play two videos - Flash Media Server](https://forum.kirupa.com/t/play-two-videos-flash-media-server/325711)

<div class="topic-metadata">

**Author:** [@black\_pearl](https://forum.kirupa.com/u/black_pearl)\
**Replies:** 0\
**Last updated:** [November 1, 2011, 1:08pm UTC](https://forum.kirupa.com/t/play-two-videos-flash-media-server/325711 "2011-11-01T13:08:12Z")

</div>

Hi, I am working on a karaoke project where there are two video screens. The first one shows karaoke video and the second one records users video I have successfully recorded users video but when I try to play back th…

---

## [Embeded Videos in flash CS3 stuttering?](https://forum.kirupa.com/t/embeded-videos-in-flash-cs3-stuttering/325710)

<div class="topic-metadata">

**Author:** [@Pratik\_Pawar](https://forum.kirupa.com/u/Pratik_Pawar)\
**Replies:** 0\
**Last updated:** [November 1, 2011, 12:39pm UTC](https://forum.kirupa.com/t/embeded-videos-in-flash-cs3-stuttering/325710 "2011-11-01T12:39:41Z")

</div>

hi, i have made a game in flash cs3 which uses embedded videos as background. Currently it contains 2 videos for 2 levels. The videos are encoded in flash while embedding using “onvp6 and data rate of 1024 kbps(grap…

---

## [Can you play(), stop() embedded SWFs?](https://forum.kirupa.com/t/can-you-play-stop-embedded-swfs/325707)

<div class="topic-metadata">

**Author:** [@dandylion13](https://forum.kirupa.com/u/dandylion13)\
**Replies:** 0\
**Last updated:** [November 1, 2011, 10:29am UTC](https://forum.kirupa.com/t/can-you-play-stop-embedded-swfs/325707 "2011-11-01T10:29:26Z")

</div>

Hello,Does anyone know if it's possible to use play and stop methods on an instance of an SWF that's been embedded into class using the Embed metatag?I've not been able to get it to work, and have read that it's not poss…

---

## [Interactive CD - Load and unload problems](https://forum.kirupa.com/t/interactive-cd-load-and-unload-problems/325703)

<div class="topic-metadata">

**Author:** [@stevie7](https://forum.kirupa.com/u/stevie7)\
**Replies:** 0\
**Last updated:** [October 31, 2011, 6:53pm UTC](https://forum.kirupa.com/t/interactive-cd-load-and-unload-problems/325703 "2011-10-31T18:53:33Z")

</div>

I know this is probably a basic error I am making but I am really lost! Please help if you can! I am creating an interactive CD but the same files will be used online. I have a menu that loads in a swf to sit on to…

---

## [navigateToURL bug? error?](https://forum.kirupa.com/t/navigatetourl-bug-error/325702)

<div class="topic-metadata">

**Author:** [@999chris](https://forum.kirupa.com/u/999chris)\
**Replies:** 0\
**Last updated:** [October 31, 2011, 6:41pm UTC](https://forum.kirupa.com/t/navigatetourl-bug-error/325702 "2011-10-31T18:41:47Z")

</div>

Hello, I have following code: function mouseU(m:MouseEvent) { if (m.target.text) { var target:String = m.target.text.toLowerCase(); for (var i:uint; i\<buttons.length; i++) { if (target == buttons\*) { …

---

## [lineTo ... \> whats wrong with me!](https://forum.kirupa.com/t/lineto-whats-wrong-with-me/325701)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [October 31, 2011, 5:45pm UTC](https://forum.kirupa.com/t/lineto-whats-wrong-with-me/325701 "2011-10-31T17:45:04Z")

</div>

hiya .. i got an mc on stage ... \> i just want a line to be drawn from the centre stage to my MC object which is being dragged around .. //inside a mouseDown function mc.graphics.lineStyle(1,0xFFF); mc.graphics.move…

---

## [Mobile phone on screen keyboard help](https://forum.kirupa.com/t/mobile-phone-on-screen-keyboard-help/325700)

<div class="topic-metadata">

**Author:** [@Thuga\_PT](https://forum.kirupa.com/u/Thuga_PT)\
**Replies:** 0\
**Last updated:** [October 31, 2011, 2:20pm UTC](https://forum.kirupa.com/t/mobile-phone-on-screen-keyboard-help/325700 "2011-10-31T14:20:17Z")

</div>

Hi, i'm looking for help in designing a mobilephone-like keyboard using AS2 for a project i'm developing. I'm experienced in other programing languages but i'm just starting with AS2 and i'm a bit lost in this keyboard i…

---

## [Flash CS5 AS3 working code for email form](https://forum.kirupa.com/t/flash-cs5-as3-working-code-for-email-form/325699)

<div class="topic-metadata">

**Author:** [@BackHive](https://forum.kirupa.com/u/BackHive)\
**Replies:** 0\
**Last updated:** [October 31, 2011, 1:32pm UTC](https://forum.kirupa.com/t/flash-cs5-as3-working-code-for-email-form/325699 "2011-10-31T13:32:10Z")

</div>

Hi All, I'm new here and a newbie at flash etc so please bear that in mind, thanks :}. I'm pulling my hair out trying to create a fairly simple email form for my flash based website. I have searched for and tried vario…

---

## [I'm looking for a script that preloads a Splash Screen on Android](https://forum.kirupa.com/t/im-looking-for-a-script-that-preloads-a-splash-screen-on-android/325696)

<div class="topic-metadata">

**Author:** [@tenchy](https://forum.kirupa.com/u/tenchy)\
**Replies:** 0\
**Last updated:** [October 31, 2011, 11:05am UTC](https://forum.kirupa.com/t/im-looking-for-a-script-that-preloads-a-splash-screen-on-android/325696 "2011-10-31T11:05:40Z")

</div>

I’ve read all threads here already about this subject. For most AdobeAir projects for Android, no matter what size, it could take up to 20 sec to load the app, and while it loads, all you see is a black screen. As there’…

---

## [Set the starting volume of volume\_user slider](https://forum.kirupa.com/t/set-the-starting-volume-of-volume-user-slider/325695)

<div class="topic-metadata">

**Author:** [@philaine](https://forum.kirupa.com/u/philaine)\
**Replies:** 0\
**Last updated:** [October 31, 2011, 10:35am UTC](https://forum.kirupa.com/t/set-the-starting-volume-of-volume-user-slider/325695 "2011-10-31T10:35:03Z")

</div>

Hi, Thanks Kirupa, for this useful utility (http://www.kirupa.com/developer/mx/volume\_slider.htm). I succeeded to make it work, but my sound library has sounds with too high volume, so I want to set the starting volume…

---

## [HELP: Does ANCHORS work on OUTLOOK for MAILERS?](https://forum.kirupa.com/t/help-does-anchors-work-on-outlook-for-mailers/325694)

<div class="topic-metadata">

**Author:** [@BUroKHUli](https://forum.kirupa.com/u/BUroKHUli)\
**Replies:** 0\
**Last updated:** [October 31, 2011, 10:03am UTC](https://forum.kirupa.com/t/help-does-anchors-work-on-outlook-for-mailers/325694 "2011-10-31T10:03:36Z")

</div>

Hi, I made some mailers for my website and I was wondering if ANCHORS work when viewing the MAILERS using OUTLOOK. The last time I checked, it's not. I'm using OUTLOOK 2007 at home. thank you guys!

---

## [The spyware will remain nested in your registry](https://forum.kirupa.com/t/the-spyware-will-remain-nested-in-your-registry/325692)

<div class="topic-metadata">

**Author:** [@nathaliabeierov](https://forum.kirupa.com/u/nathaliabeierov)\
**Replies:** 0\
**Last updated:** [October 31, 2011, 8:14am UTC](https://forum.kirupa.com/t/the-spyware-will-remain-nested-in-your-registry/325692 "2011-10-31T08:14:50Z")

</div>

The primary element of whether or not malware is “legitimate”: When the user has no problem sharing demographics data for a product he or she enjoys using, then the malware that comes with that product is legal and ackno…

---

## [Need help to do Dirt Bike game using Box2d](https://forum.kirupa.com/t/need-help-to-do-dirt-bike-game-using-box2d/325689)

<div class="topic-metadata">

**Author:** [@eternity22](https://forum.kirupa.com/u/eternity22)\
**Replies:** 0\
**Last updated:** [October 31, 2011, 6:22am UTC](https://forum.kirupa.com/t/need-help-to-do-dirt-bike-game-using-box2d/325689 "2011-10-31T06:22:26Z")

</div>

Hi I am doing Dirt Bike game using Box2d. I drawn axle, tyres. And one box for bike body. Done prismatic joint and revolute joint. But still I have doubt how to draw a perfect for dirt bike. Anyone help me to do…

---

## [AS3 XML Grid Multipages Gallary](https://forum.kirupa.com/t/as3-xml-grid-multipages-gallary/325688)

<div class="topic-metadata">

**Author:** [@mak39](https://forum.kirupa.com/u/mak39)\
**Replies:** 0\
**Last updated:** [October 30, 2011, 6:59pm UTC](https://forum.kirupa.com/t/as3-xml-grid-multipages-gallary/325688 "2011-10-30T18:59:06Z")

</div>

Dear Readers! I am new to AS3, i am creating a gallary and stuck on a place, have a look on source Attachment: rapidshare.com/files/1230054980/multi\_page.zip Requirements: 1.) Can anybody prepare a nice loop for loadin…

---

## [3D Globe image gallery - navigate to url from image thumbnail](https://forum.kirupa.com/t/3d-globe-image-gallery-navigate-to-url-from-image-thumbnail/325687)

<div class="topic-metadata">

**Author:** [@KJoe](https://forum.kirupa.com/u/KJoe)\
**Replies:** 0\
**Last updated:** [October 30, 2011, 6:36pm UTC](https://forum.kirupa.com/t/3d-globe-image-gallery-navigate-to-url-from-image-thumbnail/325687 "2011-10-30T18:36:02Z")

</div>

I have found an excellent tutorial and source file for a 3D image gallery. However I would like to make the thumbnail click thorugh to a url link when pressed rather than loading the image into the gallery. Currently t…

---

## [Brick game - Create new enemy bars issue](https://forum.kirupa.com/t/brick-game-create-new-enemy-bars-issue/325685)

<div class="topic-metadata">

**Author:** [@MFRS](https://forum.kirupa.com/u/MFRS)\
**Replies:** 0\
**Last updated:** [October 30, 2011, 4:07pm UTC](https://forum.kirupa.com/t/brick-game-create-new-enemy-bars-issue/325685 "2011-10-30T16:07:47Z")

</div>

I am trying to make a brick breaker game work with more than one enemy, except this keeps bugging and i can’t find out why. The error is the error of a duplicate definition. Here’s the code: import flash.display.Movie…

---

## [IDE loads fine on its own, but crashes when opening files](https://forum.kirupa.com/t/ide-loads-fine-on-its-own-but-crashes-when-opening-files/325684)

<div class="topic-metadata">

**Author:** [@johnnymeerkat](https://forum.kirupa.com/u/johnnymeerkat)\
**Replies:** 0\
**Last updated:** [October 30, 2011, 2:53pm UTC](https://forum.kirupa.com/t/ide-loads-fine-on-its-own-but-crashes-when-opening-files/325684 "2011-10-30T14:53:29Z")

</div>

Hey guys I've had Flash CS4 (a legally purchased single-user licence) since the day it came out and used it practically every day without any major problems. Today I opened it up to carry on with some work, and it cras…

---

## [Random Movement in Flash MX - need help with bounding area](https://forum.kirupa.com/t/random-movement-in-flash-mx-need-help-with-bounding-area/325682)

<div class="topic-metadata">

**Author:** [@acksocold](https://forum.kirupa.com/u/acksocold)\
**Replies:** 0\
**Last updated:** [October 30, 2011, 12:04pm UTC](https://forum.kirupa.com/t/random-movement-in-flash-mx-need-help-with-bounding-area/325682 "2011-10-30T12:04:22Z")

</div>

I followed the random motion tutorial here: \[URL="http://www.kirupa.com/developer/mx/random\_motionMX.htm"\]http://www.kirupa.com/developer/mx/random\_motionMX.htm Everything is working fine, but I want it to randomly m…

---

## [Problem with Switch/Case and nested Switch/Case](https://forum.kirupa.com/t/problem-with-switch-case-and-nested-switch-case/325680)

<div class="topic-metadata">

**Author:** [@David56780](https://forum.kirupa.com/u/David56780)\
**Replies:** 0\
**Last updated:** [October 29, 2011, 8:51pm UTC](https://forum.kirupa.com/t/problem-with-switch-case-and-nested-switch-case/325680 "2011-10-29T20:51:25Z")

</div>

Im trying to create a program that, depending on 2 variables, multiplies another variable by a static number. A friend suggested I use case/switch instead of if/else statements, which is what I was using before. Here …

---

## [Change flash embed size with javascript or html?](https://forum.kirupa.com/t/change-flash-embed-size-with-javascript-or-html/325678)

<div class="topic-metadata">

**Author:** [@appletree](https://forum.kirupa.com/u/appletree)\
**Replies:** 0\
**Last updated:** [October 29, 2011, 6:51pm UTC](https://forum.kirupa.com/t/change-flash-embed-size-with-javascript-or-html/325678 "2011-10-29T18:51:54Z")

</div>

Im trying to change the size of this video object from 416x374 to 640x500. \<object width="416" height="374" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"\>\<param name="allowscriptaccess" value="always" /\>\<param na…

---

## [Program a button that's inside another button](https://forum.kirupa.com/t/program-a-button-thats-inside-another-button/325676)

<div class="topic-metadata">

**Author:** [@MFRS](https://forum.kirupa.com/u/MFRS)\
**Replies:** 0\
**Last updated:** [October 29, 2011, 3:54pm UTC](https://forum.kirupa.com/t/program-a-button-thats-inside-another-button/325676 "2011-10-29T15:54:02Z")

</div>

The issue is that i want to program a button that shows when i MOUSE\_OVER another button, except i can’t get it done. I tryed this way: import flash.events.; import fl.transitions.; import fl.transitions.easing.\*; i…

---

## [useHandCursor doesn't work with FP11?](https://forum.kirupa.com/t/usehandcursor-doesnt-work-with-fp11/325672)

<div class="topic-metadata">

**Author:** [@dandylion13](https://forum.kirupa.com/u/dandylion13)\
**Replies:** 0\
**Last updated:** [October 29, 2011, 11:45am UTC](https://forum.kirupa.com/t/usehandcursor-doesnt-work-with-fp11/325672 "2011-10-29T11:45:54Z")

</div>

Hello,Has anyone else noticed that useHandCursor = true doesn't work with 11.0.1.152?It works fine with 10.2.Is this a bug?Thanks!D.13

---

## [Problem with UIScrollbar](https://forum.kirupa.com/t/problem-with-uiscrollbar/325671)

<div class="topic-metadata">

**Author:** [@tsinapah](https://forum.kirupa.com/u/tsinapah)\
**Replies:** 0\
**Last updated:** [October 29, 2011, 3:37am UTC](https://forum.kirupa.com/t/problem-with-uiscrollbar/325671 "2011-10-29T03:37:42Z")

</div>

Hi , I have a 2 buttons that load texts in a text field I have added the UIScrollBar component. When I test the movie, I can scroll the text only with the mousewheel but the up and down buttons and dragger are inoperativ…

---

## [How to ensure point of interest remains centered during map scale](https://forum.kirupa.com/t/how-to-ensure-point-of-interest-remains-centered-during-map-scale/325668)

<div class="topic-metadata">

**Author:** [@eb\_dev](https://forum.kirupa.com/u/eb_dev)\
**Replies:** 0\
**Last updated:** [October 28, 2011, 7:02pm UTC](https://forum.kirupa.com/t/how-to-ensure-point-of-interest-remains-centered-during-map-scale/325668 "2011-10-28T19:02:09Z")

</div>

Hi all, I've created an mc which functions as my map and controls to go with that which allow the map to be moved around and key points navigated to and zoomed in on at varying zoom levels. I'm using scaleX and scale…

---

## [XML Loading woes, text is cut when displayed in a TextField](https://forum.kirupa.com/t/xml-loading-woes-text-is-cut-when-displayed-in-a-textfield/325667)

<div class="topic-metadata">

**Author:** [@zuperxtreme](https://forum.kirupa.com/u/zuperxtreme)\
**Replies:** 0\
**Last updated:** [October 28, 2011, 6:27pm UTC](https://forum.kirupa.com/t/xml-loading-woes-text-is-cut-when-displayed-in-a-textfield/325667 "2011-10-28T18:27:59Z")

</div>

I'm missing something really simple... Relevant code: private function weeklyComplete(e:Event):void { var loader:\* = e.target; var weekPrice:priceBackground…

---

## [AS3 socket class connection with serproxy and sending data](https://forum.kirupa.com/t/as3-socket-class-connection-with-serproxy-and-sending-data/325665)

<div class="topic-metadata">

**Author:** [@Riepa](https://forum.kirupa.com/u/Riepa)\
**Replies:** 0\
**Last updated:** [October 28, 2011, 5:44pm UTC](https://forum.kirupa.com/t/as3-socket-class-connection-with-serproxy-and-sending-data/325665 "2011-10-28T17:44:27Z")

</div>

I am still struggling with AS3, but willing to learn as much as possible. I'm trying to write a small sample flash application which will be able to sent variables to the serial ports using socket class. I've done my ho…

[Previous page](https://forum.kirupa.com/c/programming/41.md?page=216)

[Next page](https://forum.kirupa.com/c/programming/41.md?page=218)
