Loading files in a flash file
I built a slideshow in flash lsave the swf file and then loaded it into my flash website on my desktop it works fine with next and previous buttons. when i test it in flash it scrolls nonstop. what can i do. I also loaded it into a dreamweaver site and it works fine there as well....
Thanks and God Bless
Clay
Sorry, but you sare at the wrong forum; this one is only for discussions on the forums themselves. The Flash forums are here:
http://forums.adobe.com/community/flash
Similar Messages
-
How to load other obejects in flash file after intro using ActionScript 3.0
How to load other obejects in flash file after intro using ActionScript 3.0 or any other method all in same fla file. see blow intro screen shot ,this one playing repeatedly without loading other fla pages .only way to load other pages is click on Skip intro .see second screeshot below .i need that site to load after intro .
see codes already in
stop();
skipintro_b.addEventListener(MouseEvent.CLICK, skipintro_b_clicked);
function skipintro_b_clicked(e:MouseEvent):void{
gotoAndStop("whoweare");
There is another script there
/* Simple Timer
Displays a countdown timer in the Output panel until 30 seconds elapse.
This code is a good place to start for creating timers for your own purposes.
Instructions:
1. To change the number of seconds in the timer, change the value 30 in the first line below to the number of seconds you want.
var fl_TimerInstance:Timer = new Timer(1000, 30);
fl_TimerInstance.addEventListener(TimerEvent.TIMER, fl_TimerHandler);
fl_TimerInstance.start();
var fl_SecondsElapsed:Number = 1;
function fl_TimerHandler(event:TimerEvent):void
trace("Seconds elapsed: " + fl_SecondsElapsed);
fl_SecondsElapsed++;
i have no knowledge about these thing ,any help really appreciated .Ned Murphy Thank you very Much .It is working .Great advice
-
Flash file inside a Flash File
I know this may see a stupid question... But I've looked
everywhere and haven't found an answer. How do I add a flash file
inside another flash file? I'm interested in creating an all flash
website, but am kinda stuck when it comes to switching pages on the
site. What's the easiest way to do this?Hello Ben J.,
loadMovie is your new best friend.
The best way to use this is to create an empty movie symbol,
put it on the
timeline and give it an instance name (placeHolder for
example). Then you
can load another swf into that placeHolder clip with the
following script:
placeHolder.loadMovie("whatever.swf");
This is a GREAT way to cut down on the initial load time of a
site because
you only load what you need when you need it.
You can really have some fun when you start controlling
objects on the main
timeline from your loaded movies and vice versa.
Good luck!
Jesse H.
Adobe Community Expert
My site:
http://www.jharding.com
Free Blog Radio:
http://www.tornadostream.com
> I know this may see a stupid question... But I've looked
everywhere
> and haven't found an answer. How do I add a flash file
inside another
> flash file? I'm interested in creating an all flash
website, but am
> kinda stuck when it comes to switching pages on the
site. What's the
> easiest way to do this?
> -
How to use as3 in flash cs3 to add dynamic text from a text file into a flash file
let me start out by saying today is my first day of scripting
in flash.
I have a text file text.txt
it contains
text1=hello world
can someone please show me how to display this text in a
flash file
i have been searching for this for hours and there are
solutions with flash mx and actionscript 2.0 but i would like to
see how to do this in as3.
just a simple frame that loads that file and displays it when
you test run the program
much apreciated
RCI'm not up on AS3 yet, but many things are still similar. You
need to use the LoadVars class to accomplish this, You can find
information this in Flahs Help>Actionscript>Actionscript
Language Reference>Actionscript classes.
rem: the text.txt file and the text.fla file must be in the
same directory.
The code will look something like this: -
How to put a video player swf file inside a flash file
i want to know how i can put a flash file inside a flash wbsite. i have found a tutorial http://www.ehow.com/how_4906532_within-another-flash-swf-file.html that says something like that but in this tutorial if i understand correctly it creates a new flash project and add another swf inside. i have my website created and i just want to add video gallery, image gallery etc that are already swf. how i can do that?
You can use swf inside of another swf.
If you are using Actionscript2 then learn about LoadMovie
And for AS3 it is Loader. -
Insert an swf file into another Flash file
Hi,
I'm a newbie to flash trying to insert an SWF flash file (a game) into another Flash file. However, when I import the swf file into the library and drag it onto the frame (and insert the stop(); command onto the frame action to stop it playing the whole movie), the SWF file plays constantly, ignoring all the actionscript and button commands in the game SWF file.
When I try inserting it using the Window component, the game SWF refuses to play at all - it just stops (clicking buttons in the game work, but it goes-to-and-stops instead of go-to-and-play like it's supposed to do). The only other component I could find was called "Loader". Using this doesn't work either, it won't play any of the animation, just like using the "Window" component
When the game SWF is played by itself (by just double-clicking to open it from Windows Explorer or embedding it in a web page), it works fine.
Any help how to do this would be appreciated.
Thanks.Hi,
I'm posting in this thread because my problem seems similar but may be not...
In my first swf, I'm loading a second swf via loadClip().
My second swf works well alone but when I try to integrate itself in my first swf I'm losing my events. My events only works on my first swf.
I'v tried your trick with _lockroot but he doesn't work for me too.
Is someone have an idea to help me ?
Thx
My code is really basic
First swf:
var mcloader:MovieClipLoader = new MovieClipLoader();
var listener:Object = new Object();
listener.onLoadInit = function (mc:MovieClip){
main_obj.__preloader.die();
obj[funct](target_mc, param);
mcloader.addListener(listener);
mcloader.loadClip(file_name, __loader);
Second swf:
var box:MovieClip = this.createEmptyMovieClip("box"+depth, this.getNextHighestDepth());
//Draw box
drawBox(...);
// Event on Box, Change Alpha and show arrow or not
box.onRollOver = function() {
drawBox(...); -
I have created a simple Flash menu for use on multiple site. They all access the same flash file. My original flash file only had a few links and tabs. The new one has more links, and a "LIVE" button at the bottom. But in Fire Fox, those that saw the original can not see the updated version in FireFox. They see it if they use Internet Explorer, Safari, Opera, etc. This issue comes up on all operating systems. This issue only occurs with FireFox. I've tried clearing FireFox's Cache but that doesn't seem to be working either.
The Flash File can be found on the left side at this link:
[http://dovm.org/DOVM_AVP.html]Your server file handling has nothing, and really nothing to do with Adobe software. If files don't get locked for (over-)writing and/or lose connection to the program opening them, then your server is misconfigured. It's as plain and simple and that. Anything from "known file types"/ file associations not being set correctly, MIME types being botched, crooked user privileges and file permissions, missing Mac server extensions, delayed file writing on the server, generic network timeout issues and what have you. Either way, you have written a longwinded post with no real value since you haven't bothered to provide any proper technical info, most notably about the alleged server. Either way, the only way you can "fix" it is by straightening out your server and network configuration, not some magic switch in Adobe's software.
Mylenium -
Load external swf in Flash file...
I am a beginner using flash. I only ask that those answering this question assume that I have no knowledge of flash (because I probably don't) and answer accordingly. I do have a grasp of ActionScript 3 so I can follow much of that. That said...the question:
I have recently learned how to load an external swf inside another swf. What I'm trying to figure out is how to position the swf file precisely where I want it (I am making a flash GUI). How do I do this?Assign the desired x and y location properties for the Loader...
var ldr:Loader = new Loader();
ldr.x = 100;
ldr.y = 100;
addChild(ldr);
ldr.load(new URLRequest("your.swf")); -
Creating interactive swf files that contain flash files that don't play once loaded on server
I am creating an interactive swf file that contains a flash movie f4v file and when I preview the page in ID it plays, but once I export the InDesign file to swf, insert that on a html page using Dreamweaver (so I can send a link and not a file out) the movie doesn't play, just the first frame of the clip. I have uploaded the f4v file to our server and linked in the original ID file and it still doesn't play. Any suggestions or similar issues?
I have left the page up for quite a while to see if it is just taking longer to load that clip and that doesn't seem to be it. I am just stumped and honestly not knowledgable on how websites and servers work - just know how to get my documents up so I can send links.
-
Help needed to load a flash file from another flash file
This is a two part question - but I am sure that answering
one will solve the other.
I have a menu.swf file, and if I click on the top button it
should load module1.swf. (Which it does) - however I can see the
menu.swf file underneath the module1.swf file.
The second part of the problem is that when I click on the
top button of menu.swf, I want it to goto a specific location
within module1.swf ( say the 8th page )
If I use loadmovienum ("module1.swf",0) it opens a new window
- instead of replacing menu.swf
any ideasUse loadMovie() or loadClip (with the MovieClipLoader class)
depending on how much you want to know about/control the load. With
these you can specify a target movieClip for the load.
Not sure what you mean by 'location'. If you're talking
frames, you can use the load's target movieclip as a reference to
the swf and use gotoAndPlay - but you have to make sure the swf is
loaded first. -
Problem using captivate file in a flash file
Hi,
I am using a captivate file inside a flashfile.
I am experiencing the following problem.
I have a button in a layer above the captivate file. But when
I click that button the button and the captivate file react.
How is this possible, and how can I resolve this?I don't understand your question.
You 'click a button and the button and the captivate file
react'.
What does that mean?
A bit more clarity in exactly what is happening may help
diagnose the
problem (no promises!).
Erik
moglidroop wrote:
> Hi,
>
> I am using a captivate file inside a flashfile.
> I am experiencing the following problem.
> I have a button in a layer above the captivate file. But
when I click that
> button the button and the captivate file react.
> How is this possible, and how can I resolve this?
>
Erik Lord
http://www.capemedia.net
Adobe Community Expert - Authorware
http://www.adobe.com/communities/experts/
http://www.awaretips.net -
samples, tips, products, faqs, and links!
*Search the A'ware newsgroup archives*
http://groups.google.com/group/macromedia.authorware -
Convert video files TO flv flash files??
Can anyone tell me if there is a shareware program that converts video files to flv???
Can anyone tell me if there is a shareware program that converts video files to flv?
FilmRedux (open source version of Visual Hub) or FFmpegX. Alternatively, you can upload to YouTube, let them convert the file, and then download the converted file version. -
Shareware program that converts video files TO flv Flash files?
Can anyone tell me if there is a shareware program that converts video files to flv???
from past experience there is nothing free available that either works or produces basic quality
try this for $49:
http://www.verticalmoon.com/products/video2swf/video2swf.htm#overview -
I can't enter any values in JTextField after loading the flash files.
Hi to all,
In my application I have two panels. One panel has JTextField and another panel i loaded flash files.
The flash files are build by CS4. I'm using JDIC to load the flash files. While open the application i loaded flash file and I try to enter any input in the textfiled, but I can't. After minimize and maximize the application I can enter the values. This problem happens only after I change the jre version from 1.6 to 1.7.
While loading flash files I'm getting the below exception.
org.jdesktop.jdic.init.JdicInitException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
at org.jdesktop.jdic.init.JdicManager.initBrowserNative(Unknown Source)
at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unknown Source)
pls give me a solution.
Thanks in advance...:)I can't enter any values in JTextField after loading the flash files., locking.
-
WinCE Projector does not display flash file properly
Hi,
I built a projector application for loading flash files on a
Windows CE 5.0 based embedded device. I am using Flash player 7 for
WinCE5.0. The projector was built using embedded VC++ for an ARM
processor.
The basic idea of this flash application is content delivery.
So, this projector loads a container flash file stored locally on
the device. This container flash file communicates with a remote
server(webserver or FMS) to retrieve content (flash files, audio,
video, images, text etc.). Right now, I am trying to load a series
of flash files from the remote server - one by one - like a series
of ads.
The problem is that, the series of flash files loaded does
not display properly inside the main container file. I am using a
loader component in the main container flash file. All the flash
files loaded must play full screen. But some files do not play
fullscreen. It automatically shrinks to a smaller random size. This
behaviour does not repeat. It occurs randomly for any of the series
of files I am trying to load in the container flash.
When i tested the application on the desktop, it works fine.
But on the device, the loaded flash files shrink automatically. Can
someone explain why this is happening? Is this problem usually
associated with flash player on embedded devices?
I am stuck with this problem for a long time. I tired
different methods to get around it, but could not succeed. So I
would really appreciate it, if anyone can throw some light on this
issue and preferably provide a solution?
Thank you,
JothishankarI am using Flash Professional CS6.
It lets me edit all the symbols and bitmaps, and key frames.
However, it just publishes as a SWF a bit incorrectly.
Maybe you are looking for
-
How do I get my Macbook Pro to fill in my name, address, city, state and zip automatically when I start to fill out and online form? It use to do it, all I did was put in the first few letters of my name and hit the tab button. Now it no longer does
-
How do you fix the home button on a iphone 4
iphone will not cut on. power button and home button are not working, and the phone is not dead
-
Issue with dialog boxes in Designer, please help
Hi, I'm having a problem with designer the last 4 days. It was working fine before. Any dialog box wants to open, I can not insert tables, edit properties, etc. I'm using Designer 11.5.0.0 with SP3 update, I reinstalled every thing, but it's still no
-
There is no "Organize Bookmarks ..." under the bookmarks pulldown
I am trying to import FF3.6 bookmarks into FF4, but there is no "organize bookmarks..." in the pulldown. Che pasa?
-
How do you use a field for 255 characters plus in HCM?
There is a 255 character max on the fields in the HCM process and forms. I see some types in there: QISR_TAB_TYPE QISR_TAB_TYPE_TEXT QISR_TAB_TYPE_STRING I see the text one is for no length restriction, but when I apply it to the field in designtime