Monday, May 26, 2008

Load web Page using flash

In this tutorial I will tell you how to load a page in the flash.

You can load a page by setting to a specific text or button let me tell both option

1) option 1 (using text)
  • create a text from tool box.
  • open the property window.(you can do this by window->properties -> properties.
  • select the text box set as static text.
  • you can see the link icon in the property window now give your page load there and set the target.
  • you can see dotted line under the text which represent it is linked
2)option2 (using button)
  • create a button.
    draw some box or circle like your wish and select that and press f8 a window will pop up and there will be 3 option where you need to select button to creat a button.
  • right click the button goto action or just press F9 to open action window or goto windows->Actions
  • use getURL function to link to the url
    on(release)
    {
    getURL("yoururl", "_self");
    }
  • the function getURL has 3 parameter namley
    URL
    target
    variables
  • url is the path of the location whre it has to load
  • target is having 4 option _self,_parent,_blank,_top similar to the html...
  • variable has 3 option dont send any data, post,get is similar to the method in form tag

Let me see with you a new function soon

No comments: