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

RE: [Flashcoders] loadMovie question

2007-02-02 Thread Alain Rousseau
You should try masking your movieclip through code, as you are loading into it with code : movieclip_a.masked.setMask(movieclip_a.mask); then your masked movieClip should remain masked even if you load a jpeg inside it. I say should, but I've not tested this precise setup ... HTH Alain

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

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
and what are you tracing exactly ? that's only the result. But at first glance Target looks like a file path and not a clip path to me ... -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 12:49 To: flashcoders

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

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

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

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

Re: [Flashcoders] LoadMovie Problem?

2006-01-31 Thread Martin Weiser
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 to it and most important: you have to wait for the movie being loaded, which is the hardCore and basic knowledge for every flash programmer :-) good

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
You also have a space in there: C:\\ pages.swf I would not recommend loading from c: -you can't guarantee the file will always be there can you? Loal from a relative url instead, and don't try and load into _root - create and empty movie clip instance, and load into that. Jason Merrill

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

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

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;