A Flash Developer Resource Site

Page 2 of 6 FirstFirst 123456 LastLast
Results 21 to 40 of 110

Thread: Powerpoint in Swish presentation

  1. #21
    Ein wilder Mann sauvage's Avatar
    Join Date
    Oct 2002
    Location
    Weißesdorf
    Posts
    855
    yep! you heard that, Gina? you have two gallant knights all ready to charge, so move it, please

    p/s: so, what now?

  2. #22
    Member
    Join Date
    Dec 2002
    Location
    Surrey, UK
    Posts
    43
    you have both been most gallant so thanks to you both, I will hopefully retain my rather important client. As the company is new... I try and never say 'I can't' to their requests as I feel anything solvable.
    GPensri

  3. #23
    Member
    Join Date
    Dec 2002
    Location
    Surrey, UK
    Posts
    43
    although it works, can I ask how do I run it as a HTML page within swish just incase the client wants it this way... just a thought.
    GPensri

  4. #24
    Ein wilder Mann sauvage's Avatar
    Join Date
    Oct 2002
    Location
    Weißesdorf
    Posts
    855
    awrighty! you are most welcome, Gina. FYI, Brian is one of the really good -- and i mean bloody good -- guys here.

    let us know if we can be of any help, please.

    good luck!

  5. #25
    Ein wilder Mann sauvage's Avatar
    Join Date
    Oct 2002
    Location
    Weißesdorf
    Posts
    855
    i'm not sure if Brian is aware of your last post, so let me have a go at it.

    i think the best way is to have a pop-up window. that way, you can still go back to swish. let me get the intructions and post it here.

  6. #26
    Member
    Join Date
    Dec 2002
    Location
    Surrey, UK
    Posts
    43
    thanks sauvage... sorry to be a bother.

    gina
    GPensri

  7. #27
    Senior Member
    Join Date
    Jul 2002
    Location
    USA, NY
    Posts
    686
    Thanks sauvage, you are most kind....

    sauvage is a great guy!!!!!!!!!!!

    While he is digging up the code for a chromeless window...

    You can call out the page(s) individually or create almost a web site and link each html file to a link within one 'container' html file. You would assign a 'goto URL' to your button, then link that to your container file.
    ..--==Brian==--..
    There is no "Try". You either DO or you do NOT, DO.

  8. #28
    Ein wilder Mann sauvage's Avatar
    Join Date
    Oct 2002
    Location
    Weißesdorf
    Posts
    855
    no bother, Gina. we're here to help one another
    here it is --

    Create a button and add action onPress or onRelease as Javascript and insert the script below:
    link to open is your filename .html

    var url="filename .html";
    var targetWindow="newWindow";

    window.open(url, targetWindow,
    "scrollbars=no,
    location=yes,
    resizable=no,
    height=400, (put your size)
    width=600, (ditto)
    left=100, (put your distance)
    top=50"); (ditto)

    for additional things to add see below, seperate with ",":
    (put no instead of yes if you don't want them)
    toolbar=yes,
    location=yes,
    directories=yes,
    menubar=yes,
    scrollbars=yes,
    resizable=yes,
    status=yes,

    any question?

  9. #29
    Member
    Join Date
    Dec 2002
    Location
    Surrey, UK
    Posts
    43
    many thanks will give it a go and get back to you in about 10 mins

    gina
    GPensri

  10. #30
    Ein wilder Mann sauvage's Avatar
    Join Date
    Oct 2002
    Location
    Weißesdorf
    Posts
    855
    hey, Brian, thanks!
    Gina, for a chromeless window -

    MAKING A CHROMELESS WINDOW...

    This tutorial will show you how to create a chromeless window.
    A chromeless window differs from a regular pop-up window in that you can fully customize it to fit in with your site.

    1. Create a new, blank page. This page will hold the link to open your chromeless window.

    2. Add this code to your <head> tag:

    Code:
    <script src="chromeless_35.js"></script>
    <script language="javascript">
    // CREDITS:
    // Chromeless window script by Gabriel Suchowolski ( www.microbians.com )
    // Distributed with permission by Lissa ( www.lissaexplains.com )
    function openIT(u,W,H,X,Y,n,b,x,m,r) {
    var cU ='close_up.gif'
    var cO ='close_ovr.gif'
    var cL ='clock.gif'
    var mU ='min_up.gif'
    var mO ='min_ovr.gif'
    var xU ='max_up.gif'
    var xO ='max_ovr.gif'
    var rU ='res_up.gif'
    var rO ='res_ovr.gif'
    var tH ='<font face=verdana size=1> Window title</font>'
    var tW ='  window title'
    var wB ='#9966ff'
    var wBs ='#FFFFFF'
    var wBG ='#ffe0ff'
    var wBGs='#9966ff'
    var wNS ='toolbar=0,location=0,directories=0,status=0,menu bar=0,scrollbars=0,resiza ble=0'
    var fSO ='scrolling=no noresize'
    var brd =b||0;
    var max =x||false;
    var min =m||false;
    var res =r||true;
    var tsz =20;
    return chromeless(u,n,W,H,X,Y,cU,cO,cL,mU,mO,xU,xO,rU,rO,
    tH,tW,wB,wBs,wBG,wBGs,wNS,fSO,brd,max,min,res,tsz)
    }
    </script>

    3. Add this code to the <body> tag wherever you want the link to open your chromeless window to be:

    Code:
    <a href="#" onclick="mywindow=openIT('window.html',400,200,nul l,null,'mywindowname')"&g t;Open Chromeless</a>

    4. Change "window.html" to the url of the site to be displayed in your chromeless window. Change "400,200" to the width and height of your choice.

    5. Download the required files here, and upload them to your server, no changes are needed.

    To customise your chromeless window:

    wB = Border color.
    wBs = Border color on window drag.
    wBG = Background of the title bar.
    WBGs= Background of the title bar on window drag.
    var tH = Title of your window.

    To set an image as the link, simply replace "Open Chromeless" in the code from step 3 with the following code:

    Code:
    <img src="your image.gif" border="0">

  11. #31
    Ein wilder Mann sauvage's Avatar
    Join Date
    Oct 2002
    Location
    Weißesdorf
    Posts
    855
    golly gosh, this silly ninny forgot to upload the js.
    here it is --
    Attached Files Attached Files

  12. #32
    Senior Member
    Join Date
    Jul 2002
    Location
    USA, NY
    Posts
    686
    Hehehe.... It happens...
    ..--==Brian==--..
    There is no "Try". You either DO or you do NOT, DO.

  13. #33
    Ein wilder Mann sauvage's Avatar
    Join Date
    Oct 2002
    Location
    Weißesdorf
    Posts
    855
    he he he heeeeeee!

    hey, Brian, please don't go yet, ok? -- in case GPensri has questions beyond my ken.

    thanks, dear pal

  14. #34
    Member
    Join Date
    Dec 2002
    Location
    Surrey, UK
    Posts
    43
    hi guys

    I tried it and it opened the window but nothing came up, so i looked at the file name and it has mhtml so do i change the html to this other one?
    GPensri

  15. #35
    Senior Member
    Join Date
    Jul 2002
    Location
    USA, NY
    Posts
    686
    I'm here 'lurking'... Waiting to see how this action filled suspense drama plays out.... I STILL say it was the butler in the library with a knife!
    ..--==Brian==--..
    There is no "Try". You either DO or you do NOT, DO.

  16. #36
    Ein wilder Mann sauvage's Avatar
    Join Date
    Oct 2002
    Location
    Weißesdorf
    Posts
    855
    no, i think we change mhtml to html instead.

    and i think it's the head scrubbing woman with the cleaver hiding in the wine cellar hahahahahahahahahah!

    hey, Brian, what's'at m-s**t doing in there?

  17. #37
    Member
    Join Date
    Dec 2002
    Location
    Surrey, UK
    Posts
    43
    mhtml is the powerpoint file
    GPensri

  18. #38
    Ein wilder Mann sauvage's Avatar
    Join Date
    Oct 2002
    Location
    Weißesdorf
    Posts
    855
    hey, Brian, please answer this one, ok? ppt is your specialty.
    thanks, pal

  19. #39
    Senior Member
    Join Date
    Jul 2002
    Location
    USA, NY
    Posts
    686
    I have no idea why you are getting an mhtml as an extension, but, I would venture a guess that we can rename the extensions .html or call mhtml as the file extension you are calling out with the chromeless script...

    Though, I prefer the renaming the files. When you saved the presentation, did you save the entire presentation as html? And did it create a directory with html files in it? And what are the extensions of those files...htm or html or mhtml?
    ..--==Brian==--..
    There is no "Try". You either DO or you do NOT, DO.

  20. #40
    Senior Member
    Join Date
    Jul 2002
    Location
    USA, NY
    Posts
    686
    I just tested mine by creating a two page presentation and saving it as html. It created the 'master file' and all the supporting files under one directory with no problems. I checked the extensions of the files that were created and they are names either htm or html along with the supporting CSS and PNG and other files.....
    ..--==Brian==--..
    There is no "Try". You either DO or you do NOT, DO.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center