CSS Writing
- Started
- Last post
- 8 Responses
- JamesEngage
Anyone ever written CSS on the fly? for example from Flash I want to set the browser scrollbar to a certain color... Is this possible?
- JamesEngage0
bump
- MX_OnD0
Should work James,
CSSStyleDeclarationClass should be a friend of yours ;)
- JamesEngage0
pardon my ignorance but whar is that? I'm only using Flash 6 I should point out.
- MX_OnD0
pffft Flash 6 you know if you rub a stick against it you'll get fire :p
But seriously James I missread your query anyway....
What you want to do is use either
getURL and use a PHP querystring to pass variables and valuesor you could use loadVars with PHP too....
- JamesEngage0
ta... don't think i can do it in firefox , and safari never recolours... so might just say sod it anyway!
- MX_OnD0
why James?
Just call the same page as the Flash object resides in.... then it'll recolour, no?
- JamesEngage0
my pages in flash change colour without leaving the page... want to recolor the scrollbars etc.... think I have now sorted it though... only just realised that firefox doesn't actually color them even with a stylesheet... so not such a concern
- instantok0
maybe an issue of refreshing the main page once the css doc is rewritten? tho that is not really 'on the fly' as you want