swf into dreamweaver

Discussion in 'The Logo Creator' started by F4bius, May 7, 2014.

  1. F4bius

    F4bius

    Messages:
    16
    Trophy Points:
    1
    Hi
    I don't know if this is a generic problem, I ask for help.
    When I have created a logo and export it in swf, when I try to put it into one html page of my site, created with dreamveawer, I have an error like show in attached file.

    thank you in advance

    f4bius
     

    Attached Files:

    • err.PNG
      err.PNG
      File size:
      17 KB
      Views:
      3
  2. gunsmoke

    gunsmoke

    Messages:
    949
    Trophy Points:
    63
    Gender:
    Male
    Don't really know how you're trying to 'put it into one HTML page', but to embed an SWF file is fairly easy. Try reading through this... http://www.w3schools.com/html/html_object.asp

    Keep in mind, SWF is a FLASH format. You need a FLASH player installed on your computer (Adobe or another) and folks with Apple devices will not be able to see your content. (Apple does not support FLASH).
     
    gcuneo2 likes this.
  3. gcuneo2

    gcuneo2

    Messages:
    1,265
    Trophy Points:
    113
    Gender:
    Male
    I never sleep.....

    This is straight from the adobe site....

    http://www.laughingbirdsoftware.com/forum/threads/swf-into-dreamweaver.12073/

    Insert a SWF file
    1. In the Design view of the Document window, place the insertion point where you want to insert the content, then do one of the following:
      • In the Common category of the Insert panel, select Media and click the SWF icon [​IMG].

      • Select Insert > Media > SWF.
    2. In the dialog box that appears, select a SWF file (.swf).
      A SWF file placeholder appears in the Document window.

      [​IMG]
      The placeholder has a tabbed blue outline. The tab indicates the type of asset (SWF file) and the ID of the SWF file. The tab also displays an eye icon. It acts as toggle between the SWF file and the download information users see when they don’t have the correct version of Flash Player.

    3. Save the file.
      Dreamweaver informs you that two dependent files, expressInstall.swf and swfobject_modified.js, are being saved to a Scripts folder in your site. Don’t forget to upload these files when you upload the SWF file to your web server. Browsers can’t display the SWF file properly unless you have also uploaded these dependent files.
     
  4. F4bius

    F4bius

    Messages:
    16
    Trophy Points:
    1
    OK...
    in Dreamveawer I drag and drop the swf files. All my other swf work perfectly...
    Only with this created from logo creator not work...
    Now I go to read your suggestion's link
    f4bius
     
  5. gcuneo2

    gcuneo2

    Messages:
    1,265
    Trophy Points:
    113
    Gender:
    Male
    1. open dreamweaver
    2. CREATE NEW HTML DOC or open one your working on.
    3. INSERT media FLASH SWF

    A menu will pop up and ask you for the file, select the one you to load AND LOAD IT.

    4. Once you select the SWF file A BIG GREY BOX WILL SHOW UP. You will be asked to give the swf a unique name.

    5. SELECT "LIVE" TO SEE THE IMAGE MOVING.
     
  6. F4bius

    F4bius

    Messages:
    16
    Trophy Points:
    1
    thanks..
    work...
    I dont understand why but is ok now. All other flash file are charged with drag and drop.
    there's a way to have transparent background? (now is black)
    thank you
     
  7. gunsmoke

    gunsmoke

    Messages:
    949
    Trophy Points:
    63
    Gender:
    Male
    From the same page gcuneo2 led you to, read through this . . .

    Edit Flash Player download information

    When you insert a SWF file in a page, Dreamweaver inserts code that detects whether the user has the correct version of Flash Player. If not, the page displays default alternative content that prompts the user to download the latest version. You can change this alternative content at any time.

    This procedure also applies to FLV files.
    Note: If a user does not have the required version but does have Flash Player 6.0 r65 or later, the browser displays a Flash Player express installer. If the user declines the express install, the page then displays the alternative content.
    1. In the Design view of the Document window, select the SWF file or FLV file.
    2. Click the eye icon in the tab of the SWF file or FLV file.
      [​IMG]You can also press Control + ] to switch to alternative content view. To return to SWF/FLV view, press Control + [ until all of the alternative content is selected. Then press Control + [ again.
    3. Edit the content just as you would edit any other content in Dreamweaver.
      Note: You cannot add SWF files or FLV files as alternative content.
    4. Click the eye icon again to return to the SWF (or FLV) file view.
    Preview SWF files in the Document window
    1. In the Document window, click the SWF file placeholder to select the content.
    2. In the Property inspector (Window > Properties), click the Play button. Click Stop to end the preview. You can also preview the SWF file in a browser by pressing F12.
      [​IMG]To preview all SWF files in a page, press Control+Alt+Shift+P (Windows) or Command+Option+Shift+P (Macintosh). All SWF files are set to Play.
    Set SWF file properties
    You can set properties for SWF files using the Property inspector. The properties are also applicable to Shockwave movies.

    [​IMG] Select a SWF file or a Shockwave movie and set the options in the Property inspector (Window > Properties). To see all properties, click the expander arrow in the lower-right corner of the Property inspector.
    ID
    Specifies a unique ID for the SWF file. Enter an ID in the unlabeled text box on the far left side of the Property inspector. As of Dreamweaver CS4, a unique ID is required.
    W and H
    Specify the width and height of the movie, in pixels.

    File
    Specifies the path to the SWF file or Shockwave file. Click the folder icon to browse to a file, or type a path.


    Src
    Specifies the path to the source document (the FLA file), when Dreamweaver and Flash are both installed on your computer. To edit a SWF file, update the movie’s source document.
    Bg
    Specifies a background color for the movie area. This color also appears while the movie is not playing (while loading and after playing).

    Edit
    Starts Flash to update a FLA file (a file created in the Flash authoring tool). This option is disabled if you do not have Flash installed on your computer.
    Class
    Lets you apply a CSS class to the movie.
    Loop
    Makes the movie play continuously. When Loop is not selected, the movie plays once and stops.
    Autoplay
    Automatically plays the movie when the page loads.
    V Space and H Space
    Specifies the number of pixels of white space above, below, and on both sides of the movie.
    Quality
    Controls anti-aliasing during playback of the movie. High settings improve the appearance of movies. However, at high settings movies require a faster processor to render correctly on the screen. Low favors speed over appearance, whereas High favors appearance over speed. Auto Low favors speed at first but improves appearance when possible. Auto High favors both qualities equally at first but later sacrifices appearance for speed if necessary.
    Scale
    Determines how the movie fits into the dimensions set in the width and height text boxes. The Default setting displays the entire movie.
    Align
    Determines how the movie is aligned on the page.

    Play
    Plays the movie in the Document window.
    Parameters
    Opens a dialog box for entering additional parameters to pass to the movie. The movie must be designed to receive these additional parameters.
     
  8. F4bius

    F4bius

    Messages:
    16
    Trophy Points:
    1
    Ok
    thank a lot.
    I don't know how can I do for the step below
    1. Edit the content just as you would edit any other content in Dreamweaver.
    I don't have flash (the editing software) for create and the modify is not possible, all are write in gray, not editable.
    I think this is my problem.

    Now I thank all for your precious help and exscuse me for my bad English.
    F4bius

    have a nice days
     
  9. gunsmoke

    gunsmoke

    Messages:
    949
    Trophy Points:
    63
    Gender:
    Male
    Your English is fine. We adapt pretty quick! :cowboyno:

    As far as editing the content, what they are talking about is after you put the code for the flash into the website( or however it is done in Dreamweaver ) You would need to load your HTML page into an HTML editor or a good text editor like Notepad++ Then you would scroll down till you see the code for the flash object (you could just do a search for the name of the flash file you inserted) and once you find that you add the wmode code. Just google 'using wmode in flash' and you'll probably get plenty of examples.

    Let us know if you still need more help.
     
  10. gcuneo2

    gcuneo2

    Messages:
    1,265
    Trophy Points:
    113
    Gender:
    Male
    Dreamweaver has the ability to let you edit any code. I don't know anything about the program, I use weebly for my website (which I need to update) I'm a drag and drop sort of guy. Below is what the code editing looks like in dreamweaver (I downloaded a trial version). I basically refuse to do anything with my website that isn't drag and drop, but I do have one page where I play with HTML stuff I copy from other web sites....


    dw.JPG
     
    gunsmoke likes this.
  11. F4bius

    F4bius

    Messages:
    16
    Trophy Points:
    1
    thank you
    dreamwer have a 3 point of view; pure html like you image, project , only visual stile and both for a complete control.

    great day to all from me.
    F4bius
     
    gcuneo2 likes this.

Share This Page