?
Solved

Linking wif a flash main page

Posted on 2002-06-24
3
Medium Priority
?
153 Views
Last Modified: 2010-04-03
I had a main page tat is made by flash 5 and with some buttons to link to some "htm" files. I used Actionscript -> GetUrl and needed to type in the whole "url" example: http://www.angelfire.com/wilson.htm
Is there anyway to link like dreamweaver? we juz tell the program where the file is .. instead of the url. pls help.
Urgent!
0
Comment
Question by:willson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 6

Expert Comment

by:rootdir
ID: 7105747
No but you can modify URL property


use '_url' property which will return you URL. Check by trace function first, then assign it into variable.Modify this variable as per your requirments(do cut - copy on this url string) you will get end url as you needed call this variable from getURL function.

I think this will help you

RootDir
0
 

Author Comment

by:willson
ID: 7106228
Hmm rootdir , the method seems quite complicated for me. can u give me an example or two ?
0
 
LVL 23

Accepted Solution

by:
Zeffer earned 200 total points
ID: 7109164
inserting urls in Flash is a manual exercise..unlike
the properties panel and clicking on files to create
links in dreamweaver..

rootdir has given you an answer to your question as it is stated..but ironically it is more work than the method you are trying to replace..

you can use a relative url with Flash..(file.htm).. instead of an absolute one..
(htttp//:www.mysite.com/file.htm)if you use frames and
your Flash button or menu is in one frame..and the file
loads in the other...BUT you still have to put the url
in the Flash movie..in by hand..
also file.htm has to be in the local directory!

Z
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question