Re: [Flashcoders] loadmovie

2008-02-29 Thread Bob Wohl
Use loadClip and wait for the onLoadInit to fire, then resize. http://livedocs.adobe.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=1580.html hth. B On Fri, Feb 29, 2008 at 7:45 AM, Lehr, Theodore M (N-SGIS) [EMAIL PROTECTED] wrote: I am

Re: [Flashcoders] loadmovie

2008-02-29 Thread Marc Hoffman
Theodore, How was holder_lesson created? If it has been scaled up from some other mc, the loaded movie will also be scaled up. Best to use a non-scaled clip as a holder. AS2 example: this.createEmptyMovieClip(holder_lesson,this.getNextHighestDepth()); holder_lesson._x = 10; // or wherever

Re: [Flashcoders] loadmovie

2008-02-29 Thread jonathan howe
And if you are loading it into a clip that you've set _xscale + _yscale on, the movie replaces those properties when it's loaded. loadMovie essentially replaces the movie it's called from, wiping its properties. On Fri, Feb 29, 2008 at 1:28 PM, Marc Hoffman [EMAIL PROTECTED] wrote: Theodore,

Re: [Flashcoders] loadmovie

2008-02-29 Thread jonathan howe
Yes, my apologies. I guess I was mixing up dynamic properties with the standard properties. Dynamic properties do get wiped, but standard ones are preserved, as Marc states. loader2.idiot = jonathan; loader2.onRelease = function(){ this.loadMovie(circle.swf); } // then once it is loaded

RE: [Flashcoders] loadmovie

2008-02-29 Thread Lehr, Theodore M (N-SGIS)
Thanks - worked perfectly -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Wohl Sent: Friday, February 29, 2008 10:21 AM To: Flash Coders List Subject: Re: [Flashcoders] loadmovie Use loadClip and wait for the onLoadInit to fire, then resize. http

Re: [Flashcoders] loadmovie

2008-02-29 Thread Marc Hoffman
Well-put, Jonathan. Thanks for a useful clarification -- wish all idiots were as clever as you! -Marc At 12:59 PM 2/29/2008, you wrote: Yes, my apologies. I guess I was mixing up dynamic properties with the standard properties. Dynamic properties do get wiped, but standard ones are

Re: [Flashcoders] loadMovie from subdirectory - change base path

2008-02-01 Thread Glen Pike
Can you use the base attribute in the params to set somewhere that you can then use relative paths. |param name=base value=http://www.example.com/pages/; http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_04157sliceId=2

Re: [Flashcoders] loadMovie from subdirectory - change base path

2008-02-01 Thread Hans Wichman
Hi, i think this applies to using an html file in location a loading an swf from location b. Seeing Amanda has two different basepaths, setting the base to nr 1 will confuse nr 2 and vice versa. Copying everything to the same directory like Bob said seems a good and simple solution though:).

Re: [Flashcoders] loadMovie from subdirectory - change base path

2008-01-31 Thread Amanda Kuek
@Deepanjan Das, @JC Thanks for your replies! It seems that, despite my fondest hopes, there is no easy way to retro-fit hundreds of SWFs originally built without this loadMovie() requirement in mind. Cheers and thanks :-) On Jan 30, 2008 8:05 PM, Hans Wichman [EMAIL PROTECTED] wrote: Hi,

Re: [Flashcoders] loadMovie from subdirectory - change base path

2008-01-31 Thread Bob Leisle
One simple solution would be to physically move your controller swf into the screens directory and run it from there. Then they'll all have the same path and no retrofitting needed. hth, Bob Amanda Kuek wrote: @Deepanjan Das, @JC Thanks for your replies! It seems that, despite my fondest

Re: [Flashcoders] loadMovie from subdirectory - change base path

2008-01-30 Thread Hans Wichman
Hi, check this out: http://objectpainters.com/blog/2007/01/03/where-am-i-relative-paths/ The getPath things works in most cases. If you want a more complex version that takes more things into account, you can use this: You will need to replace the RuntimeExceptions with your own error mechanism

[Flashcoders] loadMovie from subdirectory - change base path

2008-01-29 Thread confusticate and bebother these dwarves!
Hello Flashcoders, I'm trying to make a main movie (controller.swf) that loads other movies (screen1.swf, screen2.swf, etc), which are stored in a subdirectory called screens. In controller.swf I'm using loadMovie(screens/screenx.swf) to load the movies from the screens subdirectory, and this

[Flashcoders] LoadMovie in Mozilla

2007-02-27 Thread Sumeet Kumar
Hi I have a function fnLoadMovies (). This function loadMovies(.swf files) from an array which is generated dynamically. Sometimes this array contains values like 'undefined' or 'null '. In Internet Explorer When mc.loadMovie(undefined) is called it works fine. But In

RE: [Flashcoders] loadMovie question

2007-02-02 Thread Alain Rousseau
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [p e r c e p t i c o n] Sent: 2 février 2007 11:26 To: flashcoders Subject: [Flashcoders] loadMovie question Hello all, i'm trying to load a jpg into a movie clip that is nested within a movieclip and masked

[Flashcoders] loadMovie question

2007-02-02 Thread [p e r c e p t i c o n]
Hi Alain, I would think that would work too, but i tried that as well...not sure what's happening... in fact all of my coordinates are all screwed up...plus i've noticed that when i change the width of some clips it literally skews the clip as if i used the transform tool...very strange as i

Re: [Flashcoders] loadMovie question

2007-02-02 Thread Helmut Granda
It sounds like you are not loading the JPG to the right target. Make sure your loadmovie is loading correctly. On 2/2/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: Hi Alain, I would think that would work too, but i tried that as well...not sure what's happening... in fact all of my

RE: [Flashcoders] loadMovie question

2007-02-02 Thread Alain Rousseau
] On Behalf Of Helmut Granda Sent: 2 février 2007 12:25 To: Flashcoders mailing list Subject: Re: [Flashcoders] loadMovie question It sounds like you are not loading the JPG to the right target. Make sure your loadmovie is loading correctly. On 2/2/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: Hi

[Flashcoders] loadMovie question

2007-02-02 Thread [p e r c e p t i c o n]
here's what the output window is spitting out... Target not found: Target=/screen_container/card1/image_container Base=_level0.screen_container.card1.image_container the clip is on the stage...which this trace confirms image container: _level0.screen_container.card1.image_container thanks

Re: [Flashcoders] loadMovie question

2007-02-02 Thread eric dolecki
it sounds like you might be targeting the main clip and not the nested clip beneath the mask. mc mc.mask, mc.holder_mc (empty) - beneath the mask on a layer mc.holder_mc.loadMovie(foo.jpg); - should be affected by the mask layer inside of the mc movieclip On 2/2/07, [p e r c e p t i c o n]

RE: [Flashcoders] loadMovie question

2007-02-02 Thread Alain Rousseau
Subject: [Flashcoders] loadMovie question here's what the output window is spitting out... Target not found: Target=/screen_container/card1/image_container Base=_level0.screen_container.card1.image_container the clip is on the stage...which this trace confirms image container: _level0

[Flashcoders] loadMovie question -- better explaination

2007-02-02 Thread [p e r c e p t i c o n]
ok so i noticed that where i have the clip that i'm loading into matters... so here's how my movieclip is set up. there are about 20 frames the background spans all 20 the mask begins at frame 10 as does the clip that i'm trying to load the jpg into... before i load the jpg i goto frame 10 so

Re: [Flashcoders] loadMovie question -- better explaination

2007-02-02 Thread Helmut Granda
Hey Buddy, You dont have to start a new thread, you can just continue with the original post :) On 2/2/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: ok so i noticed that where i have the clip that i'm loading into matters... so here's how my movieclip is set up. there are about 20

[Flashcoders] loadMovie question -- better explaination

2007-02-02 Thread [p e r c e p t i c o n]
further... if i drag a clip onstage...it works like it's supposed to, but when i attach it while the movie is running, it doesn't like accept it. does anyone have an explaination for this? thanks ___ Flashcoders@chattyfig.figleaf.com To change your

[Flashcoders] loadMovie question -- better explaination --SOLVED

2007-02-02 Thread [p e r c e p t i c o n]
don't know why it suddenly started working, but it did... thanks to all who helped p ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to

Re: [Flashcoders] loadMovie question

2007-02-02 Thread Wagner Amaral
Had that problem once, that was because I had a number in the instance name, which flash wasn't handling well... How are you assigning the '1' to 'card1' ? read this: http://chattyfig.figleaf.com/pipermail/flashcoders/2006-December/177045.html On 2/2/07, [p e r c e p t i c o n] [EMAIL

RE: [Flashcoders] loadMovie in a duplicated movieclip

2007-01-17 Thread Don
Sent: 16 January 2007 16:49 To: Flashcoders mailing list Subject: RE: [Flashcoders] loadMovie in a duplicated movieclip And could anyone explain why this.[newName]._x = menu_ds.HorizontalPos; doesn't work? Improper syntax. Try: this[newName]._x = menu_ds.HorizontalPos; Also, would recommend

RE: [Flashcoders] loadMovie in a duplicated movieclip

2007-01-17 Thread Merrill, Jason
Well, to dig deeper, it's hard to comment because I don't know what _root.menu_ds.hasNext() does, or how _root.menu_ds.Type is set, or how dupButton is determined. There could be any number of things wrong there. Why are you using a while loop out of curiosity? Also, I usually avoid

RE: [Flashcoders] loadMovie in a duplicated movieclip

2007-01-17 Thread Don
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: 17 January 2007 15:17 To: Flashcoders mailing list Subject: RE: [Flashcoders] loadMovie in a duplicated movieclip Well, to dig deeper, it's hard to comment because I don't know what _root.menu_ds.hasNext() does, or how

Re: [Flashcoders] LoadMovie adds style to UIComponents?

2006-11-29 Thread Glen Pike
Hi, Brilliant! I managed to get a result using the Loader component too. Thanks for your reply, I will try to post this somewhere online with a useful demo, but have a stack of work and homework to do first... Glen Wade Arnold wrote: Another post on this list directed me to the

RE: [Flashcoders] LoadMovie adds style to UIComponents?

2006-11-28 Thread Wade Arnold
: Re: [Flashcoders] LoadMovie adds style to UIComponents? Hi, I had a similar problem with a site that I was trying to load in another small preloader swf and asked the list, but received no answer - sorry. I tried overriding global styles in the preloader swf, but had no joy

Re: [Flashcoders] LoadMovie adds style to UIComponents?

2006-11-22 Thread Glen Pike
Hi, I had a similar problem with a site that I was trying to load in another small preloader swf and asked the list, but received no answer - sorry. I tried overriding global styles in the preloader swf, but had no joy with this method. Anyone found a solution to this??? Glen

[Flashcoders] LoadMovie adds style to UIComponents?

2006-11-21 Thread Wade Arnold
I have one swf file that has a couple textinputs and textareas. When I run the swf alone it does not draw the green default boarder on focusIn. However if I load that same SWF via another swf into a symbol holder.loadMovie(test.swf); then I get the green boarder when I click on the textinput and

RE: [Flashcoders] LoadMovie library

2006-08-10 Thread Bart Albrecht
mailing list Subject: Re: [Flashcoders] LoadMovie library Bart, I don't find a solution where I can get my movieclips away of the library container to some movieclip on the main.swf. I think if you look at the technotes you'll find that it can't be done. That doesn't mean you can't use

Re: [Flashcoders] LoadMovie library

2006-08-10 Thread Anthony Lee
I want this because I want to separate code from viewing assets, and import different templates. I feel your pain Bart. Unfortunately it's a no can do: http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=1519.html Do a

RE: [Flashcoders] LoadMovie library

2006-08-10 Thread Bart Albrecht
To: Flashcoders mailing list Subject: Re: [Flashcoders] LoadMovie library I want this because I want to separate code from viewing assets, and import different templates. I feel your pain Bart. Unfortunately it's a no can do: http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common

RE: [Flashcoders] LoadMovie library

2006-08-09 Thread Bart Albrecht
didn't help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Nazareno Sent: dinsdag 8 augustus 2006 18:23 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] LoadMovie library How about if you loadMovie your entire Library SWF into your main SWF

Re: [Flashcoders] LoadMovie library

2006-08-09 Thread Anthony Lee
Bart, I don't find a solution where I can get my movieclips away of the library container to some movieclip on the main.swf. I think if you look at the technotes you'll find that it can't be done. That doesn't mean you can't use loaded movie library assets. You just have to access them

[Flashcoders] LoadMovie library

2006-08-08 Thread Bart Albrecht
Hi, I looked on the internet and did not find the answer. I read a few times can't be done What I want to do is load movieclips in my main.swf from a library.swf and put those movieclips on the root or put movieclips from the root in the controller of my loadmovie. Secondly I want to add a

Re: [Flashcoders] LoadMovie library

2006-08-08 Thread Michael Bedar
First of all, try MovieClipLoader to load your swf's.. If you don't want to use a runtime shared library, then I'd suggest making each movieclip you want to load at runtime a separate swf. You can export MovieClips directly from your library. also, as long as it is set to export for

RE: [Flashcoders] LoadMovie library

2006-08-08 Thread Bart Albrecht
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Bedar Sent: dinsdag 8 augustus 2006 16:20 To: Flashcoders mailing list Subject: Re: [Flashcoders] LoadMovie library First of all, try MovieClipLoader to load your swf's.. If you don't want to use a runtime shared library, then I'd suggest

RE: [Flashcoders] LoadMovie library

2006-08-08 Thread Carlos Nazareno
How about if you loadMovie your entire Library SWF into your main SWF, then access your library files via mainSWF.librarySWF.libraryAsset syntax? Not sure, but you may have to create instances of your library asset on the stage and name them properly... -Naz DISCLAIMER: This Message may

[Flashcoders] loadMovie not working over http

2006-02-12 Thread Justin Raymond
Hi all, I have a loadMovie function attached to an empty movie clip. The movie is only loaded in when I open the swf directly or view an HTM file in which it is embedded locally. As soon as I open either the page or the swf over http:// the loaded movie fails to load. Any ideas?? Thanks in

Re: [Flashcoders] LoadMovie Problem?

2006-01-31 Thread Martin Weiser
luck Martin - Original Message - From: Dhiraj Girdhar [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, January 31, 2006 8:35 AM Subject: [Flashcoders] LoadMovie Problem? Hi All, I am trying to load a new SWF file on root movie clip

RE: [Flashcoders] LoadMovie Problem?

2006-01-31 Thread Dhiraj Girdhar
PROTECTED] On Behalf Of Martin Weiser Sent: Tuesday, January 31, 2006 3:23 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] LoadMovie Problem? this is complete nonsesnse, take a look to the manual, first, not sure if loadMovie to _root is proper solution, create new movieClip, and load

RE: [Flashcoders] LoadMovie Problem?

2006-01-31 Thread Merrill, Jason
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dhiraj Girdhar Sent: Tuesday, January 31, 2006 2:35 AM To: Flashcoders mailing list Subject: [Flashcoders] LoadMovie Problem? Hi All, I am trying to load a new SWF file on root movie clip using

RE: [Flashcoders] LoadMovie Problem?

2006-01-31 Thread Frank Pepermans
Use C: pages.swf since \ is used to escape characters -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: dinsdag 31 januari 2006 12:00 To: Flashcoders mailing list Subject: RE: [Flashcoders] LoadMovie Problem? You also have a space

RE: [Flashcoders] LoadMovie Problem?

2006-01-31 Thread Merrill, Jason
] LoadMovie Problem? Use C: pages.swf since \ is used to escape characters -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: dinsdag 31 januari 2006 12:00 To: Flashcoders mailing list Subject: RE: [Flashcoders] LoadMovie Problem? You also

RE: [Flashcoders] LoadMovie Problem?

2006-01-31 Thread Dhiraj Girdhar
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Tuesday, January 31, 2006 4:30 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] LoadMovie Problem? You also have a space in there: C:\\ pages.swf I would not recommend loading from c: -you can't

RE: [Flashcoders] LoadMovie Problem?

2006-01-31 Thread Merrill, Jason
Merrill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dhiraj Girdhar Sent: Tuesday, January 31, 2006 6:33 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] LoadMovie Problem? Hey Jason, Thanks for your reply. Sorry, it was just

RE: [Flashcoders] LoadMovie Problem?

2006-01-31 Thread Merrill, Jason
Girdhar Sent: Tuesday, January 31, 2006 7:06 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] LoadMovie Problem? Hi Jason, Again thanks for your reply. But still my doubt is not clear. Please check the following code... // Code on first movie clip. _root.createEmptyMovieClip

RE: [Flashcoders] LoadMovie Problem?

2006-01-31 Thread Dhiraj Girdhar
mailing list Subject: RE: [Flashcoders] LoadMovie Problem? Well, a couple of reasons. I mean you can, it's possible, but the reason for container clips is so you have the ability to load more than one clip. If you load into _root, everything in that movie clip will be replaced by the new clip you

[Flashcoders] LoadMovie Problem?

2006-01-30 Thread Dhiraj Girdhar
Hi All, I am trying to load a new SWF file on root movie clip using following action script code, but it is not working properly. It is loading its first frame only. But the SWF file (to be loaded) is having more than one pages. loadMovie(C:\\ pages.swf, _root); _root.gotoAndStop(3);

[Flashcoders] LoadMovie Problem with JPEGs

2006-01-22 Thread Robert Sandie
Having a problem loading in an image within an AS2 class and LoadMovie with jpegs. It loads the image perfectly but as soon as it does this it automatically deletes all existing variables that are running within the class. Instead of it losing all information upon loadMovie would like to keep it.

Re: [Flashcoders] LoadMovie Problem with JPEGs

2006-01-22 Thread Ramon Tayag
You'll need a holder of sorts: ImageHolder movieclip that holds all the info including the ImageMC which actually displays the picture On 1/23/06, Robert Sandie [EMAIL PROTECTED] wrote: Having a problem loading in an image within an AS2 class and LoadMovie with jpegs. It loads the image

Re: [Flashcoders] LoadMovie Problem with JPEGs

2006-01-22 Thread stacey
Pressed SEND too soon and caught an oops!! it should be : // public function overlay(){ holder_mc=createEmptyMovieClip(holder_mc,1); } // Not sure the setup but the vars are getting wiped away for sure so its some kinda scoping issue.Loading the movieclip into this should wipe the

Re: [Flashcoders] LoadMovie Problem with JPEGs

2006-01-22 Thread Ramon Tayag
sorry! disregard my post.. On 1/23/06, Ramon Tayag [EMAIL PROTECTED] wrote: You'll need a holder of sorts: ImageHolder movieclip that holds all the info including the ImageMC which actually displays the picture On 1/23/06, Robert Sandie [EMAIL PROTECTED] wrote: Having a problem loading in

[Flashcoders] loadMovie question

2005-12-11 Thread Simon Lord
I have a movieClip on stage and a movieClip in the library that has an identifier. The idea is to get the movieClip (which is exported for runtime) to load into the movieClip which is on stage. It serves as a placeholder until an image is called for elsewhere. For whatever reason I just

Re: [Flashcoders] loadMovie question

2005-12-11 Thread Flash guru
try attachMovie(), its well documented in the help files ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] loadMovie question

2005-12-11 Thread Michael Bedar
Just to expand on that, loadMovie loads an external SWF or JPG (and more in Flash 8) into a MovieClip. attachMovie loads a named MovieClip from your flash library into a MovieClip. On Dec 11, 2005, at 11:08 PM, Flash guru wrote: try attachMovie(), its well documented in the help files

Re: [Flashcoders] loadMovie question

2005-12-11 Thread Simon Lord
Thanks, finally got it working. Just to expand on that, loadMovie loads an external SWF or JPG (and more in Flash 8) into a MovieClip. attachMovie loads a named MovieClip from your flash library into a MovieClip. On Dec 11, 2005, at 11:08 PM, Flash guru wrote: try attachMovie(),

Re: [Flashcoders] Loadmovie and sounds

2005-11-11 Thread Andrey Scherbakov
attachSound() - method which attached sound object from library if want load sound you must use method loadSound() if you say gotoAndPlay(step2) in event onSoundComplete() - you say it objSound but not you movie use link to movie clip, example: var objSound = new Sound(); var handler = this;

[Flashcoders] Loadmovie and sounds

2005-11-09 Thread Brunswick, David
Hello I am using LoadMovie to play multiple swfs within the loaded swf I am using the sound object as so var objSound = new Sound() objSound.attachSound(step1) objSound.start(0, 0) objSound.onSoundComplete = function(){ gotoAndPlay(step2) } stop(); Although I can not get the sound to play when