# programming

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

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

**Page:** 863

---

## [I need to access/pass variables'(s) of an .swf file into another .swf file.But,How?](https://forum.kirupa.com/t/i-need-to-access-pass-variables-s-of-an-swf-file-into-another-swf-file-but-how/285466)

<div class="topic-metadata">

**Author:** [@SrihariCh](https://forum.kirupa.com/u/SrihariCh)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 7:05am UTC](https://forum.kirupa.com/t/i-need-to-access-pass-variables-s-of-an-swf-file-into-another-swf-file-but-how/285466 "2009-04-01T07:05:41Z")

</div>

Hi all, I have basic knowledge of Flash and AS3.0. Suppose i have a flash swf file(main.swf). In this main.swf file, i loaded another swf file(sub.swf) by writing the following code snippet…

---

## [Horizontal scroll bar](https://forum.kirupa.com/t/horizontal-scroll-bar/285465)

<div class="topic-metadata">

**Author:** [@saik](https://forum.kirupa.com/u/saik)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 7:00am UTC](https://forum.kirupa.com/t/horizontal-scroll-bar/285465 "2009-04-01T07:00:45Z")

</div>

I have made a horizontal scroll bar with the help of the tutorial(AS2) in this website.I want to know how to make it function like it does in the www.jwt.com website.The scroll face animates by itself according to the sc…

---

## [How to save image in folder and path to database](https://forum.kirupa.com/t/how-to-save-image-in-folder-and-path-to-database/285463)

<div class="topic-metadata">

**Author:** [@chetanchopkar](https://forum.kirupa.com/u/chetanchopkar)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 6:24am UTC](https://forum.kirupa.com/t/how-to-save-image-in-folder-and-path-to-database/285463 "2009-04-01T06:24:20Z")

</div>

Hi, I am working with c#.net. In my application i want to give facility to user to add image. I use open dialog box to select image, it will work properly i.e on button click open dialog is open select any image and disp…

---

## [Need help in making Flash XML Photo Slideshow in Flash 8](https://forum.kirupa.com/t/need-help-in-making-flash-xml-photo-slideshow-in-flash-8/285461)

<div class="topic-metadata">

**Author:** [@adnandx](https://forum.kirupa.com/u/adnandx)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 6:06am UTC](https://forum.kirupa.com/t/need-help-in-making-flash-xml-photo-slideshow-in-flash-8/285461 "2009-04-01T06:06:32Z")

</div>

Need to make a slide show like the attached example. Need urgent help in details. It would be very helpful if anyone has source file to review. Thank you very much \[smile\]

---

## [Problem with visible = true & visible = false](https://forum.kirupa.com/t/problem-with-visible-true-visible-false/285458)

<div class="topic-metadata">

**Author:** [@ron\_ron](https://forum.kirupa.com/u/ron_ron)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 4:49am UTC](https://forum.kirupa.com/t/problem-with-visible-true-visible-false/285458 "2009-04-01T04:49:01Z")

</div>

my\_Dyn\_Txt1.\_visible = false cb1.onRelease=function() { if(this.\_currentframe==1) { \_root.my\_Dyn\_Txt1.\_visible = true this.nextFrame() } else { \_root.my\_Dyn\_Txt1.\_visible = false this.prevFrame() } } Wh…

---

## [AS2 - Is there a way for flash to recognize color data in an image?](https://forum.kirupa.com/t/as2-is-there-a-way-for-flash-to-recognize-color-data-in-an-image/285455)

<div class="topic-metadata">

**Author:** [@mobhit101](https://forum.kirupa.com/u/mobhit101)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 2:06am UTC](https://forum.kirupa.com/t/as2-is-there-a-way-for-flash-to-recognize-color-data-in-an-image/285455 "2009-04-01T02:06:26Z")

</div>

Hello, First time posting but I've been frequenting these forums for some time now. I know there's a lot of smart people around here and hopefully there's a solution to this... Basically I have created a game that ra…

---

## [How do you get width at a given hieght?](https://forum.kirupa.com/t/how-do-you-get-width-at-a-given-hieght/285454)

<div class="topic-metadata">

**Author:** [@weavermount](https://forum.kirupa.com/u/weavermount)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 1:30am UTC](https://forum.kirupa.com/t/how-do-you-get-width-at-a-given-hieght/285454 "2009-04-01T01:30:33Z")

</div>

The best idea I had was getting the bounding box width, looping through that with point tests, and returning the number of hits. Can you think of a better idea?

---

## [Flash banner not an active link - why?](https://forum.kirupa.com/t/flash-banner-not-an-active-link-why/285453)

<div class="topic-metadata">

**Author:** [@heavythinker](https://forum.kirupa.com/u/heavythinker)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 12:18am UTC](https://forum.kirupa.com/t/flash-banner-not-an-active-link-why/285453 "2009-04-01T00:18:46Z")

</div>

Hi guys, I am having an issue with making a flash banner clickable. I cant figure out why. I had this site developed by a programmer and he has the site in php with includes files (so the header is in an "includes" folde…

---

## [Mouse Events and Button Mode in externally loaded swfs](https://forum.kirupa.com/t/mouse-events-and-button-mode-in-externally-loaded-swfs/285452)

<div class="topic-metadata">

**Author:** [@Tsukiyomi](https://forum.kirupa.com/u/Tsukiyomi)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 11:46pm UTC](https://forum.kirupa.com/t/mouse-events-and-button-mode-in-externally-loaded-swfs/285452 "2009-03-31T23:46:34Z")

</div>

I've looked around on this forum and others looking for an answer to this and I haven't found anything thats worked. If I missed the answer on here I apologize for the repeating topic. I have an external swf I created…

---

## [Problems with videos on the website](https://forum.kirupa.com/t/problems-with-videos-on-the-website/285450)

<div class="topic-metadata">

**Author:** [@deathz](https://forum.kirupa.com/u/deathz)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 11:42pm UTC](https://forum.kirupa.com/t/problems-with-videos-on-the-website/285450 "2009-03-31T23:42:17Z")

</div>

Hi guys, I'm having a problem trying to build a Video Portfolio for a client. Basically I have a portfolio.swf which has the main stage with a load\_videos MovieClip inside and a list of videos to select. When the us…

---

## [Help with loadmovie overlap!](https://forum.kirupa.com/t/help-with-loadmovie-overlap/285449)

<div class="topic-metadata">

**Author:** [@lorelei](https://forum.kirupa.com/u/lorelei)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 11:24pm UTC](https://forum.kirupa.com/t/help-with-loadmovie-overlap/285449 "2009-03-31T23:24:38Z")

</div>

Hola, I have several mcs that load with the following command: mc1.onRelease = function() { loadMovie ("movie.swf", "base\_mc"); } Base mc is my empty container movieclip. Basically I have a gallery with thu…

---

## [Loading multiple swf's in background?](https://forum.kirupa.com/t/loading-multiple-swfs-in-background/285444)

<div class="topic-metadata">

**Author:** [@pharcyde](https://forum.kirupa.com/u/pharcyde)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 9:40pm UTC](https://forum.kirupa.com/t/loading-multiple-swfs-in-background/285444 "2009-03-31T21:40:07Z")

</div>

Hi, I have tried a lot of different google searches to find an answer to my problem, but have come away more confused than anything! Also i'm working in AS2 (using Flash CS3). I have main.swf loaded first, and all I wa…

---

## [SetChildIndex Question](https://forum.kirupa.com/t/setchildindex-question/285442)

<div class="topic-metadata">

**Author:** [@skelebunny](https://forum.kirupa.com/u/skelebunny)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 8:51pm UTC](https://forum.kirupa.com/t/setchildindex-question/285442 "2009-03-31T20:51:46Z")

</div>

Hi, I have a movieclip that I bring forward to the top layer and have it play when you click a nav button. I want the same movie clip that is triggered to go back to it's original position once it's done playing. It's …

---

## [Adding a clip from the library](https://forum.kirupa.com/t/adding-a-clip-from-the-library/285438)

<div class="topic-metadata">

**Author:** [@mrbelv](https://forum.kirupa.com/u/mrbelv)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 8:06pm UTC](https://forum.kirupa.com/t/adding-a-clip-from-the-library/285438 "2009-03-31T20:06:20Z")

</div>

Is there any way to test if a clip exists in the library before you add it to the stage?

---

## ["Stream Not found" when go live](https://forum.kirupa.com/t/stream-not-found-when-go-live/285437)

<div class="topic-metadata">

**Author:** [@yunling](https://forum.kirupa.com/u/yunling)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 7:11pm UTC](https://forum.kirupa.com/t/stream-not-found-when-go-live/285437 "2009-03-31T19:11:25Z")

</div>

I was creating some kind of flv player. like this: http://yunling.public.cooliris.com/ndsi/test-video.html What I did was: (1) play a default flv first (2) when it gets the url from an external rss file, play the firs…

---

## [AS3 Preloader for UILoader Problem](https://forum.kirupa.com/t/as3-preloader-for-uiloader-problem/285436)

<div class="topic-metadata">

**Author:** [@Invex09](https://forum.kirupa.com/u/Invex09)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 7:10pm UTC](https://forum.kirupa.com/t/as3-preloader-for-uiloader-problem/285436 "2009-03-31T19:10:57Z")

</div>

Hey guys, I am developing a photo gallery using the UILoader to load external (larger resolution) images after the thumbnail is clicked on. It appears everything is working when I test the movie, except I receive this er…

---

## [Flex learning curve with extensive as3 knowldge?](https://forum.kirupa.com/t/flex-learning-curve-with-extensive-as3-knowldge/285435)

<div class="topic-metadata">

**Author:** [@wuzzi2ya](https://forum.kirupa.com/u/wuzzi2ya)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 7:08pm UTC](https://forum.kirupa.com/t/flex-learning-curve-with-extensive-as3-knowldge/285435 "2009-03-31T19:08:14Z")

</div>

So I have been coding in Flash AS3 for over a year, and I have become very comfortable within the Flash IDE both on the timeline and strictly ActionScript 3 through the actions panel for just about any app I want to crea…

---

## [AS2: Basic EventHandling](https://forum.kirupa.com/t/as2-basic-eventhandling/285431)

<div class="topic-metadata">

**Author:** [@SoftCore](https://forum.kirupa.com/u/SoftCore)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 6:08pm UTC](https://forum.kirupa.com/t/as2-basic-eventhandling/285431 "2009-03-31T18:08:21Z")

</div>

Ok, this is basic stuff: listening to an event dispatched from a loaded swf. What am I doing wrong? Container.swf has the following code: import mx.events.EventDispatcher; EventDispatcher.initialize(this); function…

---

## [Need to remove right click menu if it doesnt have a parent](https://forum.kirupa.com/t/need-to-remove-right-click-menu-if-it-doesnt-have-a-parent/285430)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 6:01pm UTC](https://forum.kirupa.com/t/need-to-remove-right-click-menu-if-it-doesnt-have-a-parent/285430 "2009-03-31T18:01:16Z")

</div>

I have a web site built in flash and an admin panel built in flash that you access via right click. It loads admin.swf. Basically I want to remove the right click menu if a user goes directly to http://blah.com/admin.s…

---

## [Image is lighter in IE7](https://forum.kirupa.com/t/image-is-lighter-in-ie7/285425)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 5:36pm UTC](https://forum.kirupa.com/t/image-is-lighter-in-ie7/285425 "2009-03-31T17:36:11Z")

</div>

I have a GIF without transparency. Why does it appear lighter in IE7/8 than in FF/Chrome/Safari? I've also tried PNG with no luck. http://designaxe.com/lighter/ \[image\]

---

## [How to make my movie clip SWF show hand cursor?](https://forum.kirupa.com/t/how-to-make-my-movie-clip-swf-show-hand-cursor/285424)

<div class="topic-metadata">

**Author:** [@keskin](https://forum.kirupa.com/u/keskin)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 5:28pm UTC](https://forum.kirupa.com/t/how-to-make-my-movie-clip-swf-show-hand-cursor/285424 "2009-03-31T17:28:05Z")

</div>

I've made a 30 second \*.avi file and converted it to SWF It's a banner. And then I remembered I need to put link inside the Flash so I decompiled it and put this in \*.fla file; onMouseDown = function(){ my\_url = "…

---

## [Flash intro code](https://forum.kirupa.com/t/flash-intro-code/285423)

<div class="topic-metadata">

**Author:** [@inpinocchios](https://forum.kirupa.com/u/inpinocchios)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 5:17pm UTC](https://forum.kirupa.com/t/flash-intro-code/285423 "2009-03-31T17:17:21Z")

</div>

Hello, I'm creating simple HTML website with flash intro, which has skip button, who redirects to home page of website. I want that flash intro could automatically redirect to home page when last frame is reached. Mayb…

---

## [Java program accessing variables from C++ program](https://forum.kirupa.com/t/java-program-accessing-variables-from-c-program/285422)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 4:51pm UTC](https://forum.kirupa.com/t/java-program-accessing-variables-from-c-program/285422 "2009-03-31T16:51:13Z")

</div>

In a recent interview, I was asked if two programs written in different languages can access each others variables. I know it's possible to have a middleman like a common text document storing the shared variables, but …

---

## [Dynamic Text being condensed](https://forum.kirupa.com/t/dynamic-text-being-condensed/285420)

<div class="topic-metadata">

**Author:** [@pbrollwitme](https://forum.kirupa.com/u/pbrollwitme)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 4:03pm UTC](https://forum.kirupa.com/t/dynamic-text-being-condensed/285420 "2009-03-31T16:03:22Z")

</div>

Hi, I'm having a very strange problem that I don't see any documentation about online. We have a completely flash website that pulls xml to populate text into a text field. On all browsers PC and Mac (10.4 and lower) i…

---

## [Error #1010 in firefox](https://forum.kirupa.com/t/error-1010-in-firefox/285415)

<div class="topic-metadata">

**Author:** [@bimyoo](https://forum.kirupa.com/u/bimyoo)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 3:32pm UTC](https://forum.kirupa.com/t/error-1010-in-firefox/285415 "2009-03-31T15:32:41Z")

</div>

The following mp3 player works fine in IE, but firefox is throwing: TypeError: Error #1010: A term is undefined and has no properties. at movie\_fla::MainTimeline/initmcPlayer() at movie\_fla::MainTimeline/movie…

---

## [HitTest zoning](https://forum.kirupa.com/t/hittest-zoning/285412)

<div class="topic-metadata">

**Author:** [@bike\_boy](https://forum.kirupa.com/u/bike_boy)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 2:33pm UTC](https://forum.kirupa.com/t/hittest-zoning/285412 "2009-03-31T14:33:28Z")

</div>

Maybe I'm just being stupid (highly likely) but I can't find a solution to this for the life of me and wondered if a better man (or woman) could help me out. I built an XML-powered platform flash game a while ago (para…

---

## [Embedding font?](https://forum.kirupa.com/t/embedding-font/285410)

<div class="topic-metadata">

**Author:** [@josepilove](https://forum.kirupa.com/u/josepilove)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 1:43pm UTC](https://forum.kirupa.com/t/embedding-font/285410 "2009-03-31T13:43:39Z")

</div>

\[Embed(source="HelveticaNeue-Bold.ttf", fontFamily="helveticaBold1")\] what is wrong with this? i get this error "An Embed variable must not have an existing value.

---

## [Drawing curves dynamically](https://forum.kirupa.com/t/drawing-curves-dynamically/285409)

<div class="topic-metadata">

**Author:** [@john84](https://forum.kirupa.com/u/john84)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 1:34pm UTC](https://forum.kirupa.com/t/drawing-curves-dynamically/285409 "2009-03-31T13:34:24Z")

</div>

I've made a small application that draws a curve by dragging points. Two points drag the line and a third line controls the curve. It all seems to work fine, but slows everything else that's going on on my pc.(Windows Ta…

---

## [Error converting string to number](https://forum.kirupa.com/t/error-converting-string-to-number/285408)

<div class="topic-metadata">

**Author:** [@dmitriy](https://forum.kirupa.com/u/dmitriy)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 1:28pm UTC](https://forum.kirupa.com/t/error-converting-string-to-number/285408 "2009-03-31T13:28:10Z")

</div>

I am working on an Flash application that reads data from XML files. I ran into an issue where when Actionscript converts strings to numbers, it returns values different from the initial numeric string. For example: O…

---

## [AS2 Looping code translated to as3](https://forum.kirupa.com/t/as2-looping-code-translated-to-as3/285407)

<div class="topic-metadata">

**Author:** [@jeros10](https://forum.kirupa.com/u/jeros10)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 1:13pm UTC](https://forum.kirupa.com/t/as2-looping-code-translated-to-as3/285407 "2009-03-31T13:13:53Z")

</div>

if (!thisloop) { thisloop = 1; } if (thisloop == 3) { stop(); } if (thisloop \< 3) { thisloop++; } else { stop(); } For some reason i'm having a tough time translating this code to as3, i feel like i…

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

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