ActionScript 3.0 :: Flash - Render Xml Driven Flash To Plain Swf
May 23, 2011we have this banner rotator , rather than having the pics in a folder I want to render the banner to swf only with no xml.
View 1 Replieswe have this banner rotator , rather than having the pics in a folder I want to render the banner to swf only with no xml.
View 1 RepliesI 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 am a beginner in as3 and i want to import arabic text in flash cs5 using Text Layout Framework but the text in the result not look write what i do wrong this is the program
1.jpg
thes is as3 code
2.jpg
the result
[code]....
I have a very simple flash program code in AS3, inside this program there is a dynamic textfield html capable. Also i have a database were i will put some information.Each element in the database can be linked to other. For example, this database will contain tourist spots, and they can be related with others in the same database.This interesting spot is near <link to="ramdo2">ramdom place2</link>. And so, so so..The information in the database is retrived by the flash application and it shows the text on the dynamic textfield. I need somehow to tell my flash application that have to be a link to other part of the database, so when the user click the link a function in flash call this new data.The database is a simple Mysql server, and the data is not yet in there, waiting for your suggestions of how to format it and develop the solution.Im a php developer too, so i can make a gateway in PHP to read the MySQL and then retrive some format to flash, an XML for example.
View 3 RepliesI want to animate the human walk in flash from plain walking to running. Is there any location from where I could pick up the animation sequence either directly or for modification in photoshop etc.?
View 1 RepliesI would like to embed a css file using
[Embed(source = 'mystyle.css', mimeType = 'text/css')]
private var _css:Class;
but 'text/css' is not a supported transcoder. Is there a list of transcoders that someone can point me to? I really just need it to read plain text but 'text/plain' is not available either.
It's extremely slow to render any flash motion in CS4. I import to the stage some material and when I try to change and create any motion the processor usage raise up to 50% and the program freezing. It will be completly useless... Is there any solution to this problem?
View 2 RepliesIs it possible to render a pdf in a browser using PERL? What I have is a flash application that sends the rendered pdf binary to perl. The pdf is generated from AlivePDF.
#!C:Perlinperl.exe
##
BEGIN { $ENV{PATH} = ''; delete @ENV{ 'IFS', 'CDPATH', 'ENV', 'BASH_ENV'}; }
use strict;
[Code].....
This is only part of the displayed file, but I hope this helps. I don't want the code to display, I want it to look graphical. If I download this file, and change the extension to .pdf, it works perfectly.
How would you render a BitmapFilter (such as DropShadowFilter) applied to a sprite, to a seperate BitmapData Layer? which would then be placed beneath all objects.For instance if you have two rectangular sprites overlapping each other, with a DropShadowFilter applied to each, the result would be the filter overlaying and obscuring the other rectangular sprite - as shown below.
note: each filter may have different settings and so I cant just apply a uniform filter to a containing sprite. also: ideally this solution will be scalable to handle many animated sprites at the same time.
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'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 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 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 Repliesclient just asked if it would be possible to do some sort of online edit of some videos, text and graphics and then have flash render the final thing as a video.
View 6 RepliesI have a huge code execution with many loops and pre-rendering processes and I was wondering if there is a way to tell the flash player to take a little pause on the code side and do a render.
Basically I have my execusion that takes a while, and on each step I make a call to a screen and then modify the scale of a loading bar. Now the problem is that the user only sees the progress at the end, I know this is due to the fact that flash does code execution and then render, i tried to make calls to stage.invalidate to force a render but it wouldnt work until the whole execusion if finished either. Is there a way to force flash to render between two lines of code?
when I try to render a cube using Away3D + Molehill, I only get a white default screen, I followed the instructions here: hhe only thing I did not do, was the part that talks about the patch, cuz If I do that I get errors like when I try to import the Sprite class, for example.Im using FB 4.5.!
This is my code:
package
{
[code].....
do I have to pre-render scores in a game? I ask because I'd like to scale and fade in and out each score. Pre-rendering makes sense if you have to do it once only, right?
Does it take too much resources when pre-rendering each dynamically created scores individually? What are alternatives when performance of a game is important?
I want to create a 3d XML driven animated chart.
View 5 RepliesI have following AS code for XML driven PhotoSlider which needs a PreLoader because the first image loads too slow. how to implement into this XML Flash sldier?
[Code]....
I've recently been working on some bigger projects in Flash and would really like to be able to use Test Driven Development but haven't found a great way to do so. I'd imagine its a bit harder to do in flash as most of its projects require heavy user interactivity (drag and drop with mouse, keyboard input to move etc...).
View 2 RepliesI am a newbie programmer and i dont yet have any idea of the WEB. I wish to start learning a technology that will allow me to build websites( database driven) i dont know which one to choose. I know some actionscript3 and flash. Is it possible to create a database driven website using these alone? Or do i need to learn any other technology? If i do then what should i learn? I know j2se for the desktop and oracle SQL/MySQL
please show me a path. Also wanted to know if there is any technology like Wordpress for J2EE/flash OK so i finally got the feeling that i need to learn PHP anyway along with css and javascript. So it is fine. Also another query. Which CMS should i consider? Wordpress or Joomla?
how to make xml driven 3d Pie chart in flash?
View 6 Repliesi stumbled accross the following website: URL...As you can see, the site is driven using a hd video. the user can interact with the site by performing little actions with the mouse. I guess this is simply accomplished by seeking through the video using the mousemovements as offset.What i would like to know is, how are videos like this encoded ? How big is the video behind a site like this ? Is the HD content streamed from the server ? What compression would you recommend for similar quality ? Do you guys know a tutorial/article that deals with constructing "video driven" websites like the one above ?
View 1 RepliesI have an XML driven Flash site and can't get quote marks to work in Flash 6. They show up fine in version 7 and 8 of the flash player. Here's what I'm doing:
My XML file: (added line breaks just for this example)
[Code]...
how to get this working in Flash 6? We really want to use REAL quote marks.
details of "XML driven flash tree structure"..that could be something related to the left pane of Windows Explorer and i need to add the data dynamically...is there any useful tutorials or documents for this?
View 1 Repliescan flash take each frame and export it out as a image ? In my case, I want to create sprite images for a flashdevelop project using blitting. Of course I know there is a solution for this. like copy and paste each shape into a image editor such as photoshop and turn them into png's. But I am just seeing if there is a simpler means of doing so.
View 2 Replies[URL]. Our client communicates with a Rails backend to get login details and then logs into an Adobe LCCS server. We have been cruising right along but around noon yesterday we developed a bug that causes the swf to not render until you refresh the page. On subsequent refreshes it pops up right away. The problem happened even when I disabled the code that checks in with the Rails server. How could refreshing make a difference?
View 1 RepliesI would like to write a python script that takes a bunch of swf files and renders them to individual image files.Each swf file has just one frame (text, pictures etc.) and no animations at all. I have already tried the render command from the swftools toolset (The windows version), but the resolution of the resulting image is too low.So what I need is:Acommand line tool (Windows/Linux) or a python library which renders one frame from a swf to a bitmap or better to something like a PDF (It would be cool if the text data could be retained). It would be great if the target resolution/size could be set manually.
View 3 Replies