ActionScript 3.0 :: Any Info On Publishing MovieClip As SWF?
Jul 10, 2009
I'm designing kiosks for educational museums. My current project involves visitors generating content in a Flash-based interactive, and then having the ability to email their creation to themself, or others. My intention is to publish a swf from my program to a webserver and then email the visitor a link to a webpage with the swf embedded I'm having trouble finding any info on publishing a movieclip as a swf from AS3.
View 5 Replies
Similar Posts:
Sep 25, 2009
Is there any way to fill in a dynamic text box in one movieclip if a checkbox from another movieclip on the main timeline is checked?If it is not checked, the dynamic text box would be blank.
View 3 Replies
Jun 24, 2010
I have some scrolling content (info). I've also made my own scroll bar.I want the scrollBar dragger to be positioned in relation to the info._y as the user scrolls info.I have created two vars: one that worsk out where info._y is as a percentage and the other that works out where the scroll._y dragger should be as a percentage...
Actionscript Code:
var scrollBarPercent = Math.round(scrollBar.dragger._y / [code]........
also onMouseWheel working too.I need a small bit of code that takes the % of info._y and moves the scrollBar dragger to the same % but in relation to the Stage.height...so if projectGalleryPercent = 50%, make dragger._y 50% of Stage.height using scrollBarPercent.
View 1 Replies
Jan 14, 2009
I have 190 movieclips which display various types of information. When a user clicks on a movieclip, it has to tween larger but also send a string to a method. I'll probably e.currentTarget to use one function which contains a tween and I wondered if there was a quick way to pass string info in a similar way?
So, each movieclip has it's own value which can be passed to a method which will use that value. The only way I can think of so far is to have 190 functions which send the string data to the appropriate place. I'm trying to avoid that if I can.
View 2 Replies
Nov 28, 2010
I've dynamically created a whole bunch of movieclips.
I've given each clip a name based on a variable number:
mc.name = "mc"+i;
I've also use addChild to add a couple of dynamic text fields to each movieClip, named myText1 and myText2.[code]...
View 3 Replies
Oct 18, 2010
I am trying to dynamically address different instances of the same movieclip by passing a string into the movieclip address, but apparently I don't know what I'm doing. I'm trying something like below:
var vsTargetName:String;
vsTargetName = "instance50";
vsTargetName + vsThumb.thumbHighlight.visible = true;
Is something like this possible? What am I doing wrong/what do I need to do to make that work?
View 3 Replies
Mar 14, 2004
Here's my scenerio: in my product info MC, user can select from 4 categories which gotoAndStop a nested MC. Each of the 4 categories has 5 hit areas on an "imagemap". The problem that I'm running into is that on each of those hit areas (mc's), I have actionscript - so that's 5 x 4 of essentially the same actionscript. Only difference is text information and _x & _y co-ord's (code is for caption/images boxes) Could I store all that data in an array in the product info MC rather than having 20 blocks of actionscript??
View 5 Replies
Jun 17, 2009
I'm prettynew to flash and I have been trying to solve this for a couple days now and unfortunatelly I haven't been able to come up with the solution.When I publish from flash CS4 my swf gets cut on the bottom making very difficult to use the site.the full code is the following:
[quote]
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
[code].....
View 1 Replies
Feb 16, 2009
Just upgraded literally 2 days ago. Exporting a 525*275 size .swf, I reduced quality to Medium and JPEG quality to 50, and tried exporting in both Flash Players 9 and 10 with no luck. I can't find strict mode which I was told would help. One root keyframe, 13 buttons, 2 MCS and just 150+ lines of AS code. Some of the MCs have .jpg files loaded in for temp art (I code, I sadly can't draw). Ran Disk Cleanup and Defragmenter and restarted the computer with no luck.
View 9 Replies
Jan 22, 2010
I created a photo album using XML and actionscript 2. When I test it out on my computer it works great. Just how I thought it would. But when I publish it and put on the server it decides to get a mind of its own. When the page loads the images will go in a random order but the title attributes I created stay just as it should.So basically image 3 will come up first and title 1 will be with it. I changed the the title to print the url that is being called and it will say the correct thing but show the wrong image.
View 1 Replies
Feb 17, 2010
Is there a way to publish or export a an SWF file to a different size? I created this swf a while ago and now I need to send it with a short portfolio but the swf is 22MB. Plus I have a few other swf's to send with it. Is there a way of exporting it to a different size to cut down on the size of the file?
View 6 Replies
May 4, 2010
During the bet (for the small few that had one), apparently it was mentioned that flash will publish it's html files using swfobject, but I publish, i don't see swfobject. Does anyone have any info on this or is it a rumor?
View 3 Replies
Jul 8, 2010
I have a task quite interesting. (dynamic swf generation [banner creation])
a. I have a stage with tools such as importing images (resize, rotate etc..)
b. I have a text tool to create a textfield (change font, size, rotate etc..)
c. similarly i can draw shapes to.
these are all done in a movieclip that has already a defined shape (consider a banner size).Is there any way for creating a swf file dynamically from a movieclip which is on stage.
View 1 Replies
Aug 5, 2011
I've created a logo for a company, and I made an intro animation sequence, but with all the fades and different things going on, the two second animation turns into about five seconds.it's ridiculous. so i guess i'm asking if there's a way to publish to video format that will actually work, or for some recommendations on third party software that could publish to quicktime or avi successfully. all the ones i've tried don't play movieclips
View 1 Replies
Mar 8, 2010
i made several flash files and connected them with buttons with, behaviours [load external movie clip] but when i moved it to a cd the buttons dont work.
View 1 Replies
Oct 22, 2008
I have a 1mb fla which publishes a 240kb swf when I save the fla and either test movie or publish it takes about 1 to 1 1/2 minutes to publish. I publish other fla's with swf's of up to 650kb in 3 seconds.
View 3 Replies
May 6, 2009
I have created a Flash object which uses an xml to read the image path and few other attributes. I could successfully generate the swf and publish (html) the object.
When I view menu.html, independently in a browser it works fine. However, when I embed this, generated html (menu.html), in the home page of another website(homepage.html), it breaks. The images are not displayed.
View 2 Replies
Aug 19, 2009
CS3 on a 2.4 ghz intel core 2 duo Mac running OS X 10.5.8.I have been able to create my webpages and upload them to the host. They are viewable, linkable etc. Everything is working, but now I want to include some flash elements.I built a flash file in action script 3.0 and saved it in the files folder of Dreamweaver, I dragged and dropped the swf file into the design screen and saved it. I have uploaded the html file, the swf and fla files and the created js file to the host server, but the flash element does not appear on the page when I view it in the browser.
View 4 Replies
Aug 22, 2009
I have been using Flash for a while Flash 8 and now Flash 9 I dont know too much about the program, someone wrote the program for me and I update it. When ever I publish the Site to upload to my server I have to go into the HTML file and insert <center> twice to get the site to be center on the web.It is not a big deal to edit the HTML file but every time I do it I figure there must be some button i dont have checked in Flash to just do it automatically.Seems like with such a huge and powerful program that must be an option that I am missing.
View 5 Replies
Aug 25, 2009
Yes, I am currently running into an issue concerning publishing settings with Flash Professional CS4. I know how to make things animated in the publish setting, but things come out like the saturation is not all there in a project. I have no clue what to choose for the options to achieve the desired effect I want. It just looks drained of color. When I import items to the stage everything looks so clear and perfect, but when I go to publish it as a .gif animated it looks so bland. I'm sure Flash users are familiar to the settings provided for the .gif tab, if not I can give a list of everything thats there. I have included a screenshot of what my dialog box looks like as well.
Attachments: dialog-box.jpg (70.3 K)
View 2 Replies
Oct 27, 2009
I am having sever problems with publishing gifs in flash. All text turns into great big blobs. This has not allways been happening, it just started one day...I have tried reinstalling but the problem is still there...Heres something I made to show...I put a white background, and 30pt arial text saying "Test" in roughly the middle...it came out like this:
View 4 Replies
Nov 2, 2009
I just upgraded to Flash CS4 on my laptop. program that used to take 5 seconds now takes up to 2 minutes. I installed the 10.0.2 update, and searched the web for a solution. I am desperate because all of my programming is based on CS4. I know how to compile a swc and use FlashDevelop with the compiled graphics, but this isn't a solution for me. Whenever I need to make changes to the graphics I can't wait this long. I am using an HP dv5-1190. This meets the minimum requirements by far.
View 2 Replies
Mar 19, 2010
I have a problem that's driving me nuts. A real catch 22 it seems. I have a tutorial for creating a real cool mp3 player. The player shares url data ( allows others to embed the player among other things) so the addressing must be absolute. It works fine on my pc when I run from my local wamp server. Al my addresses are preceded with http://localhost. If I leave http://localhost in the url's it won't run on the server that I upload to and if I use the url from the server it won't compile. The addresses are in an xml file whiched is referenced in a class called PlayerDocumant the reference also uses an absolute address to reference the xml file.
View 3 Replies
Aug 6, 2010
I've just created a quick video player using the FLVPlayBack Component. When I publish, the HTML file always has a bunch of JavaScript in the <header> tab. What is this JavaScript for? I've tried to move the JavaScript into a seperate file and link it in the HTML file, but the .swf will not load. I've also tried just deleting the JavaScript, but the .swf will not load. I have found the only way to get the .swf to play is to keep the javascript in the HTML file. The problem I am looking at is I am building a webpage that will have two seperate video players, thus requiring two seperate .swf files. What I am concerned about is I'll have to have a boat load of JavaScript in the one HTML page which makes it messy. I've tried searching the internet, but not able to find much help. Is there a way around having to keep the JavaScript in the HTML file?
View 4 Replies
Aug 31, 2010
I'm using Flash CS4 and have a couple of FLAs (but not all my FLAs) that always get flagged as being modified when I publish. The issue is that my source control keeps wanting to have me check-in those files.
View 1 Replies
Aug 17, 2011
I have an FLA that has 20 scenes in it. When I publish it, the resulting SWF plays fine up to scene 16. At that point, I get the streaming audio, but the animation just stops. The scenes after 16 are empty.
This is a simple, voice narrated movie that is linear. The buttons at the bottom are AS2 pause/play/nextscene/prevscene. It works fine till I get to scene 16 and that's where it seems like it's just incomplete.
I noticed when it's publishing that the progress bar seems to get a bit over halfway and then the publishing dialog just disappears as if it's finished. It doesn't move the progress bar all the way to 100%.
If I do a test scene each one of those scenes publishes fine and plays fine inside Flash CS5.5. This only happens when I publish the whole thing. If I copy the timeline of scene 16 and paste it into a new movie, that single scene also publishes and plays fine. Again, it's only when it is publishing all 20 scenes.
View 1 Replies
Aug 28, 2011
Everytime I publish a swf from CS4 on my machine the swf appears briefly in the file system then is removed immediately after completion. I'm running CS4, Win 7, publishing to FP10. The fla was originally CS5 but saved down to CS4. I've tried restarting flash, Windows etc., saving to different hard drives under different names but the same thing occurs creating a text file and renaming to assets.swf (the name of saif swf) is fine but if I publish to overwrite it it then disappears. The fla for this is stored within dropbox (could that be an issue?)
View 3 Replies
Jun 8, 2010
I have a SWF file which contains of an image (1keyframe) and also, it contains an AS3 file with the following codes:
var loader:Loader=new Loader();
var ur:URLRequest=new URLRequest("1.swf");
loader.load(ur);
addChild(loader);
so basically, i am trying to play the swf file (1.swf - an audio) while the image is being displayed. What I want to know is how will I be able to publish this project into an SWF file which can still play as expected even without the raw 1.swf file. I can publish SWF right now but when I delete the 1.swf file, my generated swf can only display the image.
View 1 Replies
Oct 23, 2010
When i test the flash application from inside the flash-cs4 it works fine, but when i try to export the movie, it gives an error:
You have used a feature that requires the Flex SDK:
Embed metadata
Please set the Flex SDK path if necessary and add it to the library path for this file. The Flex SDK folder contains the bin, frameworks, lib and other folders.
I check on the settings and in the library path i have an entry: ${FlexSDK}/frameworks/libs/flex.swf. What else do i have to do to make the exported swf work?
View 1 Replies
Jan 29, 2012
My game works with no error when i control+enter my fla file in air 2.6 player. my problem occurs when i open my swf file.
My swf file keeps iterating through timeline. i have used stop(); function in every timeframe. this problem is not seen when i control+enter my fla.
View 1 Replies