![]() |
| Home | Demo | Services | Features | Help | User Forum | Blog | About | |
|
#11
|
||||
|
||||
|
Hang on. How and what would you be doing in SWFObject to provide for this ?
I use it myself.
__________________
Christina >>Forum Moderator<< Please do not PM me for support. The forum is here for that. |
|
#12
|
|||
|
|||
|
Quote:
This would be an invisible counter only. It might make sense to put a visible counter on the page the Flash is located on, and then use this script inside the Flash movie. Quote:
Quote:
|
|
#13
|
||||
|
||||
|
Yes, I am quite familiar with SWFObject. I have a page for it in my tutorials, with an extra script to make it more general.
http://www.webado.net/tutorials-embe...php#swf-object I have a smililar set of scripts for a WMP object. Do you mean you can add more variables there and your flash movie will pick them up?
__________________
Christina >>Forum Moderator<< Please do not PM me for support. The forum is here for that. |
|
#14
|
|||
|
|||
|
Yes--the link above does not link just to the main SWFObject page, but to the examples, where the creator explains just that.
Even without SWFObject it is possible to append variables. In the object and embed tags, the url to your movie would include them, like "movie.swf?somevariable=2&someothervar=81" etc. It made the most sense to use SWFObject in this case because screen resolution can be detected by javascript. |
|
#15
|
||||
|
||||
|
Ok, what I mean is that your flash movie can get its information from there and use it dynamically?
__________________
Christina >>Forum Moderator<< Please do not PM me for support. The forum is here for that. |
|
#16
|
|||
|
|||
|
Correct! Any variable you append will be used the same as a variable you create within Flash.
|
|
#17
|
||||
|
||||
|
Ok, I thought those variables were only to be used for corresponding param values in the object used to embed the flash movie. And I thought I had them all covered LOL
Obvously I need more understanding of the relationship between an object that embeds a flash file and specific things used inside the flash file - I thought there was nothing else but those controlling the flash player in general, irrespective of the flash file itself. Hah, what do I know? LOL
__________________
Christina >>Forum Moderator<< Please do not PM me for support. The forum is here for that. |
|
#18
|
|||
|
|||
|
I was pretty surprised when I learned that, too. But I guess it's a lot like when you import data into Flash from a simple text file, except without having to create a text file. You learn something new every day!
|
|
#19
|
||||
|
||||
|
Well I got a big gap when it comes to flash. I don't have any tools to create this kind of flash that would have script in it. So no idea what can be done there.
I only know how to embed it once somebody's made it for me
__________________
Christina >>Forum Moderator<< Please do not PM me for support. The forum is here for that. |
|
#20
|
|||
|
|||
|
I just noticed your signature, and was thinking--maybe this is a way to get around StatCounter not working on MySpace. I think they allow Flash embeds, though I'm not sure about JavaScript.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|