Flashblocks Flash CMS
Welcome, Guest
Please Login or Register.    Lost Password?
Adding javascript (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: Adding javascript
#5541
Adding javascript 2 Months, 3 Weeks ago
The javascript below allows the visitor of the website to go to a Automobile Assosiation roadmap. This javascript is meant to be added to the html code of a website. The position of thejavascript within the html code determines where the visitor will see the details to go to the roadmap.


Is it possible to use Flashblocks to add this functinality to a flashsite?
If so, how?
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/09/12 10:23 By Hilholland.
  The administrator has disabled public write access.
#5543
admin ()
User Online Now Click here to see the profile of this user
Flashblocks Birthdate: 2005-02-14
 
Re:Adding javascript 2 Months, 3 Weeks ago
I do not know. Your question is very abstract.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5544
Re:Adding javascript 2 Months, 3 Weeks ago
On the website of the dutch automobile association, called ANWB, they provide the javascript as shown on the image above. They say I must add this to the html-code of my website. This to make a panel or box appear that visitors can use to go to the ANWB website and see a map how to get to my street address (my address will be added in the javascript). Seeing that my website is not a html website, but a flashsite, I wonder if this is still possible for me to achieve, perhaps using FlashBlocks.
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/09/12 10:58 By Hilholland.
  The administrator has disabled public write access.
#5550
admin ()
User Online Now Click here to see the profile of this user
Flashblocks Birthdate: 2005-02-14
 
Re:Adding javascript 2 Months, 3 Weeks ago
You can send a link to a working panel/box and I will take a look. It may be best to ask ANWB if there is a way to embed this panel/box in a Flash movie.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5556
Re:Adding javascript 2 Months, 3 Weeks ago
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/09/13 01:35 By Hilholland.
  The administrator has disabled public write access.
#5557
admin ()
User Online Now Click here to see the profile of this user
Flashblocks Birthdate: 2005-02-14
 
Re:Adding javascript 2 Months, 3 Weeks ago
Do you need to manage the variable above? In other words, do you ever plan on allowing the admin to change the location, etc...? These variables could be managed with Flashblocks but it would take some actionscripting knowledge. If you do not wish to manage the data via flashblocks then just hard code the url into a graphic on your site.
http://route.anwb.nl/routeplanner/ser...ayk%20v.o.f.&zip=5473%20HC&housenr=2a
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5558
Re:Adding javascript 2 Months, 3 Weeks ago
In my fla i have made a MC that i would like to load into that what you see at http://www.vanschaykvof.nl/routeplanner/index.html .
Either by adding the by ANWB provided javascript somehow, or by loading the html page from http://www.vanschaykvof.nl/routeplanner/index.html in the MC.

How can I do this?
Can I drop an editblock onto a Smoothscroller2, or some other component, and link the html website into that?
Or can I not somehow use getUrl to load the html website into the MC?
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/09/13 11:18 By Hilholland.
  The administrator has disabled public write access.
#5559
admin ()
User Online Now Click here to see the profile of this user
Flashblocks Birthdate: 2005-02-14
 
Re:Adding javascript 2 Months, 3 Weeks ago
The smooth scroller will not help you here. Flash does not display javascript and very little html. You will need to write this yourself or hire someone to implement it.
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/09/13 20:49 By admin.
  The administrator has disabled public write access.
#5562
Re:Adding javascript 2 Months, 3 Weeks ago
Thanks for your help so far.

if I find a way I will post this here.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop

Thank you