Jump to content


  • Posts

  • Joined

  • Last visited

mustaffa's Achievements

  • Week One Done
  • One Month Later
  • One Year In

Recent Badges



  1. Hello, I have a problem with TweenMax. There is a horizontally centered image in top of the page. When tweening starts with the code below the image jumps to the top left and moves to the destination from there. I tried to put static left and top values instead of offset values but it did not solve the problem. This behavior happens with Chrome and Safari. Firefox runs the code as expected. You can see the demo page here. logo_tl.appendMultiple ([ TweenMax.to(kapkare_logo,3,{css:{left:monitor_offset.left+monitor_width*1.4, top:monitor_offset.top+monitor_height/2}}), TweenMax.to(kapkare_logo,3,{css:{rotation:1440}}) ]); thanks in advance all the answers. cheers.
  2. Hi there, I have a problem with playing mp3. I need to play it forever and used repeat:-1. It works well unless it is paused. When the sound is unpaused it continues as normal but when it finishes it does not start from the beginning, starts from where it was paused. It looks strange and I could not figure out why. Here is my code: import com.greensock.loading.*; import com.greensock.events.LoaderEvent; var sound:MP3Loader = new MP3Loader("music.mp3", {name:"audio", autoPlay:true, repeat:-1, estimatedBytes:400000}); sound.load(); // function to toggle soundpaused state function btn_SesAcik_mc_MouseClickHandler(event:MouseEvent):void { sound.soundPaused = !sound.soundPaused; } I appreciate if you could help. cheers mustafa.
  3. Hello, I have several timelines. Each one displays some content on the web page. To switch one content to another (depending on selection from menu) I reverse the currect content timeline and play the selected one. The important point is tweening of some mc's exist in every timeline. I think because of this tweenings of such mc's are not always done properly. For example while reversing timeline 1 alpha of a_mc is tweened to zero and at the same time playing timeline 2 is trying to tween same object alpha to 1. As a result sometimes the mc fades away and never come back. I tried to use overwrite manager but did not help. I also do not prefer putting delay to timeline 2. Any ideas? thanks mustafa.
  4. Perfect! That solved my question 1 and 2. Thank you. Any idea about item#3 ? 3. How to make sub swf disappear with fading effect with code at the parent.
  5. I have found a solution to my question. I have edited the symbol as placing its registration point (the + sign) to its center. But now I wonder how to do that precisely with AS3 or Twinmax offers a solution for that?
  6. Thanks but I was imagining something different. Your code rotating the mc from upper left corner but is it possible to make it from center? I have read the documentation but could not find anything about it. Sorry if I am asking for something already documented or too simple. mustafa.
  7. Hello, I could not manage below things myself and need help please. 1. I am getting error 1009 when loading a sub swf with the code below. The sub swf works standalone without any error. Error #1009: Cannot access a property or method of a null object reference. at kucaklamak_fla::MainTimeline/frame1() var loader:SWFLoader = new SWFLoader("kucaklamak-2-4.swf", {name:"mainSWF", container:this, x:0, y:0, estimatedBytes:9000}); loader.load(); 2. My sub swf has its own self loader circle progress display and it works well when run it standalone. But when I load it from a parent with the code above the progress display shows only zero and than disappears. 3. How to make sub swf disappear with fading effect with code at the parent. Thank you.
  8. Hello, How to spin an mc? thanks mustafa.
  9. Hello, Sorry but I could not success trying to create a selfloader with white circle progress display and need your help. I am using AS3, can you please let me have an example code for it. thanks.