Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently November 5th, 2024, 5:37 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: launch web page in flex
PostPosted: July 17th, 2007, 3:24 pm 
Offline

Joined: December 11th, 2004, 12:51 am
Posts: 36
Location: UK
I have almost finished a flash publication using the flex option in Opus Pro 04.

I've found actions very hit and miss - some scripting works in flex some doesn't, even when it does work in preview, it often doesn't when published!.

My one last problem seems to be a simple one - I can't get the Launch Web Page action to work!. It works OK in preview, but not when published.

Have tried launcing using a script, e.g.:
LaunchURL("http://www.digitalworkshop.com")
and as the launch webpage action
but nothing happens.

Any help very much appreciated.

Will post website link when finished.


For this message markatnicebrook has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: July 17th, 2007, 6:14 pm 
Offline

Joined: November 3rd, 2004, 2:11 pm
Posts: 323
This is what I use:

1. Create a Left Mouse Click trigger.
2. Use the Script action.
3. In the script action enter the following:
getURL("http:www.YOURURLNAME.com", "_blank");

This will open up a new window with http://www.YOURURLNAME.com in it.

_________________
Opus Pro XE 9.1 Win7 64-bit Core i3 8MB RAM


For this message bwpatric has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject:
PostPosted: July 17th, 2007, 8:22 pm 
Offline

Joined: December 11th, 2004, 12:51 am
Posts: 36
Location: UK
bwpatric,

Thanks for the reply, but it still does not seem to work.

Attached is a cut-down version which shows the same problem.

The button has a left-mouse-click trigger with a script action.

Note that the commented out line in the script ( LaunchURL(...) ) will work in preview mode, but not when published.

When I run the attached version as it stands ( getURL(...) ), it just sits there doing nothing when I click the button both in preview and when published. What am I doing wrong?

Regards,
Mark


You do not have the required permissions to view the files attached to this post.


For this message markatnicebrook has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: July 18th, 2007, 12:07 am 
Offline

Joined: November 3rd, 2004, 8:12 pm
Posts: 129
Location: New Brunswick, Canada
Opus: 8.6
OS: Win 8 (ASUS) - Win 7: (ASUS)
System: Asus - Windows 7 - 8 - Intel Core 3 - 4RAM - 16RAM
Mark,

I just used

LaunchURL("http:www.leotaylor-photos.com", "_blank");

and it opened my web site without a problem. I published the file and it executed as expected. Could there be a problem with the URL you are using? Also, does your Browser have pop-ups disabled, if so that may have to be changed.

Find attached your imp file as well as the swf and html file that were created in the zip. I should state I used Opus 6.


You do not have the required permissions to view the files attached to this post.

_________________
Leo Taylor
Win XP Home / Opus Pro 7.01 & 6.4 / P4-2.8 / 1.5 GB RAM / ATI All-in-Wonder 9600 /160GB-HD


For this message Leo Taylor has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject:
PostPosted: July 18th, 2007, 12:20 am 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi

I also tried it out and found that it worked fine, preview or published runtime. I did delete the "_blank" from the script. I haven't looked at Leo's version, but I suspect they will be same or similar. I'll attach the zip folder.

Kind Regards,


You do not have the required permissions to view the files attached to this post.

_________________
Stephen


For this message Stephen has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: July 18th, 2007, 10:16 am 
Offline

Joined: December 11th, 2004, 12:51 am
Posts: 36
Location: UK
Thanks for your help Leo and Stephen.

I tried to run both your published html/flash files.

When running Leos's I got the error message "cannot find 'http:www.leotaylor-photos.com'

however, when I type the above address directly into my address bar at the top of my Internet Explorer screen, it automatically changes it to http://leotaylor-photos.com/ and the website opens OK....not sure what that tells me!

When running Stephens version of the published html/flash files IE just sits there and nothing happens when the button is clicked.

I guess this must mean there is a problem with some setting in my Internet Explorer? I am using IE 7 (7.0.5730.11). I did have pop-ups blocked initially, so I tried with this turned off, but does not help.

Does anyone have any suggestions as to which (of the multitude of!) settings I should change in IE7?


For this message markatnicebrook has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: July 18th, 2007, 11:49 am 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi Mark

I can sympathize regarding IE. Having a similar difficulty trying to get a Java Applet to run in IE 7, that runs perfectly well in Firefox.

I wish I knew which (if any!) combination of checks and un-checks will help. Also, take a look at your firewall, pop-up blockers. Who knows! :?

Kind Regards,

_________________
Stephen


For this message Stephen has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: July 18th, 2007, 12:13 pm 
Offline

Joined: November 3rd, 2004, 2:11 pm
Posts: 323
I found that sometimes having a toolbar open also causes problems with popups. In a case at work, the Yahoo toolbar is the offender. Once you turn it off, the popups work fine. I think the toolbar must have some popup blocking control associated with it. Perhaps that is the problem?

_________________
Opus Pro XE 9.1 Win7 64-bit Core i3 8MB RAM


For this message bwpatric has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject:
PostPosted: July 18th, 2007, 11:27 pm 
Offline

Joined: December 11th, 2004, 12:51 am
Posts: 36
Location: UK
I though I'd add the solution here in case someone else finds the same problem. All my 'testing' was done using local files through Internet Explorer, NOT after uploading to the internet.....and this seems to be where the problem arose.......

From DW support: "It may be the Firewall or Internet Browser settings prevent a local file calling a web page. Because you are creating a Flash file it won't actually proactively launch IE (or any other browser) When you run it locally, IE only lets it connect locally.

Upload the published file and view it from a website and then try the link."

I did just that and it works perfectly. Lesson: do at least some testing after uploading to the internet, don't rely on local files.

Many thanks to DW support for responding quickly. Thanks also to those who replied and helped narrowed the problem down.

/Mark


For this message markatnicebrook has been thanked by : mackavi


Top
 Profile  
 
 Post subject: flash website example
PostPosted: July 18th, 2007, 11:39 pm 
Offline

Joined: December 11th, 2004, 12:51 am
Posts: 36
Location: UK
p.s.

My uploaded flash "sub-website" can be found at:

www.resources.nicebrook.co.uk

This was produced by Opus Pro 4. Any comments welcome.

Note that this "sub-website" will be called by my main website www.nicebrook.co.uk (all html) when I get around to modifying it, so that is why it may seem a little strange, with no company information etc.

I had intended to do the complete website as a flash file using Opus, but in the end decided on the 'safer' option of a main website using html, which would open several flash sub-websites.

As I get a bit more competent at html, I'll probably ditch the sub-website idea and just open them as files in the main website area...not sure how quite to do this yet.


For this message markatnicebrook has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: July 19th, 2007, 12:00 am 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi Mark

I had a look and wanted to congratulate you on a very professional and well-designed site. Very impressive!

Kind Regards,

_________________
Stephen


For this message Stephen has been thanked by : mackavi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group