Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-16-2002, 04:16 AM   #1
archikev1
Registered User
 
Join Date: Mar 2002
Posts: 4
Lightbulb Flash projector function call

I'm trying to link a button in a Flash projector to a function call (chromeless window) & am having problems. Rescue me!!
archikev1 is offline   Reply With Quote
Old 03-16-2002, 08:30 PM   #2
jimburton
no sleep til bedtime
 
jimburton's Avatar
 
Join Date: May 2001
Location: Brighton
Posts: 1,322
Default

What kind of function call? If you're dealing with a projector file then I presume it's fscommand, and I don't really understand the idea of a chromeless window in that context (ie, not in a browser)??? Elaborate please...
jimburton is offline   Reply With Quote
Old 03-16-2002, 11:31 PM   #3
archikev1
Registered User
 
Join Date: Mar 2002
Posts: 4
Lightbulb

I'm developing a stand alone web browser and I dont want to view the standard menu items and so forth at the top of the window of the next page called. Therefore all links will be opened in a chromeless window 600x600. A remote will follow throughout for extra navigation. This function call must trigger this...
function openIT() {
theURL="http://linkX.htm"
wname ="CHROMELESSWIN"...
using this script...
"javascriptpenIT();"

Either this or somehow make the action (mouse click) an exe to trigger this function..either way is OK

If you need anymore Nfo, feel free to post back.

Kev
archikev1 is offline   Reply With Quote
Old 03-17-2002, 08:04 PM   #4
jimburton
no sleep til bedtime
 
jimburton's Avatar
 
Join Date: May 2001
Location: Brighton
Posts: 1,322
Default

Well that should be doable - see the tutorials section on using javascript calls to open new windows but in brief you can go (in the swf):

getURL("javascript: void(0);openIt();");//this could be triggered by a button or just on a frame...

and that will call the function in the webpage. Does that answer it?
jimburton is offline   Reply With Quote
Old 03-18-2002, 02:19 AM   #5
archikev1
Registered User
 
Join Date: Mar 2002
Posts: 4
Question

Remember, I am opening a window from a Flash player (standalone) not from the html....
this is what you get from the frame action
...syntax error...
The action tries to load the page-
http://geturl("javascript:void(0);openIt();");/

sorry
archikev1
archikev1 is offline   Reply With Quote
Old 03-18-2002, 09:03 AM   #6
jimburton
no sleep til bedtime
 
jimburton's Avatar
 
Join Date: May 2001
Location: Brighton
Posts: 1,322
Default

Some confusion over terms here - 'chromeless' means to me a browser window without the usual toolbars etc...but if it's a projector file you can't use javascript at all. You could use fscommand("exec" .. to launch the browser and have it start with a page of html containing the javascript needed to make it chromeless, but this is theory for me - I've never done it.

Chip in you "exec" afficionados...

good luck with that,
jimburton is offline   Reply With Quote
Old 03-18-2002, 10:55 AM   #7
archikev1
Registered User
 
Join Date: Mar 2002
Posts: 4
Default

You are correct concerning the action. This is where I get stuck. Maybe somehow exec the chromeless to open....
Do you have any ideas about getURL to a page that would only open for mSec. and redirect to the chromeless then close automatically? I've got the script to work to open the redirect which in turn will open the chromeless. Just need to close the redirect without really noticing it even opening.
Thanks for the theories so far...
Let's whip this one!
Kev
archikev1 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Javascript call a Flash function and pass parameters??? gloveny Other Flash General Questions 4 11-26-2004 06:20 AM
[Q] Do we need those forums??? CyanBlue General Chat 59 07-27-2004 11:13 AM
How to call a servlet from flash mdevall_sgs ActionScript 1.0 (and below) 0 06-20-2004 11:52 PM
enterframe and load and objects, oh my! dice ActionScript 1.0 (and below) 13 07-18-2003 11:07 AM
HELP! Flash in iframe to call Javascript in parent lordcatalien Server-Side Scripting 2 01-06-2003 05:44 PM


All times are GMT. The time now is 04:38 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.