473,408 Members | 2,477 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

FileReference.browse()...displays error...

Hi,

I have a code for flash player which is capable of playing .swf files, And this player get the movie using xml file(all the information about movies in it) and i want to provide a browse button to choose .swf file to play ,for that iam using 'FileReferene' class.But it displays error as
"the class or interface 'flash.net.FileReference' could not be loaded"

But its working fine for simple program with only single browse button. why this was happened??

Iam using flash CS3 professional and actionscript 2.0. one more thing is i placed import statement also(import flash.net.FileReference)..



Any idea??
Sep 5 '07 #1
2 3175
xNephilimx
213 Expert 100+
Hi, srinuseshu! Welcome to TSDN!
Are you using the same instance of the FileReference for the various browse buttons? Or making a new instance per button? The movie that doesn't work with multiple buttons, is the same that works fine with one (sometimes flash looses it's classpath ¬¬)?

Please, post the code you're using so I can have a better idea.

Best regards,
The_Nephilim

Hi,

I have a code for flash player which is capable of playing .swf files, And this player get the movie using xml file(all the information about movies in it) and i want to provide a browse button to choose .swf file to play ,for that iam using 'FileReferene' class.But it displays error as
"the class or interface 'flash.net.FileReference' could not be loaded"

But its working fine for simple program with only single browse button. why this was happened??

Iam using flash CS3 professional and actionscript 2.0. one more thing is i placed import statement also(import flash.net.FileReference)..



Any idea??
Sep 6 '07 #2
Be sure you are publishing the .swf file as a Flash 8.

It seems very simple, but I hope it might help :)
Regards.
Sep 9 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Chris Lasher | last post by:
Hello, I'm trying to write a tool to scrape through some of the Ribosomal Database Project II's (http://rdp.cme.msu.edu/) pages, specifically, through the Hierarchy Browser....
2
by: Joel | last post by:
Hello, ASP does not work locally on my main web site when I browse the machine locally at the console itself, but to the outside world all is fine, and ASP executes normally. I have 4 other...
3
by: Highlander | last post by:
Hello all. Consider the following HTA: <HTML> <HEAD> <TITLE></TITLE></HEAD> <BODY> <SCRIPT LANGUAGE="VBScript"> Sub ButBrowse_onclick() '-- show browse window and Get file path:
4
by: developing | last post by:
Hi All, I have a browse button that the user can click to select a file. The button then fetches the file path. This is all working fine except my boss wants some add functionality. I need it to...
1
by: developing | last post by:
Hello, This time I want to filter the 'browse for file' API so that certain drives/folders cant be accessed. Not sure how to go about this...here is the module I am currently using to browse...
8
by: =?Utf-8?B?UGV0ZXJX?= | last post by:
I install Visual Studio 2005 Pro on Vista. I open and migrate a 2003 web project to 2005. I attempt to browse an aspx file from the Solution Exploer. It displays a blank html page. I create a...
1
by: vanita01 | last post by:
Hi Can anyone please help me. I am trying to browse for a file. I would like the file path name to be shown on a text box. Using the upload button I would then like to save the file on mysql. is...
2
by: cbellew | last post by:
Hi guys, i wonder if anyone could help me with my problem. Basically, i am creating a file upload tool in as3. I am using a FileReference object, calling browse() and then upload(). I have an...
1
by: sandeep kumar shah | last post by:
Hi, We have used a file uploading HTML tag in an HTML page. We need to customize the text displayed on the Button (which is by default “Browse…” for internet explorer). Below is the...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.