View Full Version : flash menu or dhtml or javascript to call internal browser?
thesven
08-22-2003, 11:21 AM
As I'm new to embedding web objects I am trying to find out if it is possible to have flash menu/dhtml/javascript menu populate another browser object on the screen?
Simply put -
Browser window One contains the menu
Browser window Two contains the viewing choice
Thanks!
Corey
08-22-2003, 03:50 PM
Yes you can do that, no probs... For example with FLash. You would have your flash navigation elements in browser 1 fire fscommands onClick and then using a couple IF statements in that Flash object's "OnFSCommand" event to detect *which* FScommand was fired (which button) you can trigger whatever event you want in browser 2.
So for example if button 1 is a "home" button you can add an fscommand to it such as fscommand ("home"), etc.
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
thesven
08-22-2003, 06:35 PM
This is very good news! Thanks Corey for the info. Is there a place I can read how to do this, or a sample app? Without this I am fishing blind........
thanks
Corey
08-22-2003, 07:09 PM
Well I can help you do it, that's not a problem. Tell you what, give me a day and I'll whip up a very basic sample and post the source file for you.
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
thesven
08-22-2003, 09:19 PM
Thanks for your help Corey. I have Flash MX but am new to it.
Corey
08-22-2003, 09:58 PM
No probs, flash isn't strictly neccesary nor is the one web object but here, I've done two examples for you http://www.indigorose.com/temp_web/webnav_examples.zip
In one I use text links in one web browser object to control a seperate web object. In this one there are 3 actions and you can find them on the "OnNavigateComplete" event of the top web browser object. Very simple to understand.
In the other I used flash buttons to create a nav bar for the web object. In this case there's no need for a second web object. I have included the flash source file for you too. In this case there are also only a couple actions and they can be found in the flash object's "onFSCommand" event.
Give it a shot and let me know if you still need help. I'm sure we can come up with some kind of working solution to whatever it is you need to do...
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
thesven
08-24-2003, 12:49 PM
Thanks for the demos here Corey. I need to bone up on the scripting aspect I guess.
As it relates to a web object I have have an additional question:
is it possible to have a hotspot object "pop up" a new web object? Can I have the web object I want to pop up be hiding and then upon hitting the hotspot object have it show or navigate to it?
Thanks again
Corey
08-24-2003, 01:25 PM
Not sure, that's something I've never looked at.
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
thesven
08-25-2003, 06:58 AM
Hey Corey,
Having a few problems here.
I have 2 web objects on the page. Each load actual pages from the web. One is a banner type box. When I click in the banner box I need the full size web object to populate with that link page. How does one go about doing this? Right now I'm just using the text approach (gif image actually).
Thanks
Corey
08-25-2003, 07:12 AM
Take a look at the example I posted above, exact same principle, just use an image link instead of text links.
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
thesven
08-25-2003, 07:26 AM
my problem is I don't know how to call the browser based on the scripting of # and 1. sorry for so many questions but I'm scripting impaired...........
thesven
08-25-2003, 07:35 AM
just so I'm clear on what I'm asking
my main web object (web1) connects to www.yahoo.com
my banner web object connects to www.something.com
I want to click in the banner object and load the page into the www.yahoo.com object.
Corey
08-25-2003, 07:37 AM
Not sure what to say. That example is super easy to follow, I think it contains 2 or maybe 3 actions maximum, that's all. Not a whole lot I can do other than suggest for you to check it out again.
Maybe if you specify exactly what you have done with the example so far and exactly where and how you got lost I can help steer you back on track. The goal here is not to build your project for you but rather to provide you with proper code examples (above) and information so that you can complete the process yourself.
but I'm scripting impaired
The thing is that in your subject line you ask if you can use Flash, DHTML, or Javascript. Yes you can, but these all obviously involve scripting to some extent.
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
thesven
08-25-2003, 07:47 AM
Corey,
Here is what I have
webobject2 (banner object)
initial url to load http://www.xxxxx.com/xxxxx/xxxxx.htm
<IR_ACTIONS_LIST>
<Action name="Get Property">
<Type>99</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%Property%</Variable>
<ObjectName>WebBrowser2</ObjectName>
<Property>URL</Property>
</Action>
<Action name="Get Delimited String">
<Type>64</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%Property%</Variable>
<Source>%Property%</Source>
<Delimiter>#</Delimiter>
<ItemIndex>1</ItemIndex>
</Action>
<Action name="Navigate To">
<Type>42</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<WebObjectName>WebBrowser1</WebObjectName>
<URL>%SrcDir%\%Property%.html</URL>
</Action>
</IR_ACTIONS_LIST>
web object 1
initial url to load (main object)
http://www.xxxx.com/xxxx.html
what string to I add to the initial url in webobject 2 since I am not calling a local file?
Just looking for help and since I don't see this documented anyplace I came to the forum. While you supplied an example to make a call locally I am looking to do it externally.
Thanks
thesven
08-25-2003, 07:49 AM
if you would like me to pay you for your assistance I can do that too. please let me know.
Corey
08-25-2003, 07:53 AM
We offer a wide variety of professional design services and I would be happy to create a project for you anytime, simply contact sales@indigorose.com at your convenience.
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
thesven
08-25-2003, 08:50 AM
I have sent the request to sales@indigorose.com. I await the reply.
thesven
08-27-2003, 11:54 AM
Corey,
i received a response for your sales team on the request to pay for this "training". The reply stated ,we offer free email support and they will be able to provide you with the specifics on how to do this.......
Tried to pay for the knowledge but got no place.....no what?
As for the "scripting impaired" statement I was referring to the scripting apparently being used in AMS to accomplish this task, not javascript or dhtml.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.