ActiveDen

Javascript in FD Previews?

866 posts
  • Has been a member for 4-5 years
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 100 and 499 items
  • United States
  • Referred between 200 and 499 users
michaelhejja says

I’m working on a few items that have Javascript functionality built in. Does anybody know if the JS will work in the FlashDen preview area?

3 years ago
1945 posts
  • Has been a member for 4-5 years
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Netherlands
  • Referred between 10 and 49 users
Emroni says

Dont know about that, but why not put it in external preview?

3 years ago
3860 posts
  • Has been a member for 5-6 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Contributed a Blog Post
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 100 and 499 items
  • United Kingdom
  • Referred between 200 and 499 users
flashjunkie says

Hey mike, it wont work on the flashden 590×300 preview window, but if you put it into a fulscreen preview it should work fine :)

3 years ago
6471 posts
  • Has been a member for 4-5 years
  • Won a Competition
  • Contributed a Tutorial to a Tuts+ Site
  • Contributed a Blog Post
  • Grew a moustache for the Envato Movember competition
  • Community Moderator
  • Beta Tester
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 50 and 99 items
  • United Kingdom
  • Referred between 10 and 49 users
MSFX says

yeah ive seen a few files with it, plus alot of authors use SWF Object to embed so it must work :)

3 years ago
MSFX is a moderator
1945 posts
  • Has been a member for 4-5 years
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Netherlands
  • Referred between 10 and 49 users
Emroni says

If you look to the source of any item page, youll see that the preview file is just the preview.swf, nothing else. So even if you put some javascript somewhere, it wont show up since it isnt loaded.

Using your own html page should work fine, since you build that index.html yourself, and FD just displays that

3 years ago
866 posts
  • Has been a member for 4-5 years
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 100 and 499 items
  • United States
  • Referred between 200 and 499 users
michaelhejja says

Cool, that’s what I hoped. Thanks guys!

3 years ago
by
by
by
by
by