Jump to content
Search Community

vlambeat

Members
  • Posts

    7
  • Joined

  • Last visited

vlambeat's Achievements

0

Reputation

  1. Great, that worked... although I have to go and resize all my swfs because I just got used to work with that "scale content" option selected. Is there an easy way to do that? should I go and resize each .fla? Is the greensock code you are suggesting a way to load swfs without the UILoader? can I implemet this new code and scale the content to fit the area without distorting the swf? Thanks Carl, what a great and effective forum!!!
  2. I am attaching the 3 files I mentioned before, as you can see, the one with the preloader gets distrorted, even the circular preloader itself looks like an oval. I am using a UILoader component, for loading the external swfs. I have the feeling that the UILoader is the problem, but that's my guess, as you can see, I am new to AS code. Anyway, if you can help me out to find out how to implement a preloader i would appreciate it a lot! Thanks Test_Files.zip
  3. Ok, thanks Carl, I made a test with a simple square movieclip as a preloader and the swf does get distorted. I have prepared the very simple files you mentioned, its a main swf with to buttons, no 1 loads a normal swf which loads ok, No 2 loads the same swf with the preloader included... (I have just added the plug and play preloader on frame No 1 on the .fla) ....and it does get distorted. I don't know how to upload the files though! Can you help me out here please? Thanks a lot Carl!
  4. So, what would that happen? I just added the preloader to the 1st frame, it's a drag and drop preloader, and the reason I am posting this here is because it's made with greensock platform and it's a suggestion from the site. Is there a way to fix this issue? many thanks
  5. Thanks Carl, Hello, I just bought the preloader suggested on the link you gave me, which looks great, but now I am having a problem with my swf, because it gets distorted when it finnaly does load the content. I am using a main swf which loads the rest of the sections on a UILoader in the center, I want preloaders on each new section, so I added your preloader to the section (just one for now to test)... I am puzzled! Can you help me out please? this is the site: http://www.fhelguera.com/yoya2/Fotosyntesis%20-%20Final%20Run.html And the preloader you can find it going to the menu at the bottom left, and pressing Portafolio>Diseño Grafico (it’s in spanish)... As you can see, the rest of the site looks normal, but the one I used for implementing th preloader is huge and out of proportions. When I test the .fla alone, the swf works fine, but when test to load the .swf on the main.swf it gets distorted Thanks!
  6. Hello Community! I Just want to add a circular preloader to an existing swf, something similar as the one used for the LoaderMax Demo. Thank you for the advice V Lam Beat
  7. Hello, I am new to Greensock classes, and I am very happy with it. Please be patient with me. I am adding an mp3 player to a flash website, I am trying to do it very easy, with a combobox selector in order to choos from 5 or 6 music styles (I don't need the information of the artist, nor the song title etc.) and just on/off toggle button and probably a volume slider. very minimal; I want to use an XML file to reference all my mp3 files and I want to use mp3Loader. I chose the combobox so when I change to a different music style, the music fades out and the new one fades in. With the code I have written so far, I have named the music style options in the combobox and the combobox format, and I am usin mp3loader to load an external mp3, and a sound_mc movieclip to toggle the sound on/off with a hit button area. Any help? import com.greensock.*; import com.greensock.loading.*; import com.greensock.events.LoaderEvent; import com.greensock.plugins.*; //Inicicalize ComboBox stop(); combo.addItem( { label: "Ambient "} ); combo.addItem( { label: "Experimental "} ); combo.addItem( { label: "Relax "} ); var myFormat:TextFormat=new TextFormat() myFormat.size=12; myFormat.color=0xFFFFFF combo.textField.setStyle("textFormat",myFormat) combo.dropdown.setRendererStyle("textFormat",myFormat) ///////////////////////////////////////////////////////////////// TweenPlugin.activate([VolumePlugin]); import flash.events.MouseEvent; sound_mc.alpha = 0; var sound:MP3Loader = new MP3Loader("audio/Relax.mp3", {onComplete:init, volume:0, autoPlay:true, repeat:-1}); sound.load(); var soundOn:Boolean = false; //wait for the sound to load function init(e:LoaderEvent):void { TweenLite.to(sound_mc, .5, {alpha:1}); hit_sound_btn.addEventListener(MouseEvent.CLICK, toggleSound); } function toggleSound(e:MouseEvent):void { //switcheroo soundOn = ! soundOn; var myValue:int = int(soundOn) // converts true to 1, false to 0 TweenLite.to(sound, 1.5, {volume:myValue}); sound_mc.gotoAndStop(myValue + 1); // frame numbers start at 1 }
×
×
  • Create New...