[Flashcoders] AttachMovie?!!?

2007-12-20 Thread Pedro Kostelec
Hello.

I am sorry of posting this easy question here(i should post it to the
newbies list but i think there is a problem with it) and i am sorry if this
is a double post. Nobody replyed and i don't know if you actually received
the mail or not. And i really need the answer as soon as possible. :


I need to load two flash movies into a single one. One is containig the
sound, the other the animation. I think i cannot  put the sound directly
into the movie because i made de movie of a lot of scenes(or can I?)


Can you tell me a good tutorial for this or only giving me the piece of code
neceserly for this.


Thanks


Pedro


ps: I tried with this:


this.attachMovie(genesis 7, genesis, this.getNextHighestDepth()); //to
attach the film

but the problem is that the animated movieclips inside the movie didn't
play.


Should sth like this work?
this.attachMovie(genesis 7, genesis, this.getNextHighestDepth ()); //to
attach the film
genesis.play();???
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AttachMovie?!!?

2007-12-20 Thread Hans Wichman
Hi,

I wouldn't use scenes, I think it's even in adobe's best practice document.
Attachmovie is used for attaching movies from the library, loadMovie is used
for loading movies from an external source, which one are you trying to do?

As far as tutorials go, I'd recommend doing the flash tutorials that come
with flash, reading through the manual that comes with flash and pick up a
book like game development. Those books usually don't go hardcore OO on you
which is nice when ur just getting started but they do discuss sounds,
graphics etc..

greetz
JC

On Dec 20, 2007 9:59 AM, Pedro Kostelec [EMAIL PROTECTED] wrote:

 Hello.

 I am sorry of posting this easy question here(i should post it to the
 newbies list but i think there is a problem with it) and i am sorry if
 this
 is a double post. Nobody replyed and i don't know if you actually received
 the mail or not. And i really need the answer as soon as possible. :


 I need to load two flash movies into a single one. One is containig the
 sound, the other the animation. I think i cannot  put the sound directly
 into the movie because i made de movie of a lot of scenes(or can I?)


 Can you tell me a good tutorial for this or only giving me the piece of
 code
 neceserly for this.


 Thanks


 Pedro


 ps: I tried with this:


 this.attachMovie(genesis 7, genesis, this.getNextHighestDepth()); //to
 attach the film

 but the problem is that the animated movieclips inside the movie didn't
 play.


 Should sth like this work?
 this.attachMovie(genesis 7, genesis, this.getNextHighestDepth ());
 //to
 attach the film
 genesis.play();???
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AttachMovie?!!?

2007-12-20 Thread Matt S.
On Dec 20, 2007 6:06 AM, Hans Wichman [EMAIL PROTECTED] wrote:
 Hi,

 I wouldn't use scenes, I think it's even in adobe's best practice document.

Which really makes you wonder why they still even include the Scenes
option. It seems like Scenes have been widely accepted as taboo for 5
years now if not more, and if your own best practices document says to
avoid them, maybe its time to phase them out.

.m
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] printing a movieclip with attachBitmap

2007-12-20 Thread Mendelsohn, Michael
Hi list...

I'm having trouble printing a movieclip with an attachBitmap call.  The
movieclip goes through the PrintJob fine, but there's no bitmapData
attached, only a square that's the color of the Flash movie's background
color.  When I debug, I can see that the bitmapData has params of
{height:-1, rectangle:-1, transparent:-1, width:-1} even though I can
see the bitmapData on the stage.  Any ideas?

Thanks,
- Michael M.


public function printThisSlide():Void {
var pj = new PrintJob();
var confirmPrint:Boolean = pj.start();
if (confirmPrint) {
var photoTemp:MovieClip =
_root.createEmptyMovieClip(photoTemp, 500);
// below is passed legit bitmapData.  I can see it on
the stage if I comment out removeMovieClip afterwards

photoTemp.attachBitmap(_root.ui.printCache[String(slide +
_root.ui.slideCurrent)], 1);
pj.addPage(photoTemp);
// all I see is a colored square, not the bitmap
pj.send();
}
photoTemp.removeMovieClip();
delete pj;
}

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] SOLVED: printing a movieclip with attachBitmap

2007-12-20 Thread Mendelsohn, Michael
All it needed was {printAsBitmap:true}.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] AttachMovie?!!?

2007-12-20 Thread Merrill, Jason
Which really makes you wonder why they still even include the 
Scenes option. It seems like Scenes have been widely accepted 
as taboo for 5 years now if not more, and if your own best 
practices document says to avoid them, maybe its time to 
phase them out.

I've heard flash cartoon animators use it a lot, and an Adobe person
said it allows backwards compatibility with .flas. I agree though, take
it out, it only encourages bad design.

Jason Merrill
Bank of America  
LLD GTO 
eTools  Multimedia Research  Development




 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] load flex swf into flash CS3 project

2007-12-20 Thread Merrill, Jason
Also I've found that when trying to add a MovieClip instance 
to a UIComponent in Flex, the whole app just quits. Though 
technically there is nothing wrong with doing this, Flex 
components react badly to display objects that are not 
desensants of UIComponent.

Interesting, I haven't encountered that in Flex (yet) - I have added
Sprite instances to UIComponent instances with no problems. Knock on
wood.

Jason Merrill
Bank of America  
LLD GTO 
eTools  Multimedia Research  Development



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AttachMovie?!!?

2007-12-20 Thread Andrew Sinning

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AttachMovie?!!?

2007-12-20 Thread Pedro Kostelec
I allways knew that scenes wheren't the best choice, but the animation lasts
about 10 minutes, which would be really complicated to do in anly one scene.
Yes, hans it is really loadMovie the one that i should use. I don't know
where did i mix this with attachMovie. It worked, but it is not really in
syncronisation. How ca i fix that?

Pedro

2007/12/20, Andrew Sinning [EMAIL PROTECTED]:


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] load flex swf into flash CS3 project

2007-12-20 Thread Jamie S
I guess i'm thinking specifically of mx.core.Container Objects.
Although you can use addChild() to add any DisplayObject, unless that
DisplayObject implements IUIConponent, it wont work.

Jamie

On Dec 20, 2007 7:23 AM, Merrill, Jason [EMAIL PROTECTED] wrote:
 Also I've found that when trying to add a MovieClip instance
 to a UIComponent in Flex, the whole app just quits. Though
 technically there is nothing wrong with doing this, Flex
 components react badly to display objects that are not
 desensants of UIComponent.

 Interesting, I haven't encountered that in Flex (yet) - I have added
 Sprite instances to UIComponent instances with no problems. Knock on
 wood.

 Jason Merrill
 Bank of America
 LLD GTO
 eTools  Multimedia Research  Development




 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Rotating drowdown list component

2007-12-20 Thread Helmut Granda
Hello All,

I never ran into the situation where I needed to show a list component in an
angle until today

easy you may say:

component.rotation = 45

it works but the actual drop down doesnt rotate, it still shows the content
in a vertical form... Has anyone run into a similar situation? I tried to
google the answer but it seems like its not a common issue.

TIA,
Helmut
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AttachMovie?!!?

2007-12-20 Thread Helmut Granda
could you elaborate on what kind of synchronization you are trying to
achieve?


On 12/20/07, Pedro Kostelec [EMAIL PROTECTED] wrote:

 I allways knew that scenes wheren't the best choice, but the animation
 lasts
 about 10 minutes, which would be really complicated to do in anly one
 scene.
 Yes, hans it is really loadMovie the one that i should use. I don't know
 where did i mix this with attachMovie. It worked, but it is not really in
 syncronisation. How ca i fix that?

 Pedro

 2007/12/20, Andrew Sinning [EMAIL PROTECTED]:
 
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
...helmut
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Rotating drowdown list component

2007-12-20 Thread Steven Sacks
I'm assuming this is AS2.  Like most MM components, they draw the 
drop-down on _root, so rotating the original clip will have no effect.


List components are actually pretty simple to write, so you might want 
to write your own.  Alternatively, you could try other components like 
bjc, ghostwire, etc.


-Steven



Helmut Granda wrote:

Hello All,

I never ran into the situation where I needed to show a list component in an
angle until today

easy you may say:

component.rotation = 45

it works but the actual drop down doesnt rotate, it still shows the content
in a vertical form... Has anyone run into a similar situation? I tried to
google the answer but it seems like its not a common issue.

TIA,
Helmut
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AttachMovie?!!?

2007-12-20 Thread Glen Pike

Hi,

You may have problems forcing one timeline without a sound on to sync 
with another.


Here is a suggested workaround for the separate scenes problem:

Save multiple copies of your original animation - one copy for each 
scene.


   Open up the first animation and delete all scenes except for #1
  
   Repeat this for each file - deleting the corresponding scene.


   You will then need to publish these and load each SWF's into your 
movie - this will need a bit of coding to start the next movie playing 
after one finishes, so I don't know how up you are for this.


The main problem here is sync'ing each animation to the sound track - 
most of the time, animations are on the timeline with the sound they are 
animated to and the Sound is set to Stream Sync type.  This may not 
help you here, but having the sound on the same timeline is possibly the 
only way to force sync - see this document:


http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14108sliceId=2 
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14108sliceId=2


   You may find that the only way to ensure Sync is to put the audio in 
with the animations - either put each scene onto one big timeline, 
which is a pain for preloading, or cut up the sound for each scene and 
put the separate files into each movie.  The latter may be easier to 
manage and you can always preload the files that follow the first one.


HTH

Glen




  


Pedro Kostelec wrote:

I allways knew that scenes wheren't the best choice, but the animation lasts
about 10 minutes, which would be really complicated to do in anly one scene.
Yes, hans it is really loadMovie the one that i should use. I don't know
where did i mix this with attachMovie. It worked, but it is not really in
syncronisation. How ca i fix that?

Pedro

2007/12/20, Andrew Sinning [EMAIL PROTECTED]:
  

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


  


--

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] load flex swf into flash CS3 project

2007-12-20 Thread Cory Petosky
You can use mx.core.Container.rawChildren.addChild to add any DisplayObject
to a Flex container.

On 12/20/07, Jamie S [EMAIL PROTECTED] wrote:

 I guess i'm thinking specifically of mx.core.Container Objects.
 Although you can use addChild() to add any DisplayObject, unless that
 DisplayObject implements IUIConponent, it wont work.

 Jamie

 On Dec 20, 2007 7:23 AM, Merrill, Jason [EMAIL PROTECTED]
 wrote:
  Also I've found that when trying to add a MovieClip instance
  to a UIComponent in Flex, the whole app just quits. Though
  technically there is nothing wrong with doing this, Flex
  components react badly to display objects that are not
  desensants of UIComponent.
 
  Interesting, I haven't encountered that in Flex (yet) - I have added
  Sprite instances to UIComponent instances with no problems. Knock on
  wood.
 
  Jason Merrill
  Bank of America
  LLD GTO
  eTools  Multimedia Research  Development
 
 
 
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
Cory Petosky : Developer : PUNY
1618 Central Ave NE Suite 130
Minneapolis, MN 55413
Office: 612.216.3924
Mobile: 240.422.9652
Fax: 612.605.9216
http://www.punyentertainment.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Rotating drowdown list component

2007-12-20 Thread Helmut Granda
Ah, good to know for AS2, this project is in AS3 so have things changed in
AS3?

On 12/20/07, Steven Sacks [EMAIL PROTECTED] wrote:

 I'm assuming this is AS2.  Like most MM components, they draw the
 drop-down on _root, so rotating the original clip will have no effect.

 List components are actually pretty simple to write, so you might want
 to write your own.  Alternatively, you could try other components like
 bjc, ghostwire, etc.

 -Steven



 Helmut Granda wrote:
  Hello All,
 
  I never ran into the situation where I needed to show a list component
 in an
  angle until today
 
  easy you may say:
 
  component.rotation = 45
 
  it works but the actual drop down doesnt rotate, it still shows the
 content
  in a vertical form... Has anyone run into a similar situation? I tried
 to
  google the answer but it seems like its not a common issue.
 
  TIA,
  Helmut
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
...helmut
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AttachMovie?!!?

2007-12-20 Thread Pedro Kostelec
It worked.  Because the sound was played a bit before the movie started i
moved it for two frames  and now it works. I must make the same but doing it
on the pc whit which the presentations will be displayed and i hope that it
will work. Thank you guys for your help and your time for such an easy
question.
Bye
Pedro

2007/12/20, Glen Pike [EMAIL PROTECTED]:

 Hi,

 You may have problems forcing one timeline without a sound on to sync
 with another.

 Here is a suggested workaround for the separate scenes problem:

  Save multiple copies of your original animation - one copy for each
 scene.

 Open up the first animation and delete all scenes except for #1

 Repeat this for each file - deleting the corresponding scene.

 You will then need to publish these and load each SWF's into your
 movie - this will need a bit of coding to start the next movie playing
 after one finishes, so I don't know how up you are for this.

 The main problem here is sync'ing each animation to the sound track -
 most of the time, animations are on the timeline with the sound they are
 animated to and the Sound is set to Stream Sync type.  This may not
 help you here, but having the sound on the same timeline is possibly the
 only way to force sync - see this document:


 http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14108sliceId=2
 
 http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14108sliceId=2
 

 You may find that the only way to ensure Sync is to put the audio in
 with the animations - either put each scene onto one big timeline,
 which is a pain for preloading, or cut up the sound for each scene and
 put the separate files into each movie.  The latter may be easier to
 manage and you can always preload the files that follow the first one.

 HTH

 Glen






 Pedro Kostelec wrote:
  I allways knew that scenes wheren't the best choice, but the animation
 lasts
  about 10 minutes, which would be really complicated to do in anly one
 scene.
  Yes, hans it is really loadMovie the one that i should use. I don't know
  where did i mix this with attachMovie. It worked, but it is not really
 in
  syncronisation. How ca i fix that?
 
  Pedro
 
  2007/12/20, Andrew Sinning [EMAIL PROTECTED]:
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 

 --

 Glen Pike
 01736 759321
 www.glenpike.co.uk http://www.glenpike.co.uk
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Rotating drowdown list component

2007-12-20 Thread Merrill, Jason
Ah, good to know for AS2, this project is in AS3 so have 
things changed in AS3?


AS3 is the language, but yours is technically a framework question.  I
don't know about the Flash CS3 framework list components, but I do know
the Flex 2 framework still has the same bug - you can rotate the list
object, but the text in the list does not appear when you do so.

Jason Merrill
Bank of America  
LLD GTO 
eTools  Multimedia Research  Development



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Rotating drowdown list component

2007-12-20 Thread Helmut Granda
Thanks Jason. I think that finding the listcomponent inside the dropdown
component will allow me to do the tweaking I need.


On 12/20/07, Merrill, Jason [EMAIL PROTECTED] wrote:

 Ah, good to know for AS2, this project is in AS3 so have
 things changed in AS3?
 

 AS3 is the language, but yours is technically a framework question.  I
 don't know about the Flash CS3 framework list components, but I do know
 the Flex 2 framework still has the same bug - you can rotate the list
 object, but the text in the list does not appear when you do so.

 Jason Merrill
 Bank of America
 LLD GTO
 eTools  Multimedia Research  Development



 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
...helmut
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders