I'm having an issue with getting a simple flash image swap file displaying on a website I'm building and was wondering if anyone can tell me what I've missed. I built the image swap slideshow which is just a simple blend through four images. It uses the loadMovie to import the images from the directory the movie is sitting in so the loadMovie command just references the jpg files directly with no extra directory info. The swf file and the image files it loads are all in a subdirectory off the root called flash. The page I want to display the swf movie on is actually the index html page in the root directory of the website. So I used this html to display the swf file.
How can find out the linked url of the image in the flash of a website? I looked for the image url some time. but couldn't find itif find the linked url of the image, and i want to alter an image linked url address. where is the code in?
On the mxmlc command line, I can include paths to RSL files. I can choose to link these RSLs at runtime by setting
-static-link-runtime-shared-libraries=false What if I need to link to some rsls and embed (static-link) other rsls? Is there a way to set the link settings for each rsl?
The code below on works when my xml and swf file are located in the same directory as the html file. However, when i move both file to a sub directory, nothing shows. I have tried using the absolute path but not much luck.
I recently installed FMS 3.5.1 and then upgraded it to 3.5.3 on a Windows 2003 server. In both versions, I can not stream .f4v or .mp3 from a subfolder. The .flv file plays fine. I used the default configuration settings, sample .f4v and .flv files provided by the installer. I used the sample player in C:Program FilesAdobeFlash Media Server 3.5samplesvideoPlayer as the client.
I've spent like the past 5 days trying to get this to work as a client has given me 100GB of videos that are in subfolders. For some reason I'm unable to play media from any subdirectory in vod.
All of the media & subfolders are here: C:Program Files (x86)AdobeFlash Media Server 3.5applicationsvodmedia
This works: C:Program Files (x86)AdobeFlash Media Server 3.5applicationsvodmediasample.mp4
I've also tried as the server rtmp://localhost/vod/subfolder/ but it does not work. I've also tried in the stream "mp4:subfolder/movie.mp4" that doesn't work either.
getting a rotating banner I downloaded to actually work on my home page. So I'm using FrontPage 2003. I've got my index page open and I select Insert, Picture, Movie in Flash Format. I browse through my subfolder and select the swf file. But it will not play!However, when I follow the exact same steps, but on a page that is located within the subfolder where all the files are located, the video plays just fine. So I know it probably has something to do with my file path, but I just can't figure out what I'm doing wrong. My files are located like this:
root - index.html subfolder-
(There is the deploy folder which has two subfolders in it - banner and js.)
I've tried copying and pasting all of the files so they're in the root folder, and then embedding the swf, and it still doesn't work.I've tried editing the banner.xml page and telling all the folder paths to start from the root folder, and that hasn't worked either.
I have loaded an external swf in my main movie, the swf is a picture gallery which loads images from an XML file. The directory structure is as below[code]...
When i run the main movie, it is looking for the Thumbs folder in the root folder. How can i make the images load from the subfolder?
What I need to do is assign 5 separate dynamic text fields to 5 seperate buttons and at the same time to those same five buttons i would like to add 5 images that i would be able to change merely by swapping out the images in the file theyre in on the server.I would also like to get a nice transition between the images...ALSO i want to dynamically load the images for the buttons that will be used for switching from picture to picture(which im thinking i will be able to do after i know the how to do point the aforementioned things.)
Through tutorials I've found around the net I've been able to get most of the parts together... but i get lost because what they show you for AS2 they don't for AS3 and vice versa, at least that ive seen.so... I guess my question is... would i need to set up 5 seperate dynamic text fields on the stage and then set each one of them to one of the corresponding button. If so what AS code would i need to use to do so. And if not what would i need to do?
The other part of the question would be I know about the UILoader... would i be able to use it as my buttons and images, if so would i need 5 seperate ui loaders for both the Thumbnail buttons and the images or is there a way that would be better to do it? and once i do that would i do the transitions using frames and tweens like with AS2?
If I create a new flash AS3 file and create two blank keyframes in my actions layer I can add actions to each keyframe separately no problem. I can then easily switch between the actions frames from the menu bar on the left of the actions input panel. However if I try and do this on any of my projects i've been working on for a while when I create a new blank keyframe in the actions layer and try to add actions to it, I get sent straight back to my first actions keyframe and not a nice blank page. Can I even apply seperate actions to seperate keyframes?
This is NOT the same as my last thread as i am after three and NOT ONE as last time. In the attached movie there are three seperate movies loading into three seperate tweens. Please note that i am happy with this movie as it is, and do not want to change anything about it except for the script itself. It refurs to three seperate clips "b.a","d.c" and "f.e". What i want is for the script to incorperate all three clips under one name of "mc" And instead of have three seperate widths, "width 1","width2" and "width3" i want the script to also incorperate all three widths and heights into just one name of "width" and one name of "height".
I have a problem with flash media streaming server 3.5.0. I try to make subfolder under application/vod/media and put .flv file there, but it just doesn`t work from there. Example url should be [URL]
Whenever I add a new layer, it seems to be linked to my 1st layer.If I delete something on the stage on the new layer, it's also deleted from the 1st layer. If I try locking the 1st layer, anything on the new layer-although not locked itself -can't be selected.
I am currently making a website in flash for a football team and i would like to make a list of all the players names which link to separate player profiles in the same flash document.
I am using the loader class to load an external swf and attach it to an empty movieclip, the final step follows: // function loadComplete(e:Event):void { mc_launch.addChild(gLoader); MovieClip(gLoader.content).gotoAndPlay("start");}
When navigating away from the movie clip, it's dumped as follows: MovieClip(gLoader.content).closeAllStreams();gLoader.unload();
The linked swf has two important frames in the beginning. The first frame is labeled "hold" and has the following: var gSC:SoundChannel = new SoundChannel(); var gSCBusy:Boolean = false;var gSlideIndex:Number = 0; var gAudioPosition:Number = 0; var gPlayList:Array = ["start","slide01","slide02"] var gAudioList:Array = ["intro.mp3","",""] var gRunMode:String = Capabilities.playerType;stop();
The fifth frame is labled "start" and the singing and dancing begins from there. The stop(); function in the first frame is used to prevent the loading swf from executing before its 100% downloaded (I had some early trouble where the music would start before the screen assets were in place). My problem: This works perfectly the first time the linked swf is downloaded and attached, however, if you navigate away and then back I get the error "gSlideIndex NAN" which indicates to me that the first frame in the linked swf is not executed on subsequent attachments, the playhead jumps straight to "start" and my globals are never declared. Why would a linked swf execute frame 1 the first time it's attached to mc_launch but not the second?
Sounds simple enough. I have a number of swfs (quiz01.swf, quiz02.swf.....) all linked to one quiz.as file. The quizes in turn are loaded by another swf, Main.swf. I need to get the name of the specific quiz that is loaded, so I can identify an external xml file.
Tried using the "loaderURL" in the as, but it gives the name of the Main.swf. How can I just get the name of the swf that is associated with the quiz.as file?
I have an external .flv and I simply need to be able to pause it with a frame action and start it back up with another frame action.I found some references to "flvStream.play" through google but I haven't been able to properly implement it.
I've got an FLV video linked to an external SWF (a substage) that is itself linked to another SWF (the main stage) The FLV plays fine if I publish and run the substage independently but when the substage is loaded into the main stage at runtime I lose the video, all the other screen elements from the substage work fine. I thought it might be a path issue so I hardcoded a fully qualified URL as the video source with the same results; works independently, fails when loaded into the main stage at run time.
I am using linked TLFTextField in flash cs5 and want to access the text of a particular TLFTextField within the chain. Is there a way to access the text in a TLFtextField within a chain
currently using flex builder 3. I am having trouble setting up linked folders between 2 of my projects.Basically I have a project for a Map Editor, and a project for the Tile Game. I want to share the map folder between the two projects but I keep getting package errors and I don't know how I should nest the folders/projects or where to put the maps or how to import classes from these linked folders.The project folders are currently arranged like this....Flex/Game...Flex/MapEditora maps folder needs to be shared between the two projects
I have one scene linked to another through a button, when I click on the button that links to scene two it takes me to the scene but doesn't play the animation it just shows the non animated components. Is there something really obvious I am missing here because if I go to the scene (when I am not testing the movie) the animation works perfectly.
I have a scroll file, taken from a tutorial, which is linkedto a class. After having customized my file I did try it and itworks fine. The problem is starting when I try to import this fileto an empty MCL in my website. When I have imported all theelements they do not respond and act like single pieces (es. thescroll bar is detached from the scroller). What can I do?
I have Adobe Creative Suite, but I haven't begun to learn how to use Flash yet. I work primarily with PHP using Dreamweaver and have a very basic understanding of JavaScript.I just discovered a really cool script here. The page displays a Flash image map of Africa and a table listing every nation in Africa. If you hover over Kenya on the map, Kenya is highlighted on both the map and the table. Vice versa, if you hover over the word Kenya on the table, Kenya is highlighted on both the table and the map.
I would like to duplicate this on my website. (It's in the public domain.) So I copied the source code, then began recreating the style sheets, JavaScript files and images. When I view the page locally, I see the Flash image (map of Africa). But when I hover over a nation on the map, it says "undefined," rather than showing the name of the nation. The table listing the nations doesn't display at all.
Does anyone have any idea how this affect is created? Can you offer any tips that might help me recreate it on my site? It appears that AJAX is another technology used on the page. That's something else I have no experience with, but I'm not sure if AJAX is associated with the Flash map/table function or not.
I'm practice with Flash, and trying out different things, but somehow, I managed to create a movie symbol from a graphic symbol, and now whenever I try deleting one of the symbols, it effects the other symbol as well.
I only want one of these symbols, yet I can't seem to only keep one. They both seem to depend on each other, and I don't know how to get around this.
I have been struggling with what seems to be simple concept in ActionScript 3.0 - how to communicate between classes. I have a very simple experiment with two movieclips on the stage. They are named YellowBox and RedBox in my library. I have linked the following code to the YellowBox movieclip:
package{ import flash.display.MovieClip; import flash.events.MouseEvent; public class YellowBox extends MovieClip { public function YellowBox() { this.addEventListener(MouseEvent.ROLL_OVER, rollOverHandler); } public function rollOverHandler(event:MouseEvent):void { this.x = x + 3; } }}
What I would like to do is call the YellowBox() function on my RedBox MovieClip with the following code:
package{ import flash.display.MovieClip; import flash.events.MouseEvent; public class RedBox extends MovieClip { public function RedBox() { YellowBox(); } }}
I get the following message when I compile: 1136: Incorrect number of arguments. Expected 1.
I work in Flash CS3, AS3.I've created a button that links to another webpage by using this code (the code is added to a separate layer):
import flash.events.MouseEvent; steud.addEventListener(MouseEvent.CLICK, onMouseClick); function onMouseClick(e:MouseEvent):void {
[code]....
It works just fine, but the problem is that I want to add more buttons (and links) to it, and thats where I get stuck. When I try just adding a new layer and adding the code there, everything stops working. I've also tried copy/pasting the code beneath the first one, with no results.
I have a child SWF with a linked sound that I want to control from the mother SWF. In the child SWF there are different linked sounds in separat frames. The "Control system" is in the mother SWF.