|
-
I have a URL linked to a mc. The URL is 128 characters long. However, the last character keeps getting clipped off.
The url I'm trying to use is: http://www.colorspan.com/support/kno...XII&SelectBy=1
Anybody know? Thanks.
-
Yes, 127 Limit
I found there is a 127 character limit. Note the following from Macromedia site:
URL links limited to 127 characters:
URLs longer than 127 characters get truncated when using the Character panel's URL link feature for text fields.
Solution
Use Flash's asfunction:functionName syntax to call an external function that first assigns the long URL string to a variable and then passes that variable to a getURL function.
The following function, bigURL(), assigns the long URL string to the variable myURL and then passes that variable to getURL which opens the URL in the browser. Place this function in the first frame of the movie:
function bigUrl (){
myURL = "http://www.mapquest.com/cgi-bin/ia_find?link=btwn%2Fta...etc...&Find+Map=Get+Map";
getURL (myURL, "_self");
}
Next, in the Character panel's URL field enter the asfunction call to bigURL (in place of the long URL string) as follows:
asfunction:bigURL
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|