Hi,
I would suggest loading movie A then do 2 things when it has loaded:
play movie A
preload movie B
If Movie A is long enough you can load in all of Movie B before A
finishes and then transition as you like.
- by Movie I mean MovieClip / SWF not FLV. There maybe ways to
Preloading FLVs is easy peasy.
var progressTimer:Timer = new Timer(10);
progressTimer.addEventListener(TimerEvent.TIMER, updateProgress);
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
progressTimer.start();
// PLAY IT THEN PAUSE IT
Hi All,
While creating a custom class I am trying to figure out a way to add the
preloaded images at the same time as to dispatch an event to a different
class when the images have loaded.
of course I know that I cant extend a class to an EventDispatcher and to a
MovieClip at the same time so I
Hi Guys,
Thanks so much for your suggestions and new tips. I in fact are able to
create everything within my movie with no issues but the thing that I am
having a little bit of issue is making the switch from Movie A to B. I can
do the preloading and all but once it comes to making the swap I am
Hi Helmut,
The MovieClip inheritance chain looks like this:
MovieClip - Sprite ../../flash/display/Sprite.html -
DisplayObjectContainer ../../flash/display/DisplayObjectContainer.html
- InteractiveObject ../../flash/display/InteractiveObject.html -
DisplayObject
Thanks bob for the suggestion I guess I still having a little bit of
issue tyeing both of the classes together... For example I have this...
ClassA = DocumentClass
ClassB = CustomXMLLoaderClass extends EventDispatcher
ClassC = CustomIMGLoaderClass extends MovieClip
So I found out the answer here:
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/events/EventDispatcher.html#includeExamplesSummary
Thanks again Bob for pointing me in the right direction. Knowing the order
of inheritance allowed me to target the problem properly.
On 1/12/08,
I'm running CS3 with AS2.
I'm loading in some html text into a TextField with html set to true.
It looks like nbsp; is working correctly, but other chars such as
mdash; are just being rendered literally, as mdash;. This is even
with the entire character set embedded.
Do I have to scrub
This might seem like a dumb question, but are you calling super() in the
constructor of the class that extends MovieClip? Is the class public?
Steven Sacks
Flash Maestro
Los Angeles, CA
--
blog: http://www.stevensacks.net
gaia: http://www.gaiaflashframework.com
Helmut Granda wrote:
Thanks
Hi Andrew,
I don't know of a class that will help with this. Extended characters need
to be Unicode encoded in the HTML stream for Flash to properly display them.
I've had to do exactly what you probably don't want to do... that is, scrub
them out.
I had a project that wrapped up late summer
No, I'm not calling super...
On 1/12/08, Steven Sacks [EMAIL PROTECTED] wrote:
This might seem like a dumb question, but are you calling super() in the
constructor of the class that extends MovieClip? Is the class public?
Steven Sacks
Flash Maestro
Los Angeles, CA
--
blog:
hi there,
I am having problem to create empty Movie clicp by using the code below, I
can't create 5 movie clips vertically. Would you please help me take a look
this. Thank you so much :)
playListHolder is an MC Instance name and placed on Stage.
for (var i:Number = 0; i 5; i++) {
var
At least one problem:
_root.playListHolder.createEmptyMovieClip(vThumb+i, i+1000);
should be (note quotes):
_root.playListHolder.createEmptyMovieClip(vThumb+i, i+1000);
Also, you don't need the line:
var vidThumb:MovieClip =
You can just tell _root.playListHolder to create the clips based on
Try this instead:
for (var i:Number = 0; i 5; i++) {
_root.playListHolder.createEmptyMovieClip(vThumb+i, i+1000);
var vidThumb = __root.playListHolder[vThumb+i];
//theVideo.width = thumbWidth;
//theVideo.height = thumbHeight;
vidThumb._y =
There are various issues with your code.. here you have an updated smaller
version:
var thumbHorizontalGap = 75;
var url: String =
http://img0.gmodules.com/ig/images//weather_welcome_image.jpg;
for (var i:Number = 0; i 5; i++)
{
var vidThumb:MovieClip
AWESOME! thanks all :)
One more question here... how can I assign URL link to each movieClip? I
would like to add URL for each of movieClip which created by looping, the
code like this
Thank you
var thumbHorizontalGap = 75;
var url: String =
Put the URLs in an array:
myURLS = new Array(www.domain1.com, www.anotherDomain.com,
www.anotherDomain.com, www.anotherDomain.com, www.anotherDomain.com);
then for the URL specified as the target of each clip you create,
just reference the URL this way:
vidThumb.onRelease = function(){
17 matches
Mail list logo