Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

stevenp last won the day on December 27 2013

stevenp had the most liked content!

stevenp

Members
  • Content Count

    57
  • Joined

  • Last visited

  • Days Won

    1

stevenp last won the day on December 27 2013

stevenp had the most liked content!

Community Reputation

7 Newbie

About stevenp

  • Rank
    Advanced Member
  1. Thank you in advance. I have a SWF that loads files and plays them. I have another SWF in the same directory as the first that will not load the first SWF. It looks like it loads, but it does not play. container.swf // looks liek ti is tryign to load swf_to_load.swf swf_to_load.swf // loads it's assets just fine assets/1.file assets/2.file assets/3.file swf_to_load.swf loads and plays perfectly. container.swf does not. swf_to_load.swf was not published with "protect from import" checked. This is the code to load the fully function, fully self contained swf_to_load.swf f
  2. Thanks Carl. I appreciate you telling me I'm all over the road. Believe it or not, that helps. To answer one question: I wanted to build a player where a user could play an array of files, or a single file. I'll let this job go and try to start with simple "Hello World" stuff.
  3. Well, using the "status" I'm able to determine that the loader is unloaded ... but does that also mean the assets are unloaded? And if unloaded, shouldn't the function that loads and plays the assets actually work on the second iteration? I am not able to upload a file because the smallest I can make it is 7MB. So, I guess I'll regurgitate the code here: import com.greensock.*; import com.greensock.easing.*; import com.greensock.plugins.*; import com.greensock.loading.*; import com.greensock.loading.display.*; import com.greensock.events.LoaderEvent; import com.greensock.events.*
  4. I tried LoaderMax.getLoader("mainQueue").dispose(); and while I didn't get an error, it didn't solve my problem (nor do I know if "unload" is what I want to do, for that matter). Does dispose also remove the loaded assets? Is there a way to list loaded assets? Using CS4 I can't see an obvious way to enumerate loaded assets ("List objects" and "List variables" does not). Thanks, Steve
  5. Thanks Carl. 1) In my above code, what is the name of my loader? 2) Once I've identified that name, I don't get the way to flush it. 3) What does my line queue.load(true); do? I assume from my code above the name is "mainQueue" (makes sense to me): LoaderMax.getLoader("mainQueue"); If that is the correct name ... what next? In another function ... do I do: LoaderMax.getLoader("mainQueue").dispose() ? I'm sure it is obvious ... but not to me. I don't come from an object oriented background, I come from a design background. It's like ... I need documentation to understand
  6. Let me refine, and ask "How I would reference the loader and content from a seperate function or listener?"; one that is not related to onComplete or onError, for example.
  7. Thank you in advance for reading. I want to get my head around LoaderMax, and to that end I want to manually destroy a loader and the content it loads. This loads an array of MP3s and plays them: var queue:LoaderMax; var sound:MP3Loader; var positionOfSong:int; var preloadCount:uint = 0; var curSoundIndex:int = -1; var mp3Array:Array = ["01.mp3", "02.mp3", "03.mp3" ]; initPreload(); function initPreload():void { queue = new LoaderMax({name:"mainQueue", onChildComplete:childCompleteHandler, onError:errorHandler, noCache:true, maxConnections:1, dispose:true}); for (var i:int = 0; i < m
  8. Greetings and thanks in advance for reading, I've built an MP3 player that *should* load an array and play it while displaying ID3 info. The array play uses transport buttons that perform play, pause, next, and previous functions flawlessly (not the individual file plays--they just play through) Also, will play an MP3 individually and display ID3 info. It works great great. Just fantastic. Where it fails is probably a logic failure on my part: Once the "Play All" buttons starts playing the array, if the user circumvents the list in order to play an individual file, it does so just fine
  9. During publishing of the SWF (or one of the SWFs imported into your SWF), if you have "include hidden layers" checked, then even hidden layers are exported.This could be what is displayed for you. This vexed me for weeks until I figured that out. in CS4: Publish settings --> Flash tab-->SWF section
  10. Thank you Carl. That was exactly it. Now, I will look into how those two statements differ.
  11. Thanks Carl. I used onError to see if anything was returned, and there were no errors returned (I left this debugging code in the FLA). I tried to attach a CS4 file that includes only the source FLA, and the SWF that is referenced in the AS in frame 2, but wasn't able to do so. "no file selected" after three minutes of trying to upload. No clue what that means as I did, of course, select a file to upload then clicked "upload". So I tried the advanced method to attach ... and my 32 MB file is too large? Okay ... http://giantsquid.us/flash.zip <-- a friend let me park it here. I t
  12. Greetings and thank you in advance for reading this, I built a two frame animation that works splendidly in the CS4 authoring environment (no error nor any output other than the "trace" returns), and when the SWF file is opened with a browser, but not when the authored HTML that references the SWF is opened by the browser. The problem is that once the animation of frame 1 completes, it goes back to frame 1's default set up. It's a two-frame because logically that made sense to me. I wanted to use SWFloader and noCache, and this was the way it laid itself out to me when I developed it.
  13. Carl, thank you SO much for the above code!! You and Jack are helping me to learn to fish. Happy New Year, Steve
×