ActionScript 2.0 :: Publish As V5 Or V8 Doesn't Work
Jun 17, 2007I have a movieclip named box. The code below has been entered into a frame.
[Code]...
If I publish as Flash 5 it works - if I publish as Flash 8 it doesn't work.
I have a movieclip named box. The code below has been entered into a frame.
[Code]...
If I publish as Flash 5 it works - if I publish as Flash 8 it doesn't work.
I built a site, and most of the content is pulling from an XML file. I think format some of that text with a css style sheet. When I publish this out on a powerbook running 10.5 with the first release of flash cs4 it works.But when I try to publish the same file on a new macbook pro or iMac the css doesn't work for me. Has anyone run into this kind of problem before?
View 2 RepliesI'm having a problem with the flash publish method and swfaddres.I've included the javascript of the flash pubblication in a new javascript file with the swfaddress in the same page.If i use swfobject for including my flash file in the swf, swfaddress works ok...if i include the swf with the flash method swfaddress doesn't work.Here the link: http:[url]......
View 0 RepliesI create a flash site with a XML MENU. When I publish the site the xml menu doesn't move when you scale the browser window, but when I use swfobject the xml moves when you scale the browser (not centered).
View 11 RepliesI decided to try to use setInterval for myanimation, which is just a mouse trail.However, I'm trying to get teh mouse trail to be a dynamic mask.In my previous swf this was achieved by using a holder mc with the animation inside and then using this as the mask. But this time I just canpt seem to hit on the right way to get it to work. The code I am using for the mouse trail is:
Code:
var i:Number = 0;
var myInt:Number;
var t:MovieClip;[code].....
in the function, but now the trail doesn't resize and the mask still doesn't work.
I have created a main file,which has a navigation with buttons.Each button loads an external swf file.In one of the external swf files I have created an xml gallery.I have created some empty movieClips which work as holders and they load the images.It works great when I publish it,although it doesn't work when I publish the main file.It just doesn't load the images.
View 1 Repliesi have an fscommand with ActionScript Code:
fscommand("fullscreen", "true");
and i have checked the flash - allow full screen in html tab in publish setting but it doesn't working
I have a button object that I need to scale to align with the variable width of an array of images.However, when I set the width in code, the button does not actually become that width. Tracing out the width gives me the correct value, but on screen.. it's off.
I've proved it to myself by scaling the same button object manually in the properties pane and visually comparing. Both of the buttons below have a width of 410.
Code:
navigatorDown_btn.width = 410;
navigatorDown_btn.x = (stage.stageWidth/2)-(navigatorDown_btn.width/2);
trace(navigatorDown_btn.width); // output: 410
Why wont AS3 work with any of the combo boxes text boxes button etc? swithcing the publsih settings from AS2 to 3how can i get these to work? and why are they still avalible formthe components menu when you in AS 3 publish settings if they dont work?
View 1 RepliesI am using Flash CS4 on Windows XP x64 and onion skinning does not work when publish setting are set to Actionscript 3. Is there a workaround for this or am I just SOL?
View 2 RepliesI want to publish this link [URL] into wall via Graph Api. If you see the code of the link you can see that the required metas are wrote. In fact, if you paste the link in Fb, you can see that it recognise and even publish the player.For test purpose i have used the Graph API Explorer [URL]) with this parameters:
Method: "POST"
Api : https://graph.facebook.com/user/feed
oauth_token : ...
message: "Test from API Explorer"
[code]....
I do not understand why, whith the API Explorer works fine, but whit my PHP call does not.
I downloaded this free flash website template for building my website, all the actionscript in the template in AS3, i tried using xml flash - photogallery (for which i found the tutorial on this website.) in my website, but while publishing the site, it gives error, i guess it might be compatibility issue as the script that i found on the website might be in AS2 and that might be clashing with AS3 script of the template. Coz when i change the publish setting to AS2, the AS3 part of the script does not work. Individually both script in their respective separate files work but when combined together the site goes bonkers. as i want the photogallery part exactly as it is shown on this site which is with the thumbnail preview.
View 1 RepliesI have a swf that is pretty complicated, you can interact with the page and go to different keyframes and it stops and/or starts depending on buttons, but I want to put it in a fla or something so I can put other swfs next to it and build it up and put several of them together as one.
I don't care about making it too complicated, I just want one interactive swf to go to the next compiled swf when that movie ends, but when I try importing it or loading it it just runs straight through without stopping or paying any attention to the scripting.
While publishing my movies in CS4, I noticed that the javascript required to embed the movie in a web page was published as inline javascript in the published page. This means that code would be downloaded for each page my movie is on. Is it possible to configure Flash CS4 to publish that javascript to a separate .js file, instead of having to manually copy-paste that each time??
If no, I believe that js is independent of the Flash movie (please correct me, if I am wrong). So, can I copy-paste that javascript to an external file just once, and use the js file for all my movies being published??
I'm using Flash to play a RTMP stream to a Wowza server.
I publish my microphone with
m_MicStream.publish ("mic_user1", "live");
Unfortunately, my receiving end only supports AAC audio. Is there a way to publish AAC audio with Flash?
Note : I tried the mp4:mic_user1, but it does not work. The stream negociation seems ok, but the received audio is garbage
I am trying to more between frames using the data returned from a node n_EventID in an xml, when the node returns "1408" I want to move to frame 1 but if it returns anything else I want to move to frame 2. The part where the code moves to frame 2 seems to work perfectly but I can't seem to move to frame 1 when "1408" is returned.
xmlResultFinish = new XML();
xmlResultFinish.ignoreWhite = true
xmlResultFinish.onLoad = loadXmlResultFinish;
[code]....
I'm having a problem, where random IE's are not able to display my .swf file. All the IE's are IE8 with the latest flash pluggins and all security's are set at Medium, however some IE's get just a grey box and other's get the full flash file. What's going on? It works fine in Safari and Firefox of course, but why so much difficulty with AS3 Flash9 in IE? here is a link to the site, and it's the big image changer at the bottom of the front page.
[URL]
But my proublem is that I have a flash presentation.The defalt for moving the slide screens back and forth are left and right arrows.It works fine when tested or even the .swf fileBut then the left and right buttons don't respond when I go to fullscreen.
View 5 RepliesIs it common for AS3 apps to not work in IE? Is there a way to make them work? I have a movie clip in my library linked to a custom class Main and I have nothing on stage. Just one frame. Everything is built inside that movie clip. I add that movie clip to stage through a document class and everything works perfectly in Firefox and Chrome but when I open it in IE, it's just a blank page.
View 6 Repliesi followed the instructions oh how to make a centered pop up window here :i'm using a mac..nd it works in Safari... but when i try to use explore to open it, the pop up window doesn't come up...why is that.......? did i do something wrong?here is my website:and please click on 'message' to see for yourself.
View 5 Repliesi followed the instructions oh how to make a centered pop up window here : [URL]
i'm using a mac... and it works in Safari... but when i try to use explore to open it, the pop up window doesn't come up..
here is my website: [URL] and please click on 'message' to see for yourself.
this is what i have on the maintimeline:[code]I have 4 moveiclips called: redhex, bluehex, greenhex, and yellowhex.what the above code should do is make a 15x15 grid of hexes (yes i wanted all 4 hex mc's overlapping each other at each space on the grid.).Before i added the lines to dupllicate the blue, green, and yellow hexes also... the redhex movieclip duplicated exactly as it should.But after adding the lines to duplicate the blue, green, and yellow hexes also, in the same locations... Nothing at all showed up when i tested the movie (not even the redhex's)
View 4 RepliesIn the actions of a movie clip,I want to use something like:
PHP Code:
if(Key.isDown(W)){
//do stuff
}
But,it does not take anything else than LEFT,RIGHT and some others.I even tried ASCII:
PHP Code:
if(Key.isDown(100))
{}
It doesn't work.Then how do we use keys like W,A,S,D?
I've made a rounded rectangle with a gradient fill and another rounded rectangle over it with a transparency to create kind of a glossy effect. Both objects are part of a symbol in the library of the FLA file. Then, I activated the checkbox to create a scale-9 grid, and the Export for Actionscript checkbox in order to add this symbol from AS3. Next I made sure that every rounded corner was completely included in the slices on the edges of the grid. Well, no matter what, the object is scaled as a normal graph: the rounded corners appear bigger and deformed.
View 4 Repliesthis is what i have on the maintimeline:
Code:
initialize();
function initialize() {
for (i=1, r=0; r<15; r++, i++) {
for (c=0; c<8; c++) {
[code]...
I have 4 moveiclips called: redhex, bluehex, greenhex, and yellowhex.what the above code should do is make a 15x15 grid of hexes (yes i wanted all 4 hex mc's overlapping each other at each space on the grid.).Before i added the lines to dupllicate the blue, green, and yellow hexes also... the redhex movieclip duplicated exactly as it should.But after adding the lines to duplicate the blue, green, and yellow hexes also, in the same locations... Nothing at all showed up when i tested the movie (not even the redhex's)
I'm in a big distress, I'm using AS2 with CS3 (Flash 9.0 on OSX Snow Leopard) and I can't get the querystring. I don't understand it has always worked before with my previous version of Flash. I'm using this AS code: t_txt.text += _root.age; I have a dynamic text linked to t_txt. For the HTML I simply published using Flash, then I changed in the html file like this:
<param name="movie" value="age.swf?age=56" />
And
<embed src="age.swf?age=56" quality="high" etc >
When I set to use AS1 it just works fine. But I can't use AS1 all my projects are with AS2. So what's wrong?
flash cs5 wont follow s3's redirects, instead it makes an ioerror with http status code 303 which is not an error code, its a redirect code. It doesn't hit the redirect page at all. If i was to save this file as a cs4 doc and run it in cs5, same issue. If if was to open and run it in cs4, it works fine, no error, redirect gets hit.Exactly the same file works in cs4 but not in cs5.
View 1 Replieson my website I have a contact form where you should be able to type into an input text box. For some reason, my website won't allow me to click and edit the input text box. Could the problem be that it is within a movieclip?
View 21 RepliesI've only been working with flash for about 3 weeks and I'm fairly new to programming soI'm using Flash CS5 with AS3 btw.
Code:
///////////////////////////
// Custom Mouse Controls
[code]....
So here's my code:
mcbutton.onPress = function() [code]....When I click on button it goes to _down frame but it shifts back to 1st frame. It doesn't really stop there. How can I make it work?