Re: [Flashcoders] Back from html to specific point in flash

2006-07-26 Thread Ricardo Sánchez

Thanks to all of you.

On 7/21/06, John Dowdell [EMAIL PROTECTED] wrote:


Ricardo Sánchez wrote:
 So our second option is open the link in the same window but giving the
 user
 the chance to hit the back button of the browser (once in the html) and
go
 back to the specific situation where he was on the flash. Is this
possible?

It could be, but a lot depends on the presentation, and how you
determine where here is. For a slideshow you can just do local Shared
Object Storage of the last slide viewed, and jump to the last viewpoint
whenever starting, for instance. For an application you may need to
represent a stack of prior user actions.

Kevin Lynch had an example awhile ago which also deals with
state-representation in SWF... he put the state into the URL itself, as
query terms, but the same issue of How do you know where 'here' is?
remains.

(Most window-blocking extensions for browsers permit new windows in
response to user clicks in the HTML part, but many have blocked all
window requests from plugins, because of abuses from spammers. I don't
know of a current listing of which window-blockers, and their audience
sizes, will block a getURL with _blank from SWF.)

jd






--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Back from html to specific point in flash

2006-07-21 Thread Ricardo Sánchez

Hi, I need to know if this is possible and if it is some guidelines on how
to accomplish it.

I have a flash application running in a full browser window. At a certain
moment the user may click in some link to a html page. We were thinking in
open it in a new window but there's the problem of the pop-up blocker if the
link comes from flash (any work around that?)

So our second option is open the link in the same window but giving the user
the chance to hit the back button of the browser (once in the html) and go
back to the specific situation where he was on the flash. Is this possible?

Does my english make sense?

Thanks.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Back from html to specific point in flash

2006-07-21 Thread MetaArt
yes, you can do it, with use of a variable; so, you need to send a variable
output by Flash, any time a change occur in the movie, and to read the
variable itself when the page si (re)loaded, so Flash can go where you
need...
You must use something like PHP, to achieve this...
But, if Flash movie is running inside a fullbrowser window (I suppose you
want say: fullscreen), where is the back button of the browser?...

* Enrico Tomaselli
* web designer
[EMAIL PROTECTED]
http://www.metatad.it
* Skype: MetaArt
RSS: http://www.metatad.it/mnfeeder.php

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Back from html to specific point in flash

2006-07-21 Thread Danny Kodicek

 yes, you can do it, with use of a variable; so, you need to send
 a variable
 output by Flash, any time a change occur in the movie, and to read the
 variable itself when the page si (re)loaded, so Flash can go where you
 need...
 You must use something like PHP, to achieve this...
 But, if Flash movie is running inside a fullbrowser window (I suppose you
 want say: fullscreen), where is the back button of the browser?...

Can't be done by Flash automatically. Unsurprising, really: there are so
many factors that go into describing a Flash movie's state at some
particular moment, many of which may be a result of your own particular
code. But in any particular case you could do it using a sharedObject to
store your current state rather than PHP, though. I don't know if the movie
gets an onUnload event when it's closed (probably not) so you'd have to
store the data periodically.

Danny

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Back from html to specific point in flash

2006-07-21 Thread Ben Smeets
Try the way http://incomplet.gskinner.com/ does it. They use js for it so 
people can send normal links to each other for a specific point in the site. 
The SharedObject way is possible, but I think it's better to find a solution 
where you can get more out of.  

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricardo Sánchez
Sent: vrijdag 21 juli 2006 9:56
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Back from html to specific point in flash

Hi, I need to know if this is possible and if it is some guidelines on how to 
accomplish it.

I have a flash application running in a full browser window. At a certain 
moment the user may click in some link to a html page. We were thinking in open 
it in a new window but there's the problem of the pop-up blocker if the link 
comes from flash (any work around that?)

So our second option is open the link in the same window but giving the user 
the chance to hit the back button of the browser (once in the html) and go back 
to the specific situation where he was on the flash. Is this possible?

Does my english make sense?

Thanks.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com 
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Back from html to specific point in flash

2006-07-21 Thread Nick Weekes
Is this technique of any use (see the 'Javascript communicating with Flash'
bit):

http://www.moock.org/webdesign/flash/fscommand/index.html 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Danny
Kodicek
Sent: 21 July 2006 10:45
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Back from html to specific point in flash


 yes, you can do it, with use of a variable; so, you need to send a 
 variable output by Flash, any time a change occur in the movie, and to 
 read the variable itself when the page si (re)loaded, so Flash can go 
 where you need...
 You must use something like PHP, to achieve this...
 But, if Flash movie is running inside a fullbrowser window (I suppose 
 you want say: fullscreen), where is the back button of the browser?...

Can't be done by Flash automatically. Unsurprising, really: there are so
many factors that go into describing a Flash movie's state at some
particular moment, many of which may be a result of your own particular
code. But in any particular case you could do it using a sharedObject to
store your current state rather than PHP, though. I don't know if the movie
gets an onUnload event when it's closed (probably not) so you'd have to
store the data periodically.

Danny

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Back from html to specific point in flash

2006-07-21 Thread John Dowdell

Ricardo Sánchez wrote:
So our second option is open the link in the same window but giving the 
user

the chance to hit the back button of the browser (once in the html) and go
back to the specific situation where he was on the flash. Is this possible?


It could be, but a lot depends on the presentation, and how you 
determine where here is. For a slideshow you can just do local Shared 
Object Storage of the last slide viewed, and jump to the last viewpoint 
whenever starting, for instance. For an application you may need to 
represent a stack of prior user actions.


Kevin Lynch had an example awhile ago which also deals with 
state-representation in SWF... he put the state into the URL itself, as 
query terms, but the same issue of How do you know where 'here' is? 
remains.


(Most window-blocking extensions for browsers permit new windows in 
response to user clicks in the HTML part, but many have blocked all 
window requests from plugins, because of abuses from spammers. I don't 
know of a current listing of which window-blockers, and their audience 
sizes, will block a getURL with _blank from SWF.)


jd






--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com