Jump to content
Search Community

Z0OTY

Members
  • Posts

    14
  • Joined

  • Last visited

Z0OTY's Achievements

0

Reputation

  1. Yup! It definitely does. Thanks (once again) for saving me a bunch of trouble lol
  2. Is it possible to tween properties of TLF textfields? Say I want to tween the tracking of a TLF textfield, How would I go about doing that? I tried giving an instance name to the TLF field and tweening the "tracking" property, but it returned a reference error # 1069 property not found. Any suggestions?
  3. Ahhh I see what you mean. I just tried it. So I guess there is no way around this then huh?
  4. Yup, the video loads fine any other way, even using VideoLoader with a regular string for the URL. It only fails to load once there are variables involved and sending it to a PHP. //shortened AS3 code var request:URLRequest = new URLRequest("http://www.domain.com/my.php"); var data:URLVariables = new URLVariables(); data.one = "1234"; data.two = "video.flv"; request.data = data; request.method = URLRequestMethod.POST; vidLoader = new VideoLoader(request, {name:"video", container:this, autoPlay:true, volume:1, estimatedBytes:750000}); vidLoader.load(); The PHP then locates a the "video.flv" file in folder "1234" and appropriates the headers and reads the file. Works for mp3s and images.
  5. Playing with the URLRequests and ran into a problem with loading videos: I have a PHP script that accepts the URLVariables from AS3 to pull a file from a folder. The PHP then sets the proper headers for the file (in this case .flv) The VideoLoader DOESN'T load the video and throws an error saying NetStream.Play.StreamNotFound. Everything kind of works with music and photos, they sometimes don't load. Videos do not load at all no matter the type. I can go to the PHP page in browser and the video loads in the browser just fine, but when I try to load it in flash, I get that error. Any ideas?
  6. Hi, I love using Greensock classes. I am currently using LoaderMax for everything! I wanted to know if it was possible to load images from a password protected folder on the server (htaccess protection)? I was researching URLRequestDefaults.setLoginCredentialsForHost(); but it looks as if that is only for AIR and Flash Lite 4. Or is there a way to send variables to a php script using ImageLoader to retrieve the file? Any suggestions?
  7. The answer is Yes! RTFM Nest LoaderMax instances inside other LoaderMax instances as deeply as you want. - This makes complex queues simple. Need to know when the first 3 loaders have finished loading inside a 10-loader queue? Just put those 3 into their own LoaderMax that has an onComplete and nest that LoaderMax inside your main LoaderMax queue.
  8. Don't know if I worded that correctly. But here is what I am trying to do: Create 3 loaderMax loaders consisting of imageLoaders from 3 different arrays( A, B, C); Make another loaderMax loader (Main) and append A B and C to it. Load. Possible change priority of Main loader. Is this possible?
  9. Scratch that, you were 100% right... (Lack of sleep tends to turn the blinders on)
  10. Hey guys, I'm having a problem with the VideoLoader.VIDEO_COMPLETE as well. I think my code is Ok because it actually fires the function I created for the end of the video, but I still receive an error. TypeError: Error #1034: Type Coercion failed: cannot convert com.greensock.loading::VideoLoader@475b3f11 to flash.display.MovieClip. at Function/http://adobe.com/AS3/2006/builtin::apply() at com.greensock.core::TweenCore/complete() at com.greensock::TweenMax/complete() at com.greensock::TweenMax/renderTime() at com.greensock.core::SimpleTimeline/renderTime() at com.greensock::TweenLite$/updateAll() Here is my code var queue:LoaderMax = new LoaderMax({name:"mainQueue", onProgress:progressHandler, onComplete:completeHandler, onError:errorHandler}); var video:VideoLoader = new VideoLoader("blablabla.f4v", {name:"bhVideo", container:vidHolder, width:720, height:406, x:-360, y:-203, bgColor:0x000000, autoPlay:false, volume:.8, requireWithRoot:this.root, estimatedBytes:1800000}); queue.append( video ); queue.load(); function playVid(){ video.addEventListener(VideoLoader.VIDEO_COMPLETE, vidComplete,false,0,true); video.playVideo(); } function vidComplete(event:LoaderEvent):void{ doSomething(); }
  11. Thanks, That was my initial thought as well, I downloaded the new as3 library and still get the same error.
  12. Hi, I have been following this thread and everything seemed to work until I came across this error with the new update function you posted. Any ideas? "Scene 1, Layer 'Layer 1', Frame 1, Line 32 1119: Access of possibly undefined property update through a reference with static type com.greensock.motionPaths:LinePath2D."
×
×
  • Create New...