Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2007
    Posts
    7

    need help with swf

    Can anybody help?
    I added swf to my project, add folowing code to the "On Show" page:

    Flash.Load("Flash1", "AutoPlay\\Flash\\myfile.swf", true, true);
    Flash.Play("Flash1");

    But when built preview have just blank screen. When right click it seems ike there is a flash object there, but it doesn't play.
    thanks

  2. #2
    Join Date
    Aug 2003
    Posts
    2,427
    When you add a flash object you specify the flash file and the 'Autostart' and 'Loop' attributes default to true. What happens if you take the code out of the 'On Show' and just run a preview?

    Presumably your swf plays OK standalone i.e. are you sure that there's nothing wrong with it?

  3. #3
    Join Date
    Oct 2007
    Posts
    7
    I built the project and now it works fine (I had flash file on the network, and as soon as I moved it to my computer it's starts playing). Anyway.... The now problem is: burned CD plays flash on my computer, but doesn't work on any other machine. I checked CD on all 5 office computers with latest flash installed - everything works fine (audio, buttons, etc), but Flash doesn't even starts. Please advise.
    Dmtiriy

  4. #4
    Join Date
    Aug 2003
    Posts
    2,427
    The first thing I would suggest is setting the project dependencies for flash (version whatever is appropriate) and see what happens.

    On a machine where the flash file doesn't play, close the Autoplay application down and then explore the CD and go to the flash folder. Double click the flash file and see if it plays that way.

    Have you checked the "Auto start" property for the flash object?

    I'm not sure what else to suggest.

  5. #5
    Join Date
    Dec 2007
    Location
    Netherlands
    Posts
    81
    Did you try a fresh rebuild? Rename the flash file, import it again, be sure to rename the flash object in the object tree on the left too to something you recognize and check if eeverything is linking to the right file. Then try again.
    I had this once when I was sure I did everything right. Turned out I had an emtpy Flash1 object but the real flash object was named Flash2. Since then I rename the files just to be sure I am linking to the right stuff.

    It's really a very simple, and just too obvious solution, but heck, if it helps...

    Loes

Similar Threads

  1. dll to overlay swf over video(VLC)
    By dynamitemedia in forum AutoPlay Media Studio 7.5
    Replies: 10
    Last Post: 02-13-2008, 03:59 PM
  2. Trouble with Flash Object and SWF video files
    By Gerri in forum AutoPlay Media Studio 6.0
    Replies: 4
    Last Post: 09-18-2007, 03:36 PM
  3. Transparent SWF splash screen
    By Yuya in forum AutoPlay Media Studio 5.0
    Replies: 6
    Last Post: 03-01-2004, 08:23 PM
  4. Using Flash when SWF needs to load files
    By Lee_Benson in forum AutoPlay Media Studio 5.0
    Replies: 5
    Last Post: 12-01-2003, 08:02 AM
  5. SWF stops and no sound
    By Raymond in forum AutoPlay Media Studio 4.0
    Replies: 6
    Last Post: 11-02-2003, 05:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts