plainblack.com
Username Password
search
Bookmark and Share

    

macro for asset url?

User elnino
Date 12/5/2006 6:04 pm
Views 1643
Rating 2    Rate [
|
]
Previous · Next
User Message
elnino

Hello.

Is there a macro that will return the asseturl? I found AssetProxy and FileURL but they give me the actual URL, and I'd like to do the opposite.

Looking at the source of FileURL, and trying to decipher the api doc, I'm unable to determine if there is a method to Asset that will give me what i'm looking for.

Or is there documentation as to how the "realurl" is created so I can write a macro to decipher it? 

Thanks!

LN 

--- (Edited on 12/ 5/2006 6:04 pm [GMT-0600] by elnino) ---



Back to Top
Rate [
|
]
 
 
colink

Do you want to display the URL of the current page, the one the macro is contained in?

If so, then try the ^PageUrl(); macro.

If you want the URL of the Asset that the macro is immediately in, then try the Page macro and pass it the url param: ^Page(url);

--- (Edited on 12/ 5/2006 9:54 pm [GMT-0600] by colink) ---



Back to Top
Rate [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved