AS2 :: Loading A SharePoint XML Data Into Flash?

Apr 12, 2011

I am trying to read XML data from a SharePoint site. The issue I am having is that the flash project works just fine when I preview the swf in flash, however when I try to view it in HTML it does not load the XML file.Now the XML file is not a simple document that can live in the same folder as the swf. I have to use a link to a web page. This is the code that I am using (sorry. had to change the web address)

Actionscript Code:
var testXML:XML = new XML();testXML.ignoreWhite = true;testXML.onLoad = function(success)   if (!success) {  trace("testXML did not load"); } else {

[code].....

View 4 Replies


Similar Posts:


Flash :: Export Data To Sharepoint?

Dec 3, 2010

I'm creating a Flash game that will be placed in a Sharepoint page. Is there a way to export data from the Flash game (ex: the user's score) to a different Sharepoint page? I'd like to display the high scores of different players in Sharepoint. Note: I'm using ActionScript 2.0 So here is the sequence of events... Player completes Flash game embedded in a Sharepoint page Flash exports player's score to Sharepoint database
Second Sharepoint page displays top ten player scores from database.

View 1 Replies

Asp.net :: Use Flash To Save And Read Data Within A SharePoint Site?

Nov 21, 2011

I'm a complete newbie to SharePoint and I've been tasked to develop a SharePoint site with Flash content (Flash CS3 or CS5). I've done some quick research on this and I understand there are different ways to query SharePoint. I must say it's been a long process for me to try to piece different bits of information to achieve what I'm asked to do.

So here it is. Develop a site using SharePoint 2007 with Flash content.User input in the Flash objects will be stored.Previous user input will be retrieved and displayed in the Flash objects for reviewing purpose.User input will later be processed/manipulated for reporting purposes.Embed FLV videos on certain pages. I understand data can be saved as lists in SharePoint and you can create custom ASPX to get the lists and parse it as XML input for a Flash object. Can I reverse this process when it comes to saving data?

What would be the best approach to implement the above requirements in SharePoint 2007 environment?

Or, should I consider saving data in an external DB, say MSSQL, and having custom ASPX query that DB and generate XML for Flash objects? Or maybe any APIs that can make this process easier?

View 1 Replies

Data Integration :: Pulling Data From A SharePoint 2007 List?

Apr 23, 2010

I'm wondering if anyone has figured out how to pull data from a column in a SharePoint 2007 list to be able to dyamically generate a reaction in a flash object.Our designer created a dashboard of thermometers for our projects that use two variables, % complete and status (green, yellow, red, blue).

As the end user, I want to be able to update my project in my SharePoint list and have it so that my updates automatically populate that flash based dashboard.Right now, he's using an XML document that is stored in a folder on our SharePoint site and then simply updating the XML file when there are changes.It would be ideal to pull this data from the list rather than having to update and then upload the xml document to the SharePoint site.

View 1 Replies

Flash Videos On Sharepoint?

Feb 4, 2010

We would like to display flash video files (tutorials) on our Sharepoint site.Problem is, we cannot seem to either stop it from auto-playing (using the Windows Media Player) or start it playing by clicking (using flash embed).We have a Content Editor WebPart with this code currently:

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="320" HEIGHT="240" id="Tutorial1" ALIGN="">
<PARAM NAME=movie VALUE="video.swf">
<PARAM NAME=quality VALUE=high>

[code]....

how we can get a "play" button or begin the video playing once the user clicks it?

View 2 Replies

ActionScript 3.0 :: Sharepoint XML In Flash?

Jan 10, 2009

It loads an xml file from the site's webservice and retrieves all the data from a list.If you look at the xml, attribuevalue pairs they can be in any order from the webservice.Also depending on the list set up in sharepoint the column names in the list will be different and therefore the xml schema changes. It sets up the namespacesit the calls getRSAttribues (my shiney new piece of code It then creates a multidimensional array with the attribute names from the schema of the XML then queries the data with the dynamically set up attributes.Its my first bit of action script and i would like some advice on how to improve the getRSAttribues function as the array seems to have an extra level to it. Any advice on how i would go about making it into a method or a parser/class/whatever would be very interesting.

Code:
var myXML:XML = new XML();
var XML_URL:String = "http://my.website.com/subsite/_vti_bin/owssvr.dll?

[code]....

View 3 Replies

Actionscript 3 :: Make Flash Work With A SharePoint List Instead Of XML?

Sep 14, 2010

I heard from an article somewhere that Flash can now use SharePoint lists instead of an XML file.

However, I'm having trouble locating a tutorial which will explain how to get a Flash app to draw from a SharePoint list.

I'm working with SharePoint 2010, Flash CS4, and I'm currently using AS3 to pull in data from the XML file on the Flash app.

View 2 Replies

ActionScript 3.0 :: Pass Variables From Flash To A SharePoint List?

Aug 3, 2011

how to pass variables from flash to a SharePoint list? (a step-by-step of the entire process would be best)

View 0 Replies

Flash 8 :: Pro - Displaying Sharepoint 2003 Area News Listings

May 16, 2007

I've been tasked with producing a Flash movie which will retrieve (presumably as an array) a list of all the articles in our Sharepoint Portal 2003 news listing, and display the title and abstract text, one story at a time (looping through every item in
the array).

I presume I need to use the WebServiceConnector, and point the WDSL URL to our Area's areaservice.amsx, and then presumably use the GetAreaListingData operation to retireve the data, and hopefully pipe the data out into a couple of dynamic text boxes,but beyond that I'm a bit lost. Talk about in at the deep end, but unfortunately as the only developer on site who knows anything at all about Flash, I'm up against it to get this completed as quickly as possible..

View 1 Replies

Sharepoint WebService With Adobe Flex?

Mar 22, 2010

I have My Sharepoint Web Service URL, but when i try to access it i get HTTP Request Error. My Share point Webservice has credentials in it. I have also set that in Flex.

webService.setRemoteCredentials("CITMOSSAdministrator","Pa$$w0rd"); When i trace the url, my console does read the XML, but i am unable to call the method. It throws me HTTP Request Error.

View 1 Replies

Flex :: Update A Sharepoint List From It?

Mar 14, 2011

I have been trying to find a way to connect Flex to sharepoint in an elegant way that allows me to update lists, build charts, and create widgets with FLEX on the client-side. I have researched this extensively but I am running into circles.

I understand the basics of Flex data connection/webservices/etc... , I just can't seem to get my head around how to use the sharepoint list services.

View 1 Replies

ActionScript 2.0 :: How To Make Swf Loop In Sharepoint

Jun 9, 2011

i developed a short movie in actionscript 2.0 with all of the AS is in one frame, and i chose "loop" under publish settings. the swf file has been added to a web part on my sharepoint site, but the movie will not loop. how can i get it to loop infinitely? is there AS that i can add for this? or does some coding need to be added to the aspx file?

View 1 Replies

Flex :: Retrieve The Sum Of Items From A Sharepoint List?

Aug 26, 2010

Is there any way to get the sum of items based on some filters from sharepoint list? I was trying to access the GetListItems method. But this returns all the items in the list. That makes the data heavy. My requirement is to get only the sum of items. For example items created in a specific year.I am trying to populate a chart in flex from the sharepoint list. Accessing all the items and then calculating the sum in flex will not work always where the list contains more items.

View 1 Replies

Flex :: Using Sharepoint User Credentials In An Application?

May 2, 2011

I am deploying a flex application in sharepoint as a web part. I am planning to use sharepoint user credentials for my flex application. My flex application consists of various different user roles like author,reviewer etc . An author should be able to see all the list of sharepoint users available and can make any number of them as reviewer or author . For this I require following functionality through sharepoint for my flex application:-

1) Getting list of all users of sharepoint

2) Getting the username of the current logged in user of sharepoint through the flex application, which is deployed as a web part in sharepoint.

View 1 Replies

Insert New Item In Sharepoint List From Flex?

Jul 19, 2011

i m trying to insert new item on sharepoint list from flex using sharepoint-as3-connector

[Code]...

View 1 Replies

Data Integration :: Loading XML Into Flash?

Sep 29, 2008

in loading an XML List intoFlash CS3.

View 1 Replies

Flash :: Loading Data From XML To Combo Box

Aug 19, 2011

My XML looks as follows [code]In my folder I have the XML as shown. There are 6 images in the folder and the names are given as urls. I have a combo box on stage. Its name myCB. There is an image holder imgHolder_mc.I have two tasks.Populate the combo box with the imageNames.Based on the imageName selected the image in the image holder must change. The image must be retrieved using the image url.[code]how I can bind this to my combo box and select images according to the selection I made in combo box.

View 1 Replies

ActionScript 2.0 :: Loading Data From My Sql To Flash?

Mar 31, 2010

loading a My Sql data base table in to flash

View 2 Replies

ActionScript 2.0 :: Using Loading XML Data In Flash?

Nov 6, 2007

I'm going thru the kirupa example of using loading XML data in flash. I came across this example, most of the logic makes sense to me but I don't understand the syntax

preloadbar_mc.target = my_xml; //my_xml is reference to the loaded XML object.

what does movieclip.target mean? I've search for movieclip.target but could not find any documentation.***For some reason, the forum is stripping out all the newslines in the code I'm pasting below! argghhh preloadbar_mc.onEnterFrame = function(){if (!this.target) return (0);var loaded =target.getBytesLoaded();var total = target.getBytesTotal(); var scale = 0;if (loaded && total){var percent = loaded/total;scale = 100 * percent;} this._xscale = scale;}preloadbar_mc.target = my_xml;

View 1 Replies

ActionScript 3.0 :: Loading XML Data Into Flash?

Mar 25, 2009

loading XML data into Flash using the tutorials in Kirupa but I got stucked just by doing the load code in ActionScript 3.0.

Below's the code that I use...

Code:
var my_xml = new XML();
my_xml.onLoad = function(success){
if(success){

[Code].....

View 3 Replies

ActionScript 3.0 :: Flash Swf Loading Data From An Xml Via Jsp From The Same Domain?

Dec 28, 2009

I have a flash swf loading data from an xml via jsp from the same domain. The swf is displaying the data perfectly fine from where I am at and for most of my user. However, one of my most important user report to me that the flash isn't displaying the data.

So here lies my question. At first, I thought it was merely an Flash player not up to date problem, but that user said he's using flash player 10 already and he has tested it with all sorts of browser. I have also try connecting to the website from that user's area, and it appears to be fine as well.

Base on the user's feedback, he was able to load the flash, but the xml data just won't appear. Somehow, I believe that it could be an individual computer's problem, but since I am no expert in the networking, and am having some trouble solving this problem,

View 4 Replies

Data Integration :: Loading Rss Feed Into Flash?

Apr 3, 2008

I want to load an RSS feed into flash so it is selectable if that is possible

View 2 Replies

Flash :: Data Integration - Loading Images With XML In CS4

Jan 19, 2010

i am creating a dynamic data list to show data for upcoming events on my website [URL] inside of the flash user interface I created: [URL] I loaded the XML file into the flash movie frame but the image will not show up Here is the XML file code used:

[Code]...

View 1 Replies

Data Integration :: Flash Not Loading One XML Attribute?

Jun 17, 2007

I have a Flash MP3 player that loads the song list from an XML file. I'm trying to set it up to take the customer to the online store to purchase the currently playing song. The player successfully loads the track name, artist name, and url to the song, but for some reason does not appear to the load the new attribute of buylink that I have just added. Given the code below, my buylink value is returned as undefined.

View 3 Replies

ActionScript 2.0 :: Xml Or Html Data Loading Into Flash?

Jan 13, 2009

im trying to do is assign the font colour and text into multiple text fields.

this is the code i have for the xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE data[
<!ELEMENT title (comments, image)>
<!ATTLIST title name CDATA #REQUIRED>

[Code].....

View 5 Replies

ActionScript 3.0 :: Loading Dynamic Data Using PHP To Flash

Jul 15, 2010

I have a database which looks like this
//---ID--//---Name---//---Price---//---Description---//
//--01--//--Classic---//----22----//---blahblahblah--//
I would wish to parse this data using php to flash. In flash, I have 3 dynamic text field. (classic_food_name, classic_food_price, classic_food_des )

This is my php codes
f ($_POST['sendRequest'] == "get_food_text") {
$sql = mysql_query("SELECT food_name, food_price, food_description FROM food WHERE food_id ='4'");
while($row = mysql_fetch_array($sql)) {
$food_name = $row["food_name"];
$food_price = $row["food_price"];
$food_des = $row["food_description"];
print "food_text=$food_name&food_price=$food_price&food_des=$food_des";
[Code] .....
It only shows my Food Name and nothing else.

View 0 Replies

ActionScript 2.0 :: Loading Database Data Into Flash

May 4, 2007

What I am trying to do is bring data in from (mysql)PHP into flash 8 (actionscript 2.0). I got part of this to work. I bring in the text and diplays just fine. So the next step was, To set the font size from anothere php loadvars (code below). Flash will not pick up that part of the code, were I set the font size.

Here is the code:
onClipEvent (load) {
info4 = new LoadVars()
lv = new LoadVars();

[Code]....

View 9 Replies

ActionScript 2.0 :: Loading Mysql Data Into Flash?

Jun 26, 2010

I am wanting to load a list of names from mysql into a textfield in flash. I also want to load just one image from an image path in mysql. How can this be done easily?EX. SELECT name FROM table WHEREEX. SELECT imagepath FROM images WHERE id=`1

View 1 Replies

ActionScript 3.0 :: Loading Mysql Data Into Flash?

Jun 26, 2010

I am wanting to load a list of names from mysql into a textfield in flash. I also want to load just one image from an image path in mysql. How can this be done easily?

EX. SELECT name FROM table WHERE
EX. SELECT imagepath FROM images WHERE id=`1`

View 5 Replies

Flash :: IDE - PHP And MySQL - Loading External Data Into An SWF

Jul 5, 2002

it took me so long to write this tutorial Well, here I go... Section 1: Introduction So you want dynamic content on your Flash movie. Sounds simple, right? Well let me tell it is, and well, it isn't. This tutorial assumes a basic knowledge of Actionscript, PHP and MySQL. If you have that, it's time to move on. Otherwise, I recommend you do some reading on the subjects... Section 2: Setting up your SWF to receive external data Loading external data into an SWF is a fairly simple task. Although the external text file method is probably the most widely known, it is by far the clumsiest way to get data into your SWF. Of course, this may be your only option of your server doesn't support MySQL/PHP! But for those of us who are fortunate to have these privileges, let me show you how Flash can get external data without having to create additional text files.

Dynamic text fields In order for Flash to get data from an external source, you need to make use of dynamic text fields. Simply place a blank dynamic text field on the stage and make sure you give it a variable name (NB: dynamic text fields have both an instance AND a variable names. In this case we want to focus on the variable name). Note the name you give to the field's variable name, as we'll need it when we write our PHP script. Once you have a text field setup, convert it to a movie clip symbol. Attach the following code to the resulting movie clip:

[Code]...

View 8 Replies







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