ActionScript 3.0 :: Data Driven Movieclip?
Jul 29, 2010Is it possible to create a data driven movieclip for the Pie Chart in Flash.
View 2 RepliesIs it possible to create a data driven movieclip for the Pie Chart in Flash.
View 2 RepliesIs it possible to create a data driven movieclip for the Pie Chart in Flash.
View 3 RepliesI could play a XML Driven SWF just fine by itself But when I load it into another XML Driven SWF, it won't get the data.Is there a way to make both XML SWF worked within each other?
View 3 RepliesI have been tasked to research methods for creating powerpoint-style presentations, but using Flash for better transitions, effects, etc. This also needs to be data-driven so that information can be easily swapped out for different presentations - maybe fed by an XML file?Any suggestions on where to start looking? Can Flash handle something like this, even outputting the swf of the final presentation?
View 1 Repliesusing model driven development in developing enterprise applications. Adobe's LiveCycle Data Services looks very promising, I have found numerous tutorials/videos that shows how fast an application can be build by having methods/functions auto-generated.What are the best-practices, is it good/bad to use those auto-generated methods, they can really save a lot of time.
View 1 RepliesWhat are your advises on using model driven development in developing enterprise applications. Adobe's LiveCycle Data Services looks very promising, I have found numerous tutorials/videos that shows how fast an application can be build by having methods/functions auto-generated.What are the best-practices, is it good/bad to use those auto-generated methods, they can really save a lot of time.
View 1 RepliesI've made a component based on a mx:TitleWindow that contains linkbuttons that I'm using as a context-menu. The TitleWindow component contains link buttons like this:
[Bindable]
private var _showEmailThis:Boolean = false;
[Bindable]
private var _showApproveThis:Boolean = false;
[Bindable]
private var _showReviewThis:Boolean = false
[Code] .....
This component contains a large number of links and is re-used by multiple modules in the same application. Within each module, this component is used when a user clicks on a row in a datagrid. The code looks like this:
In "Requests" module:
private function dgRequests_click(event:MouseEvent):void {
menu.showApproveThis = true;
menu.showReviewThis = true;
}
In "Performance" module:
private function dgPerformance_click(event:MouseEvent):void {
menu.showEmailThis = true;
menu.showReviewThis = true;
}
As you can see, the visibility of individual linkbuttons is controlled within each module by setting boolean properties. If I alter this component to use a renderer, how can I control the visibility of the linkbuttons from the code in each module (there are over a hundred links with different functionality - not every link will be used in each module)? Note: it is not known from the back-end which grid within which module uses which link. This is set in the front end within each module's actionscript file. E.g., if the XML looks like this:
[Code] .....
And I set the Email link to show in the module like this:
private function dgPerformance_click(event:MouseEvent):void {
menu.showEmailThis = true;
}
How do I make it take effect? Is there a way to control the visibility of a linkbutton within an item renderer in a component from the module that uses that component?
I have a dynamic text field in Flash CS4 which gets its value via XML from a back-end MySQL database. The issue is that I want to make the text field to display HTML text
my_txt.htmlText= <a href="http://www.pantene.com>"PANTENE COMPANY</a>
However, there is a problem in Flash both AS2 & AS3 and both CS3 & CS4 in the sense that when there are special characters ie: double quotation marks ", the XML loader does not read (retrieve) any data from the database.
How can I suppress these special characters ? How can I find a workaround ?
I bought a flash site template that loads xml driven swfs inside the main swf as different menu items are clicked. The modules that come with the template work fine, but I don't know how to add a third party xml driven swf, so that it shows up properly. While the third party swf works fine as a standalone, the embedded version loads just an empty movie.
View 4 RepliesI have an swf with xml and external content for which I need play, stop and sound volume controls at least. The swf doesn't have them and it's action script 3 so I can't even get it opened in flash cs2.
Is it possible to create external controls or do I have to pay someone to create a new swf to go with the xml and css files?
can create a new fla/swf file that I could later edit for size, colors etc in the case where I need to create a new one. and how much... If not I may still need someone to create the controls for me and run me through the process of getting them to work with my current files.
ive made a huge xml driven site (navi and content) but now i dont know how to seo it. all the data comes from a database so it would be a problem to insert it in my html, but i load my html only once and after that flash does the hole change subpages thing.
View 5 RepliesI have a XML file with images and tags which should be loaded into movieclips.The tags are separated in maintags and normal tags. Maintags are describing the image itself and "normal" tags are referring to other images. If you click on an image/movieclip its normal tags should be read and referring to other images' maintags which now should be loaded into the movieclips.Sounds complicated but actually it's easy. Theoretically I understand what to do, but I'm not able to express it in Actionscript.Here's my(rudimentary) code:
PHP Code:
import flash.events.Event;
import flash.net.URLLoader;
import flash.net.URLRequest;[code]......
Basically, i have created a simple rollover map of London Boroughs. I have a dynamic text box following the cursor which is populated by an edited version of the Borough MC's instance name. So far so good. I would really like a way of neatly loading text and image information in a pop-up for each Borough, when that Borough MC is clicked on, via an xml file which contains all relevent data.I have managed to create a simple xml file to contain the data, and to 'trace' the various required attributes (borough name, data, images, captions), but am unsure how to connect the data to the action of clicking on a particular Borough.From reading around the many xml discussions (mostly discussing image galleries) i think this involves using a loop array? As i am new to flash i am struggling to find the right way of applying this method in this circumstance
View 5 RepliesI have never done an XML gallery, I have read over many tutorials and searched google thoroughly without success.Basically I want an area on the left of thumbnails with a scroll, represented by the red line, when you click a thumbnail the large version appears in the large black area, doesn't have to be any fancy fade in/out effects, just show up.
View 4 RepliesIn fact, i make flash CD presentation in Adobe Flash CS5 AS2 (with minimal use of ActionScript). It occurs to me the next problem ... need to load flash image gallery that i already have created, in new presentation file. Gallery was created in Flash Slideshow maker and as products I have. Swf,. Xml and folders with thumbnails and picture (no. Fla file).The concept of the presentation (as root is concerned) should look like in uploaded picture "izgled otvorenog cd-a". In each of the folder on cd presentation (as on picture) is a Flash presentation controlled by their xml file whose name I must not change. Exe file "Prezentacija 2011" is a presentation (Flash Projector) that i try to make. In the same presentation i create frames and for each of the frames added action:
loadMovie ("02_Kapije/kapije.swf", "kapije_ucitavanje");
kapije_ucitavanje._x = 23;
kapije_ucitavanje._y = 167;
[code]......
I am looking for a non XML driven Flash banner rotator, something where I can load my images into the FLA and publish. The only rotators I can seem to find have external XML/image files, etc. All I want to do is create simple SWF's that I can use to display rotating images preferably is a smooth and stylish manner. Does anyone know of any, or could point me in the right direction?
View 1 RepliesI have an accordion menu fla, I copied the fla into my main fla so I have one file. The menu has external links that can be added in the xml file which is great but I need to link the menu from within the fla it is in. I need to have each mc or button in the menu link to a specific frame within the .fla I see now in order to do this I have to edit the actionscript within the menu. I'm new in AS3 but from my little experience in it I think I need an eventlistener that calls a function which will send the each instance to a frame inside the file.
Here is the original
[URL] (skip the crappy intro) and you will see 4 photos in an accordion. They link to separate galleries with no back buttons
Here is my remake [URL]
my version calls links thru an xml file which I posted above.
The file is in AS3
it is here [URL]
So I would need to link the 4 mc's in the menu to separate frames main.swf
I'm being asked if some resources I created can be made accessible. Currently each resource is the exact same launch.swf, but each is pulling from a different xml file. I'm so proud of myself! But now it looks like you can't dynamically generate accessilbe resources. I'm being asked for the alt.text equivalent of various text boxes, while the actual content of each box depends on multiple factors.
View 1 RepliesIm currently working on a system whereby a user can fill in text fileds within a PDF form, submit the data as XML and this is picked up by the Actionscript in a .SWF file thus allowing end user customisation without the need to edit the actual Flash files.I have all this working fine so far however im stuck at a particular part.I want to have radio buttons (or something similar) on each page of the PDF where the user can select if the page has to be output in the .SWF file or not. Ive tried creating the actionscript part for this however im completely lost. The XML from the PDF i can manage no probs but the actionscript part is stumping me.
View 3 RepliesI have a banner rotator / slideshow with 30 swf's. I have an xml file driving the lideshow. My problem is that I have video pop-ups in each of the 30 linked swf's and a geturl in each of the swf's. I need to be able to drive this content from the xml file. Is that possible? to read an xml file from a linked swf?
Root file AS:
function desc_change(id)
{
[code].....
I'm about to start work on my first app which will be an internal release to gather customer information at a trade show.I'm hopefully looking into using air for ios or maybe one of the various html/js frameworks to develop this app as an alternative to learning C.ideally I would do it with some server based php > sql to store and share gathered information between a fleet of iPads, unfortunately due to the population of this trade show there will be no guarantee that i can maintain a wireless connection so need to prepare for these apps all being local access only.in which case, how would you recommend going about the saving/reading of the stored data, and also how to sync it up with a sql server and then back to the iPads each night.
View 1 Replieshow to build an xml driven slideshow with fade transition? I would just like to know how they build this linked here.
View 0 RepliesI have been working on building a XML menu and I have been able to create the main menu but I am not sure how to add the sub menu items in a drop down. I have included a zip file of my little test project which is CS4 and includes the fla and xml file.
The menu items consist of the following and the sub menu options are listed. As I said I have been able to create the main menu but I am not sure how to add and display the sub menus.[code]...
I am trying to create something like attached picture. I want a start. how i can do it in flash AS3.0
View 3 RepliesI've been hunting for tutorials on XML driven AS3 menus. I've found some really cool stuff, but nothing that does what I want, and most don't really explain the "hows' involved in getting the XML into the flash. I want to dynamically load menu buttons based upon an xml document in horizontal fashion with sub menus that load 10px down and to the right of the main menu button. With each item in the sub menu filing to the right. I'd also like to have that light up bar track the main buttons so that as the mouse moves over the bar slides to it.
Here's the code for the bar:
ActionScript Code:
import fl.transitions.Tween;
import fl.transitions.easing.*;
button_mc.buttonMode = true;
button2_mc.buttonMode = true;
button_mc.addEventListener(MouseEvent.ROLL_OVER, hover);
button2_mc.addEventListener(MouseEvent.ROLL_OVER, hover);
function hover(e:MouseEvent):void {
new Tween(bar_mc,"x",Strong.easeOut,bar_mc.x,e.currentTarget.x,1,true);
}
Most of the XML driven code I have found obviously doesn't have a static instance name and use addChild()
I've read Sen's tut. on making the xml menu, but I couldn't spot and/or find a way to make the menu horizontal rather than vertical. I would very much like to use this effect as it would make my site so much easier to update as far as more or less links go.Here is the code from Sen's tutorial:
Code:
GenerateMenu = function(container, name, x, y, depth, node_xml) {
var curr_node;
[code]......
I would like to create a xml driven animated bar and pie chart. How can i create in flash?Is flash is the right tool to use or should i go for any other tool for such animated charts.
View 2 RepliesI am trying to build a xml driven portfolio. What i am trying to build is something like this [URL].. if you check the random works section you see 6 projects. What i want is to have 3 projects next to eithother and when a new one is added in the xml file then it puts it underneed the other 3 and starts a new line of projects. The project files will be external swf files. i would like the view projects mouse over part also to come out the xml file and i need a information part telling the company name and then the programs it was made in. I dont have a clue how to do this. Really would like some help i am checking out books and tutorials but cant find any good info. If somebody could hook me up with a quick and dirty source file with now extra's just the technique behind it.
View 1 RepliesI am trying to create something like attached picture.i also want it to xml driven pies so my data will be in the xml file. I want a start.
View 4 RepliesI've been taking advantage of kirupa's excellent tutorials for quite a while now, and lurked in the forums from time to time, but not registered until now. I'm finding myself having some problems that I seem to be unable to overcome, I've been trying to create a variant of the XML-driven drop-down menu that instead of displaying the submenus to the right of the mainmenu inserts them inbetween the mainmenu elements.[code]
View 2 Replies