Skip to content

Instantly share code, notes, and snippets.

//So I've got a flash video which has got a bit of text on it which I have converted to a button symbol.
//What I want it to do is call a javascript function when I click on the button. What i've got at the moment is:
on (press) {
import flash.external.ExternalInterface;
ExternalInterface.call("test");
trace("I've been pressed");
}
//When I run this in debug mode it does print "I've been pressed" to the output window so I'm assuming this is working. When I place this //on the page with the following js in the header however nothing happens...
Feature: Confirm details for existing users
So that an existing toptable user can create a booking without having to fill in all their details
As an existing user
I would like to have a cut down confirm details page
Background:
Given I am signed in
And I have selected a valid time for 2 people tomorrow at 5pm for venue 14175
@omniture
rake wa:website:james
explorer .
cd /d c:\src\trunk\
if(browser.Browser.Equals("IE", StringComparison.InvariantCultureIgnoreCase))
{
if(browser.MajorVersion <= 6)
{
return false;
}
}
var client = new RestClient();
client.BaseUrl = "http://api.developerdame.com";
var request = new RestRequest();
request.Resource = "customers";
var customers = client.Execute(request).Deserialze<List<Customer>>();
request = new RestRequest();
request.Resource = "customers/james";
{ "Description" : "\r\nCongratulations to all of this year's Michelin star winning restaurants. The new additions have been announced and these are the ones you can find on toptable. Foodies, start your engines and start booking now!",
"OmniturePageName" : "curated-list|Michelin starred restaurants 2011 - new additions",
"OmnitureSectionName" : "CuratedLists",
"PageTitle" : "Michelin starred restaurants 2011 - new additions",
"Title" : "Michelin starred restaurants 2011 - new additions",
"Venues" : [ { "Address" : "Henley Road",
"Cuisines" : [ "Modern European" ],
"DinerRating" : "8.0",
"ImageUrl" : "http://media.toptable.com/images/thumb/5120.jpg",
"LoveIt" : false,
RegionInfo regionInfo = (from c in CultureInfo.GetCultures(CultureTypes.InstalledWin32Cultures)
let r = new RegionInfo(c.LCID)
where r.ISOCurrencySymbol == "GBP"
select r).FirstOrDefault();