[Flashcoders] Re: embedded FLV exporting to different frame than 1?

2007-06-28 Thread jason vancleave
Right. it won't wait to load the entire video. You can use the
NetStream.bytesLoaded and wait for that to reach 100% before you do further
actions (like play your movieclip)



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: embedded FLV exporting to different frame than 1?

2007-06-28 Thread jason vancleave
why not load the flv dynamically?



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: Asynchronous ExternalInterface Calls From Javascript, possible?

2007-06-20 Thread jason vancleave
Seth Green  gmail.com> writes:

> 
> It turns out that the "asynchronous" web service call actually takes 
> some extra time (like 100ms) the FIRST time you use that web service 
> method. 

Not to confuse the matters worse but I wonder if that has something to do with
it looking for the a crossdomain.xml file. 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: Asynchronous ExternalInterface Calls From Javascript, possible?

2007-06-20 Thread jason vancleave


Maybe I am misunderstanding something bu I would think you could set up a
methodology where JS makes a call to Flash, Flash returns something immediately
to JS, then does its stuff with the web service and calls back to JS again when
its done.

Another option is instead of using ExternalInterface you can use the
Flash/JavaScript Gateway

One thing I have went through is rapid calls between Javascript and Flash have
dropped calls. I believe the kit below has a queuing functionality built into 
it.

The one I have used is 

http://blog.deconcept.com/code/intkit/

because it works well with SWFObject


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: flv playback, event not firing

2007-05-07 Thread jason vancleave
I have noticed this on consistently on the the mac player v9 or higher as 
described here:

http://www.kennybunch.com/blogarchives/62

i usually try the flv metadata injector first to make sure its not just corrupt 
metadata:

http://www.buraks.com/flvmdi/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: class import weirdness

2007-03-28 Thread jason vancleave
are your publish settings set for flash 8?

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: Flash controling

2007-03-28 Thread jason vancleave
have you tried making the swf transparent yet? 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] injecting System.security.allowDomain

2007-03-12 Thread jason vancleave
I am trying to use a bunch of image sequences that were exported out of 
ImageReady as swfs. This process has been working so they can tweak the timing 
of the image sequences without having flash.

The problem is that I would like to make these child swfs controllable 
crossdomain so I can put them into a parent swf on a different server. Right 
now when these are pulled crossdomain I can't control the playback of the 
children.

I would like to somehow inject System.security.allowDomain(this._parent._url) 
for all these, preferrably server-side so I can inject them when they are 
initally uploaded to the site. Anybody done anything like this before?

Thanks,
Jason



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] MovieClipLoader greens out loading images crossdomain

2007-03-09 Thread jason vancleave
I am using the MovieClipLoader to pull some images from another domain that has 
a higher bandwidth limit. When using the crossdomain server the images show up 
as a solid green box.

Small images from the same directory load fine cross domain. The same images 
load fine when loaded from the same domain. I can open the absolute links to 
the images in a browser fine so permissions are ok. The MovieClipLoader doesn't 
throw any errors and fires onLoadInit fine. I also have placed a crossdomain 
file allowing giving the swf access even though I don't think I need it.

Anyone seen this before? It happens in both Firefox and IE on the PC.



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: FLV playing back too fast after I have unpaused it

2007-02-05 Thread jason vancleave
Seems to be ok in Firefox but not IE - have you tried it without the window
transparency?

I also don't think you need the updateAfterEvent as that is usually reserved
when using intervals.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: Need help dynamically adding a layer to a MC.

2007-02-05 Thread jason vancleave
Its mostly the technique of making a parent, content and then a mask movieclip
that makes this work. When content gets loaded via MovieClipLoader the MovieClip
that receives the content gets somewhat replaced. I have found that even though
the basic properties(_alpha, _width, _height, etc..) can be manipulated
attaching or creating child MovieClips has issues. My guess is that Flash needs
some extra time to initialize the newly loaded clip as a MovieClip. Again, my
guess but once I found the technique I told you I have used it since with far
fewer problems.

If anyone has any further insight into it I would be happy to hear it.








___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: Need help dynamically adding a layer to a MC.

2007-02-04 Thread jason vancleave

Here's what I do:

this.stop();
//
var mcImageWindow:MovieClip;
var mcImageContent:MovieClip;
var mcImageMask:MovieClip;
var mcl:MovieClipLoader = new MovieClipLoader();
//
mcl.addListener(this);
//
mcImageWindow = this.createEmptyMovieClip("mcImageWindow",
this.getNextHighestDepth());
mcImageContent = mcImageWindow.createEmptyMovieClip("mcImageWindow",
mcImageWindow.getNextHighestDepth());
mcl.loadClip("image.jpg", mcImageContent);
//
function onLoadInit() {
mcImageMask = mcImageWindow.attachMovie("mcImageMask", "mcImageMask",
mcImageWindow.getNextHighestDepth());
mcImageWindow.setMask(mcImageMask);
}



heres a sample of the above code:
http://www.jasonvancleave.com/examples/mask.zip



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: very basic movie freezing up (???)

2007-01-31 Thread jason vancleave
Same here only in the browser - IDE is fine

I put this on frame 1 
this.onEnterFrame = function(){
trace(_currentFrame);   
}

and got this out of the debug player:

C:\>tail -f "C:\Documents and Settings\Administrator\Application 
Data\Macromedia\Flash Player\Logs\flashlog.txt"
2
3
4
5
6
7
8
9
10
Warning: Failed to parse corrupt data.

never seen this either

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: onLoadInit running when swf doesn't exist

2007-01-31 Thread jason vancleave
I would use one of these to see what the browser is seeing:

http://livehttpheaders.mozdev.org/

http://www.blunck.se/iehttpheaders/iehttpheaders.html


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: set and retrieve a netstream property

2007-01-30 Thread jason vancleave
You just need to declare var vidDuration outside the metaDataInfo function for
it to remain persistent in the instance of the Class containing it.

class WhateverClass{

var vidDuration:Number;
 public function metaDataInfo(obj:Object) {  
times = obj.keyframes.times;

 vidDuration = Math.ceil(obj.duration);
 
 // pass duration value to another function
 
 durationTime(vidDuration);
 positions = obj.keyframes.filepositions;
 
 };

public function getDuration():Number{
return vidDuration;
}
}



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: Test if mouse is outside flash movie (within browser) ...

2007-01-29 Thread jason vancleave
Maybe use setInterval to recheck if the mouse is still over the clip, if not 
fade out

if its Flash 8 the undocumented setTimeout is useful too:

http://www.flashguru.co.uk/flash-8-settimeout/



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: flash on osx thru parallels/bootcamp

2007-01-24 Thread jason vancleave
The Mac version of Sepy has been buggier for me than the PC version. The 
lastest versions seem to be getting better and is still nicer for me than using 
the Flash IDE but still overall buggier than the PC version.

I will check out the TextMate screencasts. I'd be happy to switch completely 
over to a Mac based system once Adobe gets all the stuff over to Universal

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: IE6 CTRL key problem.

2007-01-19 Thread jason vancleave
Maybe this will work?

http://osflash.org/pipermail/osflash_osflash.org/2005-December/005850.html


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: view swfs in file folder window (windows os)

2006-05-27 Thread jason vancleave
Maybe this?

http://www.eltima.com/products/swf-live-preview/






___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com