Creating Pop-Up. Swf File?
May 15, 2009
So I'm using Adobe Flash CS4 and I'm trying to create a pop-up window with an enclosed .swf file (not a link). I want the pop up to have my gallery/portfolio artwork but all the code that I try doesnt work.
View 11 Replies
Similar Posts:
Aug 11, 2009
I am creating a SWF file using a MXML file. The MXML file define several MX:Button and uses an external stylesheet to style them. There is a problem I am facing at the moment, I am aiming to style the buttons in a way that is similar to the way I can style HTML button elements. However, I could not achieve such look and feel. For example, I could not find a way to define the color and thickness of the borders for each side of the button (top, bottom, left, right), the background color, the margins, the padding, the width, and the height of the button. Also, selector such as hover, active, focus are not available. I was only able to change the size and the font color of the button successfully.
View 2 Replies
Oct 19, 2010
Initially I had a 2039 error I resolved this by using a local testing server, which resulted in a 2038 error. So then I hard coded the url and now I dont get any errors but the file doesnt upload.
Instead a file is created (FileUpload.cs) in the directory where the files should be.
Does anyone know what this FileUpload.cs file is?
View 0 Replies
Jan 22, 2011
I have an application that allows to user to select an image, write the text on the image and user can fade the image as well. I have created a canvas where user add all what s/he wants. Now what I want is how to create a swf file what the user has created and save it on the client machine.
View 7 Replies
Aug 25, 2009
I have a file .fla and some other files like .as(I think they are actionScript classes dependent of the fla). But I am trying to create the swf with adobe flash. So I open the fla and I do: File - export movie but the resultant swf file is less size than the original swf file because I think it is not including the dependent *.as files.
View 2 Replies
Sep 9, 2009
I am having an XML file which I am reading in Flash/AS3. I store the loaded XML into a variable say: parentXML. From this parentXML, I am creating two XMLs say child1XML and child2XML, depending on certain conditions.The problem I am facing is that when I change a property of a node in any XML, it gets changed in the other XMLs also, wherever it was addedWhat I think is happening is that in actual no new node is getting added in the child XMLs, rather just the reference is getting added.here is a snippet of the code I am using:[code]
View 2 Replies
Aug 30, 2010
Can i create a another swf fie when clicking from main swf.
i did this but its giving me an output into another IE browser. i want to open a new window like main swf and not into IE browser i had this code,
videoBtn.addEventListener(MouseEvent.CLICK,openSwf1 );
function openSwf1(event:MouseEvent):void{var request:URLRequest=new URLRequest("whateverswf.swf");navigateToURL(request);}
View 5 Replies
Aug 30, 2010
Can i create a another swf fie when clicking from main swf.i did this but its giving me an output into another IE browser. i want to open a new window like main swf and not into IE browser i had this code,[code]
View 9 Replies
Nov 12, 2009
I want to create a text file in MAC through AS2. I am using zinc mdm as third party software. I am not able to give a common path for MAC like for windows. In windows you have "C:\" for all the machines.
View 1 Replies
May 28, 2009
I have to make a list every document linked in a multiple .fla files. I can pull them up doing a find for .pdf but I can't figure out how to copy the links from the results field. Each file links to 1000+ pdfs, so i'd like to avoid doing this one at a time. Is there a way to export the results of the find function to a .xml or .txt file?
View 1 Replies
May 11, 2010
I use Flash Cs4 and all of a sudden when I try to export to avi I get "error creating avi file." why or how to fix this? I can still export to quicktime.
View 2 Replies
Jul 16, 2010
I have several mp3 files that I use in my Flash animation but I want to publish this animation as a single SWF file. Don't want the mp3 to be also made available along with the SWF.
View 4 Replies
Nov 18, 2011
Currently my application uses the following arrays to populate a map with data depending on the user's selection.
<fx:Declarations>
<fx:Array id="fwo1">
<ammap:MapArea instanceName="borders" color="#FFFFFF" mouseEnabled="false"/>
<ammap:MapArea instanceName="SE" title="SWEDEN" value="4447100" customData="
[Code]....
After much searching, I just haven't quite found an example that will let me make the leap from hard coding to dynamically loading the data (in large part, because of the name space declaration as part of the array element).
View 2 Replies
Mar 30, 2010
I want to ask if someone can give me an example of creating child through xml. I mean creating custom components through xml (for every xml tag you create your own custom component and then add it as a child to the stage). I hope is it clear enough... :)
View 2 Replies
Apr 6, 2011
I would like to locally save an XML file with ActionScript, as a temp file, if at all possible. I've read all about how AS won't let you do this without dialogs (and I understand the security concerns), but surely there must be some sort of temp option? I need to dynamically generate some XML to pass to another swf using URLVariables (I have no control over this part). Right now, I can only pass in previously created XML files.
var urlReq:URLRequest = new URLRequest(url);
var variables:URLVariables = new URLVariables();
variables.data_file = "us/data.xml"; //data.xml is static/already created
urlReq.data = variables;
ldr.load(urlReq);
I would like to replace us/data.xml with xml I've created.
View 1 Replies
Apr 21, 2009
I am relatively new to Flex/ActionScript, but I have been using a pattern of creating one file per function in my util package - with the name of the file being the same as the name of the function.
Like if the file was convertTime.as:
package util{
public function convertTime(s:String):Date{
...
}}
This way I can import the function readily by doing:
import util.convertTime;
...
convertTime(...);
I like this way better than importing a class object and then calling the static methods hanging off of it, like this:
import util.Util;
...
Util.convertTime(...);
But, the more I do this, the more files I'll end up with, and it also seems a bit wasteful/silly to put only one function into a file, especially when the function is small. Is there another alternative to this? Or are these two options the only ones I have?
View 4 Replies
Apr 5, 2011
I will be creating a UI that loads an xml file. The UI will allow the user to edit some questions and categories that are found in the xml. (UI pulls data from xml). Will this require use of php and mysql? Is there a way to do it without using a server side language-say I want this to run standalone..not online....
View 3 Replies
Aug 7, 2006
I have a swf gallery that I created in flash MX which accesses images in folder using an XML file. This XML file has a header and a footer, and a standard image node for each image where the information of the exact name of each image... ie image01.jpg and the description of it ... and their locations .... is gallery01/image01.jpg etc, where gallery01 would be the folder. Currently all of this information about the images is entered by hand in the XML file and this task starts to become very tedious when there are many images per gallery. What I would like to konw.... and like to do... is create an swf or flash application that would create a the xml file... Ideally I would like the user to have a sort of gui in which each image from a folder to which he or she browses to ...is displayed... one at a time... and with the display of each image .. there is a text field where the user can name and type the description of the image.... and all of this data should somehow be recorded and stored in an XML file.
View 2 Replies
May 22, 2007
I now have another issue that is preventing me from making this thing work properly. I have attached a zipped file of both the XML and the Actionscript. And here is the link to see what is happening at this point. Here's what I'm needing to do:I have 15 images. 5 images need to rotate in a single movie clip inside my flash movie. So I have 3 movie clips rotating 5 different images. The 15 images are in the XML file in three different categories (this will make sense if you look at the XML).I have the gallery kind of working, but the rotation of the images is not working properly. Again, I think all of this will make sense as to what I'm trying to do by looking at the XML and the link above.
View 8 Replies
May 2, 2010
Is the only way to create new files with AS3/Flash CS3 is with the use of Adobe AIR? or can you do this without using that?I'm trying to do this with a standalone desktop application, NOT a web-based application.I've spent most of the day searching google, and most of the results I've found were from 2006 and earlier and people used the fscommand function, but this seems to be obsolete now. There was one result I saw that mentioned that you would have to have Adobe AIR installed to do file manipulations and save/append to files, but I'm just wondering if there are other options now.
View 6 Replies
May 19, 2011
i know that there are ways for flash to use php to save a text file to a server, but i was just wondering if i could save a text file to a hdd, i've googled around, but nothing seems to work.
View 2 Replies
Mar 16, 2009
I have an app that lets you upload a photo and mask part of it. I want now to press a button that takes a screengrab of the flash player and saves it to the server.I'm aware this will require scripting to talk to the server but for the flash part of taking a I've even considered using fscommand to somehow access the printscreen function but don't think this will work after checking the documentation.
View 10 Replies
Mar 23, 2009
how to create a pop up window to load some images. Basically I have a button in my flash file(website) and I want the user to be able to click on the button and have the content displayed in a separate window. the separate window will be a simple swf file with some images. how can I link this external file?
View 1 Replies
Apr 13, 2009
I'm creating a portfolio which will load thumbnail pictures from a XML file.What I want to do, is simple, create a simple pre-loader for all the Thumbnails.My code is as follows:
Declare Variables =>
Quote:
var columns:Number;
var my_x:Number;
var my_y:Number;
[code]....
So, here is where the problem is. I want to show a progress clip (possibly one of those circle ones) while the Thumbnails are being loaded.What i have already tried to do is to add the code to insert a movieclip in the callThumbs function. But after that I couldn't remove the Progress child using the thumbLoaded function since it was declare in the previous function.
View 7 Replies
May 30, 2010
I am working on school project for a beginner Flash class. The code I was given in class for the preloader does not for my particular flash movie. Q #1: can you create the pre-loader within the same file as the movie (ie separate scenes)?Q #2: if yes, why wouldn't it wouldn't work for me? i was told that it doesn't for all files, but i would like to know why?Q #3: is there a way to do it through two different files with coding (the preloader file pulling up the movie file)?
View 7 Replies
May 22, 2007
Since I started using CS3 I sometimes get the following error: Error creating Flash movie file. Be sure the destination file is not locked or on a locked drive. Also, check that the file name is not too long. It doesn't happen all the time, and I haven't been able to figure out what causes it. I have been able to confirm that it's not anything to do with locked files/drives, permissions, or file name length.
It happens with files created elsewhere (by other developers) that I've modified, and it happens with files I start from scratch - I can create a new FLA on my desktop and it won't publish. Sometimes (but not always), publishing to a different directory than the one the FLA is in will work. This is becoming a big problem. I'm on OS X 10.4.9, 2.33 GHz Core 2 Duo MacBook Pro 17", running CS3 Web Premium package.
View 6 Replies
Nov 3, 2008
how the image in the background always fills the browserwindow and always stays in proper aspect ratio with cropping asnecessary, but the text on top of it floats over the imagedepending on how big the window is and the size of the text doesnot change.'ve been able to manage most of this. I can get my image toresize in the browser window to always fill it completely and cropas necessary. But the type that I want to place over the image alsoresizes, which I don't want it to do. I've done this by creating acustom class, which I've attached, and then setting the size of theswf file on the page at 100%.
View 4 Replies
Nov 16, 2008
i am trying to make a button that when clicked will prompt the user to downalod a file to a target directory of the users choice. I have tried using URLRequest but it just opens the mp3 on another window with qiucktime which, i suspect, will happen with most users. is there a simple way to do this? i have no problem creating the button its just the function code for the button im lost on.url...
View 2 Replies
Sep 18, 2009
I'm new to using flash and actionscript, but i'm looking to learn how to make a video or a series of videos play using flash. Where the user has to click on a specific part of the screen to play the next video. I'm using Flash cs3 to do this and again i'm new to this so i don't know how to navigate very well. If anyone could provide me with a tutorial or walkthrough on this that'd be amazing.
View 3 Replies
May 7, 2010
I'm using Flash CS4,i'm having problems creating a xml file to work with the action script for a 3D carousel. I've created folder for image png file and icons xml using a normal notepad in windows for file to work with the flash action script 2.0, but in output menu the msg says Error opening URL 'file:///C|/Users/User/Documents/caroselFile/icons.xml'.They're no compiler errors. Should the notepad be xml editor? I have been told i can use a normal notepad.Maybe i should of saved it in the fla directry but don't know where it is.
View 7 Replies