IDE :: Use Some Xml Content - To Then Get Another Xml Node / Content
Aug 10, 2009I want to use some xml content, to then get another xml node/content, such as
[Code]...
I want to use some xml content, to then get another xml node/content, such as
[Code]...
to get a proper content of the following xml-node:
[Code]...
what is the correct way in as3 to get the content so that the " " linebreak stays intact?
I'm have made some buttons (movie clip) and when I click on it, I want a file (home.swf) to load in a loader (mx.contents.loader) and I want the other buttons to do the same, all load into the same loader. I have no Idea how to do that. The way I have it set up now, the home.swf will load over the entire screen and that is not what I want. I just want the content to load into the loader and have its content change once I click on the other buttons. Here is a copy and past of that I have at the moment, I'm using Flash 8 to do it all.
[Code]...
How to remove a loader and its content using removeChild or any other way, I had removed the loader but its content still playing in the background i know that from the sound of the content.this is the my code for removing:
removeChild(getChildByName("SampleLoader"));
how it is possible to edit dynamic content and modify the content and save it, all within flash.I have tried some experiments in the past and have got the text to change etc which is easy but i need a way to save the content so the next time anybody sees the flash it will have the latest content until i change it again.
View 2 RepliesI'm loading one SWF into another but the internal one is coming over the main content and that can't happen.here is the part of my code where the external content is being loaded anyone hason what I can do to fix this? here is my code:
Code:
var loadAnimBox:Loader = new Loader();
var vid_mc:MovieClip;
[code].....
I have a menu whee you can choose a picture to lead, works great with first selection, but when you choose a different picture it loads over the last picture,I want to substitute the content of that movie clip not to load all the pictures in the same space. I treid to use clear() and removeChild(), but this only works when I choose pic1 then remove that to load pic2, is there an easy way to substitute the content for the new content?
View 1 RepliesI am a designer working in a flash file on the navigation part. The web site (is not yet posted) works fine but I need to change the contents when the menu is clicked (contact us, etc. ..). I need to find where the information is so I can change the address, phone number, info. but I have looked everywhere and cannot find it. Where could it be hiding?
[Code].....
The HTML content below the flash content not displaying in IE8 browser. Here is the code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24" width="100%" height="100%">
[code]......
is there a way to keep the content of a mc (attached content) when I duplicate it? I know that duplicate remembers size, position, rotation etc. But I want to get the attached content too.
// Example.
Container1_mc.attachMovie("star","obj_1",1);
Container1_mc.attachMovie("stripe","obj_2",2);
[Code].....
how to load external swfs into the an MC content box using movies with embedded buttons?the problem i'm running into is this: i have animated buttons within movie clips. i also have a main_content MC in my scene into which i'm trying to load background images from another file. this other file has 3 frames, each with a different image.i don't know what the action script would be for a movie/button to load my external swf frames into the main_content MC.
View 1 RepliesI have a problem with scrolling content.I m using the information and files from the following tutorial...http:[url].....The scroller is working but I cant see the actual content.I cant figure out what the problem is, I�ve uploaded the .fla file so that you can check it out...http:[url]......
View 2 RepliesI'm developing a Flash application which is communicating with Javascript to allow more features such as custom html input etc., by placing an absolute positioned div on top of the flash application and controlling it's position etc. with Flash & Javascript.
Because these html elements have to appear above the flash content, I figured the following basic css would be enough to do the trick:
#flashContent {
position: absolute;
left: 0px;
[Code].....
So, the htmlContent has a higher z-index than the flash content and thus it should be shown above it. Unfortunately, this only seems to work when you set the Flash object's "wmode" parameter to "transparent".
The problem with this setting is that it's seriousely decreasing the application's framerate to an unacceptable amount.
For static content this does not seem to be a problem, however for my application there's all kinds of elements that you can drag around which have to be moved real-time (while moving the mouse).
So, how do I enable html content on top of flash content without using the "transparent" wmode parameter or how do I optimize framerate when using the "transparent" wmode parameter?
I have an xml doc which works beautifully....now I want to edit the "content" so that it display html content, ie....within the text of the "content" I could add bold tags or add a links or something like that....I have looked up and down and no thread I could find has a straight forward definitive answer...not just on here either...is it that difficult...i doubt it?I will have to set the properties of my text box to accept html...right?so something like this....
theText.html = true;
THis was my attemp...(the first part)...but no deal...
Code:
<icons><icon image="shoes.png" tooltip="www.shoes4crews.co.uk" content="I made this...<![CDATA[<a [code]....
am a graphic artist trying to be a web designer and it's not working! I am constructing a website where I have a navigation menu nested within a movieclip. On each button click I want the current content to fade out and the new content to fade in. Content consists of new imagery and text. Now since I have these buttons nested within a MC I realize I'm unable to simply use simple gotoAndPlay because it will not be referencing the main timeline. Forgive my AS ignorance,
View 3 RepliesIs it possible to get the content of a ppt file with as3? Possibliy similar to loading and reading an xml?
View 3 Replies[code]...
iphone safari can't see <a id="alternative" target="_blank" href="#">iphone can't see me</a>
But PC's safari,firefox can see the alternative.
Can I play/parse SWF content on the iPhone using FFMPEG? As per the document it should support ShockWave Flash (SWF).
View 1 RepliesI'm revamping a website I'm working on to be accessible to those with disabilities. I'm using the Jaws screen reader to test.The Flash content is embedded in a ColdFusion page.The problem I'm having is that I can't seem to navigate to the Flash content on the page...
hitting the Tab button on the keyboard only tabs to the next link on the ColdFusion container page, never tabbing to any of the Flash buttons.If I click on the Flash content once, I can then tab between the Flash elements, but 508 standards require keyboard-only access, so clicking once isn't an option.Also, even though I've given each Flash button a name in the Accessibility panel, the screen reader is not reading the names. (Works fine in an all-Flash page, but not in the case of Flash being embedded in a ColdFusion page).
I was looking for the difference between the different content types in Flash CS3/CS4 - Browser/Screen Saver/Application etc - especially it's capabilities and limitations. Of interest are Standalone player and Application.
View 3 RepliesI have a movie clip that loads thumbnails from images folder by reading the location of image from xml file...The problem is I have put up a scroll bar but its not working i.e its not scrolling the thumbnails' movie clip contents. I am uploading the fla...any line of code I need to change I think its the scrolling function. The scrolling script I used is from kirupa. I don't want to use classes in this...and want the up n down buttons to remain.
View 6 RepliesI need an easy way to let my customer edit txt content on the web..
View 5 RepliesI've run into something I find very, very odd. Bordering on bug-level odd, even.I load a gif file with a Loader. No fuss there.I then attempt to instantiate two different bitmaps with the loaded content:
image = Bitmap(loader.content);
image2 = Bitmap(loader.content);
I then place them apart on the stage so I can see them both:
image.x = 50;
image2.x = 200;
Finally I add the bitmaps to the stage:
addChild(image);
addChild(image2);
But only one of them turns up - depending on the order in which I assign the x-values. The bitmap I assign to first, is the one that renders on the stage.I should have two distinct bitmaps after the first two lines.When I examine the values, it's as if there's only one object on the stage, yet debugging info suggests that there are in fact two objects, both referencing the same bit of memory for the image.
trace(image.x);trace(image2.x);trace(stage.numChildren);
These traces yield: 2002001
How do I force it to make an actual copy of the content, not just the memory reference I think is going on here? I'd really prefer not to load the gif file for every new instance.
I've got some files that I use in Flash CS4 and I need to use them in Flash MX2004. I worked out that I could open the files in Flash CS4 and try to edit the content from the library with Photoshop CS4 (right-click on the item in the library, Edit with...) but for some reason it doesn't work.
So I worked out that I could drag and drop one image at a time on the stage and use Export feature to export it as an image. It worked! Now, my question is: How can I export a sound file form my library onto a disk (so I could use it in Flash MX2004)?
I have a flash application which has alternative content when Flash is not available, this works fine. However if a firewall blocks SWF files the SEO content does not show. The flash plugin is still installed so the alt content is hidden but what remains is just a blank screen where the Flash object should be.
View 1 RepliesIs it possible to have Flash content from one Iframe appear over the top of content in another Iframe? e.g. as if one wanted to have a drop down menu?I tried exporting an animation beyond movie size, with a windowless transparent setting but that didn't work
View 2 RepliesGeting non secure content message
View 5 RepliesI have a structure like This is what data.data = <node classid="1" label="Teacher" Addr="#1, CP"/> How can I access the content, i tried
data.data.@node.label
data.data.node.label
data.data.label
We are designing a Flash-based language course, and I am not sure which architecture we have to choose. The content won't be uploaded to the Internet, it will be used only locally.Possible architectures:1) A single SWF with all the data stored internally - it seems a rather clumsy and inefficient way (or it's not?).2) To make a Flash-based interface, and to keep the data saved in a MySQL database. It presumably allows to organize the content better, avoiding self-repetitions. The problem is that the language teacher (who is not an IT specialist) will have to install additional software to handle MySQL.
View 2 RepliesI've got a Flex 3 project. Flex makes an ExternalCall to some Javascript. The Javascript is then turned into XML.
But, my xml isn't parsing in IE. It works in all other browsers. I think that the problem is that I haven't set the XML's content-type and IE doesn't like that. So my code looks like:
myReturn = '<myXMLReturn>' + myReturn + '</myXMLReturn>';
myReturn = '<?xml version="1.0" encoding="UTF-8"?>' + myReturn;
xmlReturn = new XML(myReturn);
How would I set: header('Content-type: application/xml'); in Actionscript?
As I understand it IE requires that the Content-type be set.