Little help on Flash 100% width

Hi to all,
I am new in actionscrip.
I have developed this code for variable width gallery.
But I want the Image to be changed proportional with respect
to window, No Stretching will be happen while dragging the window.
Below code belongs to that one.
Can any one Please Help me to solve this Problme.

Ok. It's still all little tough to be completely specific
without seeing your layout, but it sounds like you just need to
adjust your picture based on your design-time layout. For example:
//values before any resize takes place, ie design-time
//this assumes that picture is your container
var iX:Number = picture._x/Stage.width //initial x ratio
var iY:Number = picture._y/Stage._height //initial y ratio
var iW:Number = picture._width/Stage.width //inital width
ratio
var iH:Number = picture._height/Stage._height //inital height
ratio
function expandImage():Void{
picture._x = iX*Stage.width
picture._y = iY*Stage.height
picture._width = iW*Stage.width
picture._height = iH*Stage.height
This is just meant to be a general example, and the acualt
implementation will of course depend on what you want things to
look like. This is jsut meant to show how you would keep the
container mc in the same realtive postion and at the same relative
size as the stage is resized. Hope this helps...

Similar Messages

  • Full-browser window flash, 100% width/height not working

    Hello.
    I'm pretty sure this issue has been discussed before but I
    couldn't find a suitable answer.
    I need my flash website to fill the whole browser window. In
    the 1st frame of my .fla file I used:
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;
    In the Publish Settings, I used 100% width and height and
    Default scale mode.
    I even tried adding CSS styles to the .html file, defining
    padding and margin as 0px and applying them both to the body tag
    and to a custom class that was later applied to the object tag that
    embeds the .swf file on the html.
    Still, the latest versions of Firefox, Safari and Opera (all
    on Mac OSX Leopard) still display a border around the website.
    What can I do? Thanks in advance.

    Thank you for posting.
    I've created a small video to show how to create a 100% width rectangle element. Please refer to the following Link : http://screencasteu.worldsecuresystems.com/aish/2013-03-21_1414.swf
    Hope this helps.
    Regards,
    Aishvarya Raj Rastogi

  • Need a little help with FLASH

    Hi every one
    I am a very new to using flash 8 and I need som help.
    I know that it mifgt be a simple for some of you but for me it is a chlange...
    I need to create a page with 6 buttons
    I can create a button no problem and i can incer scrupt and it will open url
    However if I have 4-5 buttons  every thing work  up , down over etc but script do not work so link do not oupe page..
    I am sure it is a simple soluton to this issue
    Please HELP
    I  like to attach .fla file to show what I was doing but it seem that is not possible.....
    Any way Please help if u can
    Sincerely
    L.

    Thanx
    I had try to uploaded samplle .fla file however i could not found the way of doin it...
    However in this post it is at the buttom of the text  box......
    Here is ths sample button file, however thisis not what reat will be.
    Project  wil have a art work split in 8 sements six of then will akc as a a buttons with over and down efferct
    the button name and function will be shown as you mouse over the segment...
    in the  sample i just placed 4 buttons  2 and 2 in one I am working on is  2 colomn of 3 segments
    I hope this can help.. to get understanding what i am trying to do..
    Thanx again for you respond
    Oh  .fla has script I use ( and it is not working on multy buttons only on on button)
    I colud not upload .fla file  here is script i use for ever button
    I had try to gave numerical identety to very button
    like this:
    button1
    myButton.onRelease = function(){
    getURL('http://www.aol.com');
    Button2
    myButton1.onRelease = function(){
    getURL('http://www.aol.com');
    and so on 4 buttons in 2 rows... see file
    Lev..
    Message was edited by: Levsky

  • Fullscreen published in flash - htm 100%  width and height file is too big

    Hello everyone
    I need some help to create a fullcreen flash animation inside
    dreamweaver.
    What I did was to create a html file published in flash 100%
    width and height.
    It worked well on my explorer browser, but the size of the
    file is 995 k and this would be my index.
    When I publish on my provider the file doesn't open, probably
    is too big as an index, i don't know.
    Is there anyone there that could help me on that one?
    Thank you
    This is the code on Dreamweaver html
    <HTML>
    <HEAD>
    <meta http-equiv=Content-Type content="text/html;
    charset=ISO-8859-1">
    <TITLE>back_men</TITLE>
    </HEAD>
    <BODY bgcolor="#262626">
    <!-- URL's used in the movie-->
    <!-- text used in the movie-->
    11cf-96B8-444553540000"
    codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
    WIDTH="100%" HEIGHT="100%" id="back_men" ALIGN="">
    <PARAM NAME=movie
    VALUE="file:///C|/betoko_webfiles/flash_files/betoko/back_men.swf">
    <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor
    VALUE=#262626> <EMBED
    src="file:///C|/betoko_webfiles/flash_files/betoko/back_men.swf"
    quality=high bgcolor=#262626 WIDTH="100%" HEIGHT="100%"
    NAME="back_men" ALIGN=""
    TYPE="application/x-shockwave-flash" PLUGINSPAGE="
    http://www.macromedia.com/go/getflashplayer"></EMBED>
    </OBJECT>
    </BODY>
    </HTML>
    <script type="text/javascript"
    src="fixit.js"></script>

    Well, firstly you have > 60 minutes of video, therefore, you should not use the 60 minute preset. Since you have 80 minutes of video, you're probably better off using the 90 minute preset.
    Secondly, the presets assume that you are compressing your audio to AC3 with A.pack or Compressor 2 (depending on which version of DVDSP you're using). Uncompressed audio takes up lots of disc space and bandwidth.
    Thirdly, the difference between the measured size in the Finder and the size in DVDSP is the difference between true gigabytes (how the Finder measures things) and billions of bytes (how DVDSP measures things). When you Get Info in the Finder, look at the number following the file size in GB... it's a larger number that's so many billions of bytes. This larger number should agree with the number you see in DVDSP. See the DVD FAQ for a discussion of this issue.

  • Insert 100% width flash banner in HTML

    Hi all,
    i am trying to insert a 100% width flash banner in an html
    page. The problem i am facing is that i am inserting the banner
    inside a div which has some margin in it. This is effecting the
    percentage size of the flash banner. How can i display the flash
    banner in that div without the margin width effecting the flash
    banner size.
    (01) - <div style="margin:0px;"> <object
    classid="somevalues"></object>
    The size of the flash banner is perfect and when the window
    is resized the flash banner fills in perfectly with the div tag and
    the retains its width and height
    (02) - <div style="margin:50px;"><object
    classid="somevalues"></object>
    The flash banner gets effect and the width is effected.
    Please help....

    > BUT if I try to insert a Flash movie/banner into the
    template - then it
    > does not appear of ANY of the site files.
    Because of the active content .js fix, when you insert a .swf
    file into a
    template, you must use a Site Root relative path for it.
    Open the .dwt template file.
    Double-click on the .swf in design view- the "browse to file"
    dialog box
    should come up showing the currently selected file.
    look in the bottom of that dialog box for the pulldown to
    change from
    document relative path to site root relative path. Change it
    to site root.
    click okay and save the file, and let changes propagate.
    does it show in the child files now?
    [note- It may still not show during local preview because
    site root relative
    paths in javascript will not make any sense during local
    preview- they
    should work fine on the remote host if the site has it's own
    domain name
    though]
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Need help for flash builder

    i need help for flash builder 4 and papervison 3d. I need to create a slider with it ranges of value from 10 to 50 to adjust the camera values for the camera.fov and also need to create it for the yaw of the object from 0 to 360. I try to look for any slider event and classes in this program but cant find any, btw, i need to use the AS only project file.
    here is my codes:
    can you please tell me how i should modify the codes?
    package
        import flash.display.BitmapData;
        import flash.display.Sprite;
        import flash.events.Event;
        import org.papervision3d.materials.BitmapFileMaterial;
        import org.papervision3d.materials.BitmapMaterial;
        import org.papervision3d.objects.primitives.Sphere;
        import org.papervision3d.view.BasicView;
        [SWF (width="800", height="600", backgroundColor="0x000000",frameRate="30")]
        public class EarthBitmap extends BasicView
            private var sphere:Sphere;
            public function EarthBitmap()
                super(800 , 600);
                var earthmaterial:BitmapFileMaterial = new BitmapFileMaterial("../assets/Earth.jpg");
                sphere = new Sphere(earthmaterial,100,20,18);
                camera.fov = 25;
                scene.addChild(sphere);
                addEventListener(Event.ENTER_FRAME,rotateSphere);
            public function rotateSphere(evt:Event):void
                sphere.yaw(0.2);
                singleRender();

    Turn the click handler into a full on separate function. Then store all the views in an array and use Math.rand() to randomly choose one.
    Something like this:
    <fx:Script>
         <![CDATA[
              var questionsArray:Array = {question2,question3,question5,questionRed,questionGeography};
              function buttonClickHandler(event:MouseEvent){
                   var randomProblem:int = Math.floor(Math.random()*(questionsArray.length));     //generates a random integer between 0 and the total number of questions in the array (arrays are 0-based)
                   navigator.pushView(questionsArray[randomProblem]);
         ]]>
    </fx:Script>
    <s:Button id="randomProblemButton" label="Next Problem" click="buttonClickHandler(event)" />
    Haven't tested that, but something along that line should work

  • SWF at 100 % width and proportional height

    I have a SWF that I would like to use in an XHTML 1.0 Strict document.
    My need is that the flash must:
    - Be 100% width
    - Grow / shrink proportionally in height (depending on width)
    - The flash may not be cropped or distorted
    - I must be able to to put a div just before the flash
    - I must be able to place a div right after the flash
    The flash should behave just as if you pasted below image in an HTML file:
    <img
    style ="
    width: 100%;
    min-width:800px;
    min-height:280px;
    height: auto; "src="xxxx"
    alt ="-"/>
    I need it to show a dias show (SWF), where the size changes with the browser window size.
    If some someone can help, I would be very happy :-)

    Here is an older post that has examples of various scaling:
    Here are examples of different scaling parameters available in the Publish settings. You can also add these parameters directly in the html (<param name="scale" value="noscale"). All the examples replace the actual Flash dimensions with 100% for both width and height (width="100%" height="100%"). These examples use the old <object> and <embed> to illustrate the different ways to scale Flash. Once you understand how it works I’d recommend that you use swfobject to place the Flash in your final project.
    View the source code for each page to see the full code.
    http://www.cidigitalmedia.com/tutorials/scale/exact_fit.html
    "exactFit" scales the file to fit exactly within the confines of the screen, irregardless if the movie becomes consequently distorted. The original aspect ratio is not maintained. So round things are not round and squares are not square.
    http://www.cidigitalmedia.com/tutorials/scale/noScale.html
    "noScale" is the default setting, and causes the movie to be displayed at the originally designed dimensions.
    http://www.cidigitalmedia.com/tutorials/scale/no_border.html
    "noBorder" causes the movie to be scaled to what ever dimensions are needed to have no border surrounding the movie within the player, which consequently could result in some of the movie being cut off from view. In other words, the movie will maintain the original aspect ratio and will fill the screen completely. But if the movie has to be streched wider to fill both sides of the screen, it will also stretch taller, but then some of the top and the bottom of the movie may be cut off from view.
    http://www.cidigitalmedia.com/tutorials/scale/show_all.html
    "showAll" scales the movie to the size of the screen (which could cause pixelation if the file contains raster information), the difference between showAll and exactFit is that showAll mantains initial movie size proportions. Because it maintains the original aspect ratio, there can be space to the sides or the top and bottom. But everything always shows and they are not distorted. But notice the photo in the center, it becomes pixilated at larger screen resolutions.
    The trickiest part of trying to go full screen is that it’s difficult to make the Flash wider without making it taller also, that is, to maintain the correct proportions or aspect ratio of everything on the stage. These methods are just simple scaling accomplished with html. There are also methods to dynamically scale the stage and it’s elements using Actionscript… but that’s a much more complex undertaking.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    Adninjastrator

  • Need a little help new to mac

    Need a little help I'm new to Mac.. i have had my ibook for over a year now and i like it a lot, but some times my usb post dies on my for a couple days maybe weeks. Ill have my ipod connected and when i go to plug in a flash drive. It doesn't detect my ipod anymore and my usb port don't work. it says that they were "removed improperly" and now they are not working again..i have tried to reinstall the whole os again and that doesn't work i don't have the hardware test disk so i don't know what could be the problem i know its not the logic board is there any test i can do to it to find out the problem its an ibook late 2001... there is no reset button on it. i tried to hold in the space bar and now when i boot up i get prompt to this screen that shows the world and then a folder with a ? mark but then after a few sec it boots right up im a mess need some help

    +it says that they were "removed improperly"+
    You have to go to the iPod's icon on your computer (or the flash drive's icon), select it and eject it there before removing it. Otherwise, data can be corrupted and/or lost. Repeatedly removing it without ejecting it from the desktop can cause it not to be recognized any longer.
    If your iBook is a "late 2001" model. It should have a reset button. Check out the chart here to make sure which model iBook you have:
    http://support.apple.com/kb/HT1772?viewlocale=en_US
    +i get prompt to this screen that shows the world and then a folder with a ? mark but then after a few sec it boots right up+
    It's trying to find a network volume from which to boot.
    Once it's booted up, go to System Preferences > Startup Disk, and select your Mac OS X startup volume. Then close System Preferences. The next time you start up, it should start up without looking for a network volume.

  • OBIEE 11g - 100% width

    Hi all,
    In OBIEE 10g it was possible to use the very neat 100% width on e.g. tables/pivots, but in OBIEE 11g it seems like this function is not working anymore. Which is very bad for the graphical user interface. It just looks a lot better when the tables are filling up the screen when using the 100% width option. (Which you set in the Formatting area of the table/pivot).
    Is his something Oracle has "forgot" to bring further from 10g to 11g or am I missing out something here??
    Another thing which also is really annoying is that it's not possible to open the log (the SQL Query log!!) in a new window. I use this a lot when building the BI Server, to make sure the BI server is acting as I want. Any workarounds here?
    Any help appreciated.

    I'm getting the Invalid Number Format when the Indent (Left Padding) on the Style is populated with something like 10px. When a left padding value is set, I cannot set a numeric format for this column.
    If I remove the 10px left padding, go back to the Data Format tab, set a format and click OK, it keeps the new format as well as the 10px that I removed. But you have to remove the 10px every time you want to change the data format.
    1. Open Column Properties
    2. Kill the 10px
    3. Change the data format
    4. Click OK. The 10px padding is still observed in the results, and is still present if you come back in to Column Properties.
    To change the data format again, I have to repeat all 4 steps.
    I just tested all six fields in the Additional Formatting Options section. They all cause this same behavior. So the problem isn't the use of 100% in the width field. The problem is the use of any value in any field in the Additional Formatting Options section. Bug. I've reported it.

  • 100% Width Slideshow Not Displaying Images Correctly In Phone Version...

    Hi all... Again.
    2nd issue encountered tonight since working on the mobile version of my current project. Having copied, pasted and resized the 100% width slideshow from the homepage of my Desktop version to my Phone version and after having applied different resolution images and published successfully, I made some edits to a different page (the main "About" page, nothing to do with the Homepage) and published only to find that the images in the slideshow are now not displaying correctly...
    After the first (of eight) image, it seems to skip the next one entirely and apply the text for the 2nd image to the 3rd image, the text for the 3rd image to the 4th image and so on... Additional to that, it seems to also randomly use the Desktop resolution images for four of the images... WHY?!
    I made NO changes to the slideshow since the last publish so WHY has it changed?
    I've tried re-applying the correct images and re-uploading; no change. I've tried doing a full-upload; no change. I've tried closing down Muse and trying again; no change. My only option left really is to either update to the October 27th edition of Muse (which I was deliberately holding off on, until I completed this project, which aside from the mobile version is done!), or to revert back to the previous version of Muse in the hopes either of these will resolve the issue. Only problem with that is I've started using the text sync features and the new contact form features (such as ReCaptcha, which is a pain in and of itself if you want to use two forms on one page!! Heaven forbid!)... So I'd really rather not have to revert back but I also don't really want to risk screwing anything up further with the latest update, as has happened on more than one occasion for me when in the middle - or near the end - of projects!
    Is anyone else encountering this? Anyone able to replicate it? Anyone know how to fix it? I'm really reluctant to continue on with the Phone version of this project until I know I won't keep encountering this sort of thing...
    Any help would be appreciated.
    Thanks.

    In the words of Gomer Pyle, "Well Golly!"
    Thanks. lol

  • 100% width items doesn't display correctly on iOS

    On this thread "
    New Features now available in Adobe Muse
    http://forums.adobe.com/message/4636052
    It states:
    "The display of 100% width items on iOS devices is now enabled."
    I can not get this to work. Tested my site on iPad, Android and iPhone.
    Full width items do not expand.
    The black background in the header is cut off.
    How do I correct this.

    Hi Andrew,
    Here is a link: http://www.brandtimmigration.com
    My page width is the default 960 so I am using the viewport=1160 on the home page only:
    <meta name="viewport" content="width="1160">
    It loads correctly in portrait initially on iOS. If you resize the page or adjust the view to landscape you experience my problem. Here is a screenshot:
    http://cl.ly/image/0B2f0x0D021T
    Thanks in advance for your help.

  • 100% Width Not Working on Some Mobile Page

    Hello,
    I have encountered an issue that I cannot diagnose. I am building a mobile site in Muse (the desktop site is already completed), and on all of the pages, there are images that span 100% width. However, on some of those pages, there is a gap along the right hand side between the edge of the image and the edge of the browser window. I unfortunately only have access to Android devices, and it is doing this on Chrome, Chrome Beta, and the default Android Browser. I have tested it using the device emulation features in the Chrome developer tools on desktop, and the issue is there for all devices.
    EDIT: It does the same on iOS devices (iPhone)
    I have set up my site at a temporary business catalyst URL at: http://mobilewidthissue.businesscatalyst.com/index.html
    The issue is appearing on the pages titled 'live' and 'care', but the images and rectangles are great on the 'plan' page. I did notice that those pages (live and care) have the same master, while the other (the plan page) has a different master. However, in an attempt to solve the issue, I tried making 'live' and 'care' have the same master as the 'plan' page, and the issue still existed.
    Again, this issue is ONLY ON MOBILE. The desktop site is completed, so please do not evaluate that.
    I am open to sending my .muse file to an Adobe employee (in fact, I hope this happens, I have spent too long trying to solve this).
    Thanks for your help!

    Hello,
    I have encountered an issue that I cannot diagnose. I am building a mobile site in Muse (the desktop site is already completed), and on all of the pages, there are images that span 100% width. However, on some of those pages, there is a gap along the right hand side between the edge of the image and the edge of the browser window. I unfortunately only have access to Android devices, and it is doing this on Chrome, Chrome Beta, and the default Android Browser. I have tested it using the device emulation features in the Chrome developer tools on desktop, and the issue is there for all devices.
    EDIT: It does the same on iOS devices (iPhone)
    I have set up my site at a temporary business catalyst URL at: http://mobilewidthissue.businesscatalyst.com/index.html
    The issue is appearing on the pages titled 'live' and 'care', but the images and rectangles are great on the 'plan' page. I did notice that those pages (live and care) have the same master, while the other (the plan page) has a different master. However, in an attempt to solve the issue, I tried making 'live' and 'care' have the same master as the 'plan' page, and the issue still existed.
    Again, this issue is ONLY ON MOBILE. The desktop site is completed, so please do not evaluate that.
    I am open to sending my .muse file to an Adobe employee (in fact, I hope this happens, I have spent too long trying to solve this).
    Thanks for your help!

  • Captivate 8 responsive designs: only one 100% width object per slide?

    I've been customizing some responsive themes to use two or more 100% width objects. As I work with the project, I find that some of these objects fall short of the right edge at some break points or, more commonly, at intermediate browser widths between breakpoints. One object (a PNG used as a branded header) started slipping off to the right, leaving a big gap at the left, after I worked with the file for several hours.
    I've been putting this behaviour down to file corruption, but I'm now seeing the right-side gapping even with a fresh new file built on the White theme that has only one slide with three lines of text.
    Looking closer at the themes, I can see that none of them have more than a single 100% width object. Is this simply a coincidence, or does this reflect a real limitation in HTML 5 output from Captivate?
    Should I adapt my themes to use other objects at sub-100% widths, where a little gap on one side or the other won't make much of a difference? In short, should I simply avoid putting more than one object per slide flush with any of the edges?

    Replying to my own question ...
    Has no one else seen this? Is this a known bug?

  • Little help please with forwarding traffic to proxy server!

    hi all, little help please with this error message
    i got this when i ran my code and requested only the home page of the google at my client side !!
    GET / HTTP/1.1
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
    Accept-Language: en-us
    UA-CPU: x86
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.2; .NET CLR 2.0.50727)
    Host: www.google.com
    Connection: Keep-Alive
    Cookie: PREF=ID=a21457942a93fc67:TB=2:TM=1212883502:LM=1213187620:GM=1:S=H1BYeDQt9622ONKF
    HTTP/1.0 200 OK
    Cache-Control: private, max-age=0
    Date: Fri, 20 Jun 2008 22:43:15 GMT
    Expires: -1
    Content-Type: text/html; charset=UTF-8
    Content-Encoding: gzip
    Server: gws
    Content-Length: 2649
    X-Cache: MISS from linux-e6p8
    X-Cache-Lookup: MISS from linux-e6p8:3128
    Via: 1.0
    Connection: keep-alive
    GET /8SE/11?MI=32d919696b43409cb90ec369fe7aab75&LV=3.1.0.146&AG=T14050&IS=0000&TE=1&TV=tmen-us%7Cts20080620224324%7Crf0%7Csq38%7Cwi133526%7Ceuhttp%3A%2F%2Fwww.google.com%2F HTTP/1.1
    User-Agent: MSN_SL/3.1 Microsoft-Windows/5.1
    Host: g.ceipmsn.com
    HTTP/1.0 403 Forbidden
    Server: squid/2.6.STABLE5
    Date: Sat, 21 Jun 2008 01:46:26 GMT
    Content-Type: text/html
    Content-Length: 1066
    Expires: Sat, 21 Jun 2008 01:46:26 GMT
    X-Squid-Error: ERR_ACCESS_DENIED 0
    X-Cache: MISS from linux-e6p8
    X-Cache-Lookup: NONE from linux-e6p8:3128
    Via: 1.0
    Connection: close
    java.net.SocketException: Broken pipe // this is the error message
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:115)
    at java.io.DataOutputStream.writeBytes(DataOutputStream.java:259)
    at SimpleHttpHandler.run(Test77.java:61)
    at java.lang.Thread.run(Thread.java:595)
    at Test77.main(Test77.java:13)

    please could just tell me what is wrong with my code ! this is the last idea in my G.p and am havin difficulties with that cuz this is the first time dealin with java :( the purpose of my code to forward the http traffic from client to Squid server ( proxy server ) then forward the response from squid server to the clients !
    thanx a lot,
    this is my code :
    import java.io.*;
    import java.net.*;
    public class Test7 {
    public static void main(String[] args) {
    try {
    ServerSocket serverSocket = new ServerSocket(1416);
    while(true){
    System.out.println("Waiting for request");
    Socket socket = serverSocket.accept();
    new Thread(new SimpleHttpHandler(socket)).run();
    socket.close();
    catch (Exception e) {
    e.printStackTrace();
    class SimpleHttpHandler implements Runnable{
    private final static String CLRF = "\r\n";
    private Socket client;
    private DataOutputStream writer;
    private DataOutputStream writer2;
    private BufferedReader reader;
    private BufferedReader reader2;
    public SimpleHttpHandler(Socket client){
    this.client = client;
    public void run(){
    try{
    this.reader = new BufferedReader(
    new InputStreamReader(
    this.client.getInputStream()
    InetAddress ipp=InetAddress.getByName("192.168.6.29"); \\ my squid server
    System.out.println(ipp);
    StringBuffer buffer = new StringBuffer();
    Socket ss=new Socket(ipp,3128);
    this.writer= new DataOutputStream(ss.getOutputStream());
    writer.writeBytes(this.read());
    this.reader2 = new BufferedReader(
    new InputStreamReader(
    ss.getInputStream()
    this.writer2= new DataOutputStream(this.client.getOutputStream());
    writer2.writeBytes(this.read2());
    this.writer2.close();
    this.writer.close();
    this.reader.close();
    this.reader2.close();
    this.client.close();
    catch(Exception e){
    e.printStackTrace();
    private String read() throws IOException{
    String in = "";
    StringBuffer buffer = new StringBuffer();
    while(!(in = this.reader.readLine()).trim().equals("")){
    buffer.append(in + "\n");
    buffer.append(in + "\n");
    System.out.println(buffer.toString());
    return buffer.toString();
    private String read2() throws IOException{
    String in = "";
    StringBuffer buffer = new StringBuffer();
    while(!(in = this.reader2.readLine()).trim().equals("")){
    buffer.append(in + "\n");
    System.out.println(buffer.toString());
    return buffer.toString();
    Edited by: Tareq85 on Jun 20, 2008 5:22 PM

  • How do I make my webpage 100% width on any desktop resolution?

    Hi,
    I designed a website mockup on Photoshop with the dimensions of W: 1280 x H: 2464 but when placing the JPG file on the empty homepage
    to see how it would look and fit, it wasn't taking up the whole screen and instead was centre and there was white background left and right.
    I'm viewing this on my desktop thats 1920x1080.
    I'm new to Muse so I'm not sure what is the best dimension settings to choose for a website that would work great on almost any desktop.
    An exmple of the style of website I want to create is the Nestea website
    For the header and footer of my website I have a huge image instead of a solid colour.
    I know the images have to be really large so they don't get stretched out and loose quality but
    if someone could tell me the dimensions and settings to put when creating a new website so that
    I could re-mockup the website with the same dimensions and that if I placed the JPG file to see how it
    would look, that it would fit edge to edge and not loose any quality.
    Thanks

    Hi,
    You may find the below resources helpful in getting you started with a flexible width site in Muse similar to the example you provided.
    http://tv.adobe.com/watch/muse-feature-tour/muse-design-for-flexible-browser-width
    https://helpx.adobe.com/muse/how-to/add-100-width-slideshow.html
    http://helpx.adobe.com/muse/using/using-fill-browser-fill-options.html
    http://tv.adobe.com/watch/learn-adobe-muse-cc/adding-scroll-effects/
    http://helpx.adobe.com/muse/using/scroll-effects-opacity-slideshow-animate.html
    Cheers,
    Vikas

Maybe you are looking for