ActionScript 3.0 :: Pull Text From Another Page?

May 7, 2010

pull some text (numbers) from another page and the only way (at the moment) I can think of doing it is to load the page source into a string (or another var), and then break the string down to search for the particular text.

I found a way to do something similar in PHP, but I want to run this from the local PC which doesn't (and can't) have any form of web service running.

For anyone who's interested in why ... we have about 25 odd printers (identical) that every month we collect a colour and mono page count from. Every printer is connected to the network and each one has a web-based menu. To get the page counts, it involves going through around 4-5 different pages, and this has to be done with each printer. So I thought it would be handy if the text from the page counter could be pulled onto a single page (or stage).

View 1 Replies


Similar Posts:


Pull The Content Via An Xml / Php Page Under My Own Domain In Order To Get Around The Flash Security?

Oct 13, 2010

find the code to pull some simple text from an external website's RSS feed into a basic text box in a Flash movie. It would need to be in AS2 to fit with the website. I understand I need to pull the content via an xml / php page under my own domain in order to get around the Flash security, but I still can't scrape together the right code for it to work.

FLash CS5
Actionscript AS2
Publishing for player 9

View 1 Replies

ActionScript 3.0 :: Pull Data From Myspace Page (show Dates)

Apr 16, 2009

I am trying to find a way, if any,to pull show information from their myspace page to show in my flash app.Want to do this using php,but other than that not sure where to begin.

View 1 Replies

ActionScript 2.0 :: Image Gallery - Pull The Each Different Page As An Individual Swf File?

Feb 23, 2010

build an image gallery on a site i'm building.The way I have built the site use sactionscript to pull the each different page through as an individual swf file. see: http:[url]....The page im putting the image gallery on is 'Virtual Tour'.When I test this specific page in flash it works fine, however when I view the master flash file and click 'Virtual Tour' then it doesnt pull the images through. Im not sure why this is, as if you view the swf directly then you can see the images do work: http:[url]....

View 4 Replies

CS4/AS3 - Pull Text From A File?

Jan 7, 2011

EDIT: New problem, post #5 Say I have a flash website made, and to allow for minor information changes to be easily made by someone without flash, they can simply open, edit, and reupload to the webserver a text file that contains that page's info.So, how can I have flash pull text from a file, and always do that every time it's ran (ie, not have to republish a new swf)?

View 4 Replies

Dynamic Text In Pull Down Component?

Sep 11, 2009

I am using flash CS4, AS2 and have had a client request for something that I'm not sure is possible.

I have created a calculator that calculates the cost savings that my client offers their customers. There are many options available in the calculator and it is quite in depth. At one point there is a pull down menu where the site visitor can choose their product, then enter the amount they pay for it currently. If their product is not listed, the site visitor can choose "other" from the list.

Is it possible that when the client selects "other", the text IN the pull down component for that option could be dynamic, so that the site visitor can enter the name of their product? The product they enter does not need to be submitted anywhere, nor does it need to remain upon that visitor's next visit. It simply needs to be there for the duration of their current session, to help the client keep track of what product they are comparing.

View 1 Replies

Pull Images And/or Text Into Web Interface/app?

Nov 2, 2011

how to go about searching for this since I don't know the terms used for it. I am trying to make an interface to use on a website that would have to pull up images and text with no preloading. Think of an online encyclopedia; you put in a word and it pulls up the object/animal/etc with a description. I am looking at needing to pull up thousands of different things; hence the no preloading.

View 2 Replies

ActionScript 1/2 :: Pull XML Data To A Text Box?

Oct 5, 2009

How could I get the XML data in to a text box?[code]...

View 8 Replies

ActionScript 3.0 :: Pull A Random String From Xml Into A Dynamic Text Field?

Mar 23, 2011

I am trying to pull a random string from my xml into a dynamic text field in Flash. In this example, the first text field should bring in a random fruit (Apple, Pear or Orange). Im stuck as to which way I should randomly do this. This is my code right now in my movieclip:

[Code].....

View 2 Replies

Professional :: Pull In Dynamic Text From A Txt File And Display In A Webpage

Oct 1, 2010

I'm trying to pull in dynamic text from a txt file and display in a web page. The text works great when I view the .swf, but when I place the .swf in a web page the text no longer appears. I'm using loadVariables("text.txt", ""); in my ActionScript and text.txt is located in the same directory. I have embedded the fonts and I'm using Flash CS5 and I have selected Classic Text/Dynamic Text.

View 2 Replies

ActionScript 2.0 :: Why A Html Image From XML Will Not Pull Into Text Field In Flash

Oct 5, 2011

I have an XML file using CDATA and trying to pull my image in. Ex:

Code:
<ingredients><![CDATA[<img src="test.jpg" width="304" height="466" align="right" />Ingredients: Water, Carrots, Celery, ....

My text field has all the ingredients it needs in order to pull this image in i.e. multiline, render as html etc.

When I compile my swf I can see that the text moves up and it looks like the image wants to be pulled in and yet it doesn't show.

Things I have tried: Variatons of the file. PNG, JPG, GIF Moved the file into the same folder as the XML file

View 3 Replies

ActionScript 2.0 :: Pull Attributes From Xml File For Use In A Dynamic Text Field

May 31, 2007

im trying to pull attributes from my xml file for use in a dynamic text field but cant seem to get the actionscript dialed in properly. i have a php script which parses the data as attributes rather than nodes...so my actionscript must use these attributes!

[CODE]...

View 14 Replies

ActionScript 2.0 :: Pull Data From The Arrays And Put That Data Into Text Fields?

Oct 24, 2006

Flash 8, I have some XML creating a few simple arrays. These pull some movie clips onto the stage with incremented names: product1, product2 and so on. Inside these clips I have some code that is supposed to pull data from the arrays and put that data into text fields.

[Code]...

Shouldn't this last output be the number 1? I want to use this number to call the correct node for each clip,

View 2 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 2.0 :: Take A The Text From And Input Text Box And When You Press A Submit Button Have It Post To A Php Page

Oct 15, 2009

I want is to take a the text from and input text box and when you press a submit button have it post to a php page. All was going well... but then I changed my code from value1 = "password" to value1 = password.text; and the php instead of coming back with the user's password, comes back undefined. WHY WHY WHy, does it except it when I say value1 = "password" and not with the value1 = password.text; (and 'password' is the instance name of the input text... (not using flash vars)

[Code]...

View 14 Replies

ActionScript 2.0 :: Text Formatting In Text Brought In From ASP Page?

Feb 6, 2003

I'm trying to pull a variable from an ASP page that's pulling it's info from a database. The ASP page has a response.write that outputs &ScrollText = text that comes from the database. The ASP page works fine, but when I try to pull in the variable in Flash, it takes in all the html URL escapes, i.e.: %20 for a space %22 for a ", etc. I've tried using Server.URLEncode in my ASP page, but that didn't help any. I'm displaying this text in a dynamic text box with a scroll bar.

View 1 Replies

ActionScript 2.0 :: Print Entire Page But When Text File Is Scrollable It Doesn't Print Whole Text?

Jul 14, 2005

how do I go about printing entire, scrollable text area in flash movie, I know how to print entire page but when text file is scrollable it doesn't print whole text.

View 8 Replies

ActionScript 3.0 :: Pull Url From Xml?

Oct 18, 2009

I have listbox which load the names from the xml file now i want that when i select the name or item in the list and click on get button it opens the corresponding url (which is in the xml file)...

however it doesnt load the page instead shows textbox and problem loading page error.

View 6 Replies

IDE :: Pull URL From A Xml File?

Sep 14, 2009

I'm trying to pull a URL from an xml file, but have come up against a problem that I cannot solve.

The XML looks like this:

Code:
<photos>
−
<photo>

[Code].....

View 1 Replies

IDE :: Pull The XML Into Flash

Apr 6, 2010

I need to pull the XML below into flash.

I need the <name> , and the <coupon><title> and<link> </coupon>

Example display in flash would be.... Apple Bees Trivia Tuesday & BARGO Wednesday Coupon link here

Here is the sample XML...

<merchant>
<logo>Logo link</logo>
<name>Apple Bees</name>

[Code]....

View 6 Replies

Creating A Pull Down Menu?

Apr 22, 2010

I'm trying to create a pull down menu. Not one that drops down when rolled over but one that drops down when clicked and stays down until an item is selected. Once an item is selected or the menu is clicked out of it retracks again.

My strategy is to create a movie clip for the initial menu that when clicked jumps to another movie clip where ther menu is extracted and houses movie clip buttons that hightlight when rolled over and when clicked redirect to another movie clip related to the button that was selected.

is this the proper way to do this? And second: can you offer some direction for the action script?

View 1 Replies

Flash :: Use To Pull Up Bookmarks In A PDF?

May 27, 2009

I think that you can do this using html but if you have a PDF in your root directory will Flash be able to link to bookmarked pages in that document?

View 2 Replies

ActionScript 3.0 :: Reg Ex To Pull Url Substring?

May 18, 2011

I have a script that always returns iframe HTML back to flash. I was looking to get help on how to build some RegEx code to only find the URL. I would only like this substring so I can use it in another script.Here is the iframe code the I want to search for and return the substring:

HTML Code:
<iframe SCROLLING="no" id="myFr" style="width:660px; height:500px; border:0px; margin:0px; padding:0px; overflow:hidden" src="http://www.blabla.net/sdsdsd/?ut=wecsdsd&lang=EN"></iframe>

This is then best O could come up with but unfortunately.... it returns src=" too.

ActionScript Code:
private var _findTheURL:RegExp = /src=u0022(.*)u0022/i;

View 2 Replies

Flash :: IE And Mozilla For Asp.net Page With Master Page And Content Page?

Jul 1, 2010

I have a master page and a child page and have placed the javascript code inside the child page for flash movie.

The problem is the movie seems working when there is a alert on, without at least one alert msg, the code does not work, I am sure you people can solve, I can see that the following code works well in both Mozilla and IE, but only if the alert is ON, if I put it off, then the code does not work. Can anybody tell me what is the workaround :

[Code]...

View 2 Replies

ActionScript 2.0 :: Using LoadMovie To Pull In Different Ads (swfs)?

Aug 7, 2009

In CS4, using AS 2.0, I'm using loadMovie to pull in different ads (swfs).This is working great, but one swf is not getting along. It was coded in AS 3.0, and some content beneath masks is not displaying correctly.I obtained the original fla file, but still can't come up with a solution.I tried setting it to 2.0, but then none of the AS works.I don't know Actionscript very well so rewriting the ad's functions is not an option.convert the swf I'm trying to load in? Or an alternative to loadMovie in 2.0?

View 3 Replies

Make A Draggable Pull Down Button?

Feb 23, 2010

I just started making some simple banners for web sites. I got a new one to do this morning, and I was asked to make a button that says drag/pull here. as you drag/pull down, it reveals the layer below it. Also, as the button reaches halfway, it needs to go all the way automatically as well, so the users don't have to drag all the way down themselves. Is that something I need to do in actionscript

View 3 Replies

ActionScript 3.0 :: Pull Image From Library?

Jan 23, 2009

I'm using Flash CS4 as my IDE with Actionscript 3 and Flash Player 10. I'm working on a bigger project but the area I'm struggling in is dynamically pulling an image from the flash library (already loaded). I've been finding the same answers to my question all over and they seem to keep producing the same error so apparently I'm just not getting some little detail. I have an image loaded in the library called test1.jpg. I've right clicked on it and selected 'Export for ActionScript' and 'Export in frame 1'. The class is 'MyMc' and the Base class is 'flash.display.BitmapData'. My code is attached.

and it produces the following errors:

quote:

1136: Incorrect number of arguments. Expected 2. 1067: Implicit coercion of a value of type MyMc to an unrelated type flash.display:DisplayObject.

View 11 Replies

ActionScript 1/2 :: Pull The 10KB Logo From PHP?

Oct 21, 2009

1. In mysql db, I created a field called "logo" and made it a 'blob'. Using the BROWSE button in the mysql db I uploaded a 10KB logo. Is that correct? will I be able to pull the 10KB logo from PHP?

2. WHy isn't the image been comming in to flash? Will the code marked in red do it successfully?

[Code]....

3. 'ruth.jpg' is my logo name. Is my code correct in pulling it? echo '<img src="'.$line["logo"].'" alt="ruth" />';

View 34 Replies

ActionScript 1/2 :: Pull Data From A Column Instead Of A Row?

Mar 23, 2010

I know how to pull data from a row of an mysql db. But how do I pull the data on the same COLUMN in a MYSQL db? What do I need to send to the server side script?
 
E.g. The mysql holds 2 field names "COMPANY" and "CONTACT PERSON". How do I pull all the COMPANY names only?

View 3 Replies

Get Flash To Pull From External As File

Aug 15, 2011

What I'm trying to do is to get flash to pull the actionscript from an external as file.[code]

View 2 Replies







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