ActionScript 3.0 :: Get Page Description With ExternalInterface?

Dec 2, 2009

I'm having a hard time finding a way to get the html page description into my flash, using the ExternalInterface. I'v tried this:

ActionScript Code:
var pageDESCRIPTION:String;
var metas:Array = new Array(ExternalInterface.call('window.document.getElementsByTagName("meta")'));

[Code].....

View 2 Replies


Similar Posts:


IDE :: Make Thumbnail Gallery - First Page Title Gallery Then Big Image With Description

Feb 6, 2009

i was looking for gallery looking like this site [URL] i was looking gallery first page title gallery then Big image like this with description.

View 1 Replies

Javascript :: ExternalInterface Not Working In IE After Page Refresh?

May 26, 2011

I have a bizarre situation in IE where JS can't call up into flash using ExternalInterface after I hit "refresh". I know the movie is getting loaded and the code that does the ExternalInterface.addCallback() appears to be completing without any error Here's a rundown of the steps to reproduce:

Open IE and load up the movie for the first time, the ExternalInterface callback methods are available to JavaScript. If I hit refresh, the callback methods aren't available and I get the error Object doesn't support this property or method.If I clear my cache and refresh the page, they are available again.If I then hit refresh again without clearing my cache, they're unavailable.If I close the browser and reopen, they're available again.

I've run into this situation before and I'm pretty sure that the extra delay required to download and instantiate the swf is what's allowing ExternalInterface to get set up properly. The way I worked around this before was to add a random number to the end of the swf's url, so that it's never used from cache, but that's not a real solution.

[Code]...

View 2 Replies

IDE :: Execute Code Using ExternalInterface On Page Load?

Feb 19, 2008

I have been trying everything I can find to have code start on the window.onload event that uses callbacks exposed via the ExternalInterface. I've had many of the attempts working in IE, but Firefox is causing me grief.I tried simply calling the code via an "onload=" statement in the body tag for starters, but that didn't work because (I'm assuming) the Flash piece wasn't loaded when onload was called. So I tried putting a line in the Flash that calls a javascript function once it's loaded up. I tried this both by putting the ExternalInterface.call statement in a "this.onLoad=function(){" block as well as just putting the call at the end of the statements on frame 1 of my presentation (with a stop() on the frame) - either way it isn't happening in Firefox.I also tried using a setInterval in Javascript to test to see if one of the methods exposed via the ExternalInterface is an object (or not undefined). Once again, it's working in IE, but not in Firefox.[code]

The only other thing I can think of at the moment is using the swfObject for writing the flash tags to the page, but I'm already writing them from an external file (and removing the IE "Click to activate this control" issue in the process). All these methods work fine after the initial load (although I also had issues with Firefox when I simply try to call the onload instructions after a setTimeout command as well).

View 4 Replies

Javascript :: ExternalInterface Passing Values From Swf To An IFrame On The Same Page?

Apr 12, 2011

On a page I have a an iFrame and a swf, I've been trying to use ExternalInterface to pass values from the swf to the iFrame, anyone ever tried this and had any luck? I won't be able to post any code until tomorrow, will update then if needed.Here is a visualization of what I need to accomplish, perhaps if it can't be done the way I said someone will have a suggestion of another way to accomplish this.

View 2 Replies

Actionscript 3.0 :: IE With ExternalInterface - Get The Referring Page For A Swf When It Is Linked Directly

Oct 7, 2009

I am trying using ExternalInterface to call JavaScripts document.referrer to get the referring page for a swf when it is linked directly. This is working fine in FF but is returning null when the browser is IE. Every article I find about this talks about an defining an ID in the embed and object tags which of course dont exist when the swf isn't loaded in a html document. I found a page that stated that I needed to add the Security.allowDomain() statement to grant the permission but its still returning null.

View 3 Replies

ActionScript 3.0 :: Gallery Page With A Bunch Of Page Numbers - Click On A Page Number, The Over Script Should Stop Until Go To Another Page?

Jan 26, 2009

i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,

function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....

View 0 Replies

ActionScript 1/2 :: How To Add Description Tag

May 24, 2009

How to add description tag.I have an xml file that loads the pictures, but I want to add a description tag for each picture. Below is the xml file for this.add a description tag that would work?

<?xml version="1.0" encoding="UTF-8"?> <galleries> <!-- **&#160;&#160;&#160; Please read this information to learn how to add more galleries to your website. **&#160;&#160;&#160; **&#160;&#160;&#160; Here are all the galleries that you can use for the website pages. Each gallery has **&#160;&#160;&#160; an index or ID. With the help of index the gallery can be connected with the definite

[code]....

View 13 Replies

ActionScript 2.0 :: Add Description Tag?

May 24, 2009

I have an xml file that loads the pictures, but I want to add a description tag for each picture. Below is the xml file for this.

<?xml version="1.0" encoding="UTF-8"?>
<galleries>
<!--

** how to add more galleries to your website.

** Here are all the galleries that you can use for the website pages. Each gallery has

** an index or ID. With the help of index the gallery can be connected with the definite

** website page with gallery type.Also this page must have galleryID which should be equal

** Each gallery consists of the list of images. Each image has and url parameter and also

** width and height parameters that define dimensions of the box for the image.**

** It is recommended to use an XML editor to make changes to this file because it�s less

** possible to make an error in the markup which can cause a not working website.

** The recommended size for image_icon=333x333 px.
-->
<gallery id="1" name="nature">
<image image_icon="22598_nature_icon_15.jpg" image="22598_nature_b_15.jpg"/>[code]....

View 5 Replies

IDE :: Add A Title/description To The Image?

Jan 19, 2009

I have the 3dwall feature - but i don't know how to add a title/description to the image. I have followed the instructions, - I don't understand what it is asking me to do.

View 3 Replies

Popup Item Description Windows?

Aug 5, 2011

how can I make a windows popup when I put my mouse cursor over a item? The popup should display the item name and it's characteristics. When the cursor rolls out fo the item, the popup windows disappears.

Is there a function in as 3.0 that does this?

View 1 Replies

ActionScript 3.0 :: Parse Image Description From XML

Aug 27, 2009

I've modified a flash movie that displays images in a slider control. When the user mouses over the image I display a tooltip. The problem is I cannot figure out how to parse the Description(desc) out of the image tag in XML to display as the tooltip text. Heres what I want the image tag to look like:[code]In the actionScript how could I simply parse out the description to pass in as the tooltip text?

View 1 Replies

Flex :: Method Description In Code?

Sep 16, 2011

I am new to flex and am using flex builder 3 , many a times code assist shows a lot of function but i am not sure what these functions do. How can i configure flex builder so that it also shows descriptions of the methods like the one we get in java.

View 1 Replies

ActionScript 2.0 :: Create A Rollover Description?

Jan 6, 2006

how to create a rollover description whereby when i rollover a button a description box pops up at the bottom which either scrolls information or shows shows some text.

I've created my buttons and have used "hover captions" which have worked perfectly, however i would like a description box at the bottom of my button so when i rollover the button some text scrolls or just displays a box where i could put a lot of text.

View 4 Replies

IDE :: Add A Description For Each Picture In A Text Field?

Apr 22, 2009

in the if statement below ? I'm looking to add a description for each picture in a text field... something like: if picture1 selected, text="", else if picture2 selected, text="", else text="";

[Code]...

View 2 Replies

ActionScript 2.0 :: Title And Image Description

Jul 30, 2010

I bought an xml flash template and i am trying to modify it.In main.fla file there is a layer named functions. At this layer there is actionscript code where i saw this part:[code]When i push the image gallery from the main menu, then the image_gallery.swf loads. There, i have 2 categories with photos, each of whom loads title and description of images from website_xml_imagegallery_xml/category1.xml and website_ xml_ imagegallery_ xml/category2.xml. My problem is that whether i open a photo from one category or from the second category, the title and the description remain the same as the first category's. I figured out that the title and the descrption of the first photo of the second category is the same as the title and the description of the first photo of the first category and this depends of what i am using at the last line of the attached code:images.load ("website_xml_imagegallery_xml/category1.xml");So, if i write category2.xml instead of category1.xml, then the first photo of the first category will have the same title and same description as the first photo of the second category.It seems like each category cannot read from its category.xml. Look at the xml files as well.

View 2 Replies

ActionScript 3.0 :: Loading Title And Description From External XML

Feb 15, 2009

I am creating an Autorun for CD using flash CS4 in which Tilelist will show product image and slider will slide across images. when slided, product Title and Description should be shown.But instead of showing, Text field goes blank and nothing is shown.

View 5 Replies

Professional :: Changing Meta Tags And Description On SWF?

Feb 22, 2010

I bought a template, made some changes, published it and upload it on FTP. But each time I do a search, one one the search results is one of the orignal page names. Any tips on how to change it?

View 2 Replies

ActionScript 3.0 :: Hover Description Appearing Behind Object

Sep 15, 2011

Above is a pic of a combo box loded with values. Id like to have it so when you mouse over the dropdown, a hover descripition of the value the mouse is currently on appears on the screen. I have it complete for the most part...but as you can see, the description displays behind the dropdown. Ive tried this.setChildIndex(textDescription, this.numChildren - 1)" and no luck.

View 6 Replies

ActionScript 3.0 :: Display A Description Of The Information In The Combo Box?

Sep 19, 2011

I want a combo box to display a description of the information in the combo box. The name property is a good way to do this in my opinion "comboBox.name = This is what I named this Box". I have a text field ("textDescription") set to display the name of the comboBox on MOUSE_OVER, but only on the edges does the actual name of the comboBox appear. When in the middle, the textDescription displays "instance #" where # is an actual number. Is there some kind of container placed over the combo box or something??

View 5 Replies

ActionScript 2.0 :: Create A URL Link For The Description Text?

May 26, 2010

I want to create a URL link for the description text. Everything works fine until I get to the actual link - it's displaying the HTML. I've clicked on the HTML button in the properties inspector for the text field (see the attached photo); I've also added the following in the AS:

Code:
desc_txt.html = true;
desc_txt.multiline = true;

No luck; it's still displaying the HTML.

Code:
function nextImage() {
if (p<(total-1)) {
p++;

[code]....

View 2 Replies

ActionScript 2.0 :: Load Description Text With Images?

Mar 19, 2003

im making somekind of an imageloader flash files, with a next and previous button, and a square to load the *.jpg file, and another square to put a description text. how if i want to give a description text using a *.txt file who has the same name as the image file? how to tell flash to display texts inside a textfile in a square?

View 7 Replies

ActionScript 2.0 :: Adding External Description To Portfolio?

Jan 21, 2008

What I have: A scrolling thumbnail portfolio page that is linked to external xml file so the client can add pictures as needed by adding to the xml file. (actionscript from within Flash is enclosed just in a .txt document, along with the .xml file)

What I need: To add a description to each image, so when you click on the thumbnail, it loads the larger picture, along with the description. I have a mc called description_txt where I would like the description to load for each image, but don't know how to set it up to associate with each image. I have seen XML files that call to a different .txt document for each image, with the descriptions in it, but I'm not sure of the mechanics of it. . . how I should set up the .txt file, how I can call to it, and how to revise my actionscript to retrieve it.

View 1 Replies

ActionScript 2.0 :: Get The Nodevalue Summary And Description In Tag OBJECT?

Nov 5, 2009

Please, anyone can help me to parse this xml sample. I want get the nodevalue summary and description in tag OBJECT? I need actionscript code.

[Code]...

View 4 Replies

Professional :: Publish Site On Flash? (read Description)

Jun 11, 2010

I need to publish it to web so if you go url... you see my flash website (I'm using Flash CS5).I heard from somewhere I need Dreamweaver, also, to publish a site made in Flash to the web.

View 3 Replies

ActionScript 3.0 :: Add Description From Xml To The Full Size Loaded Image

Sep 5, 2010

I have a picture gallery that loads a few thumbnails into a holder via  xml and AS3. When you click on the thumbnail it loads the full-size  image into a Loader.How could I add a description from the xml to the to the full size image.[code]

View 4 Replies

Flash :: Correctly Load An .md2 Mesh Description With Papervision 3D 2.1.932?

Jan 15, 2010

How to correctly load an .md2 mesh description with Papervision 3D 2.1.932 ?

View 1 Replies

ActionScript 2.0 :: Fetch 'description' From Xml And Display In Text Field?

Jan 21, 2009

I'm making a media player which has a playlist of 8 or 9 flv's, I'm using 'videosourcepro' as my basis.

What I need to do, is when a user selects from the playlist (populated dynamically from an xml file), the title of the selected track is displayed in the title_txt dynamic text field.

which I could perform the afore mentioned task?

I've uploaded my source files and you can download them here

View 4 Replies

ActionScript 3.0 :: Add Description From Xml To Full Size Loaded Image

Sep 5, 2010

I have a picture gallery that loads a few thumbnails into a holder via xml and AS3. When you click on the thumbnail it loads the full-size image into a Loader.How could I add a description from the xml to the to the full size image.

View 2 Replies

ActionScript 2.0 :: Input Field >= Show The Label Description?

Mar 16, 2012

I have drop down list if i select the Bank draft or money order it should show the description in one of the lable. it is showing now. But i want to display the description if one of the other box value is greater than 1500, actaully there are two field one field has value for Security deposit amount and second is drop down security deposit type in this if the value is > 1500 the description should show.

Field One (Input box)
Deposit amount (entering values in the box)
Field two (dropdown)
Deposit Type (Bank Draft/ Money order/Personal check)

If the value is in the deposit amount >1500 then it show the description under one lable "Please Send your postal address proof)i have that funciton

ActionScript Code:
IncludeInfoItems = function (bool) {
if (!bool) {

[code]....

View 0 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved