• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Passing URL to flash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing URL to flash


  • Subject: Re: Passing URL to flash
  • From: "Daniel E. Venditelli, jr." <email@hidden>
  • Date: Sat, 27 Nov 2004 10:11:47 -0500

Also, keep in mind flash considers its path relative to the WEB PAGE calling it... not the flash object itself.

Although, this just gave me a thought... if you used actionscript in the flash object to periodically load that text files compare for differences (timestamp on edit, flag etc - something you add to the file) you could then have your dynamic code write a new file as needed and the flash object would catch the changes on the next scheduled load. Just be sure to add a unique variable to the file load in the flash object to ensure its gets the new data and not the cached values.

You won't be able to "trigger" the flash load, but if you designed the system with the delay in mind, you might be able to simulate something very like pushing data to the flash object without reloading the page.


Regards, Daniel http://www.bathyspheredms.com/daniel/

On Nov 27, 2004, at 1:07 AM, WebObjects wrote:

Sébastien,

I was posed with creating a dynamic flash menu about a year ago. Here is a
look at what it looks like (the menu running down the left side of the site)
http://www.ucihs.uci.edu/


I read in from a text file that could easily be retrieved from a Direct
Action URL in lieu of a file. My thought in your case is to use the 'Action
Script' of Flash to get the pertinent data from your session/application via
a Direct Action.


The Action Script I used went something like
loadVariables("menustructure.txt", this);

I do recall there being some security restrictions about the 'loadVariables'
function, perhaps limiting it to a file at the base URL of the .swf - so
you'll have to do some homework.


Hope this helps. And of course I'm happy to contribute more detail of my
pains with this, should you like.


Best Regards,

-Bill Reynolds


on 11/26/04 05:41, Sébastien Gruhier at email@hidden wrote:

Hello

I have  a menu made of WOHyperlink built by a  WORepetion. All  links
are connected to an Action,
I would like to change it by something in Flash.
My question is how to pass to flash the URLs generated by the page?

Any ideas or anyone has done this before?
I have tried some tricks but without any success :(

Thank you in advance
Se



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Passing URL to flash (From: WebObjects <email@hidden>)

  • Prev by Date: Command Line Client
  • Next by Date: Re: Command Line Client
  • Previous by thread: Re: Passing URL to flash
  • Next by thread: D2W error on launch at lunch
  • Index(es):
    • Date
    • Thread