apache / apache/royale-asjs

mx.effects.Resize constructor is passing class instead of variable

Open
#1,136 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
ActionScript
Stars
380
Forks
120
PR merge metrics
No merged PRs in 30d

Description

frameworks/projects/MXRoyale/src/main/royale/mx/effects/Resize.as

The file mx.effects.Resize on the constructor is passing the class IUIBase instead of the variable.

```
public function Resize(target:IUIBase = null)
{
super(IUIBase);
}
```

I was attempting on using mx.effects.resize without success most likely because of this issue.

I did however started using org.apache.royale.effects.Resize and it started working.

I imagine that the solution to this issue is.

```
public function Resize(target:IUIBase = null)
{
super(target);
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Open frameworks/projects/MXRoyale/src/main/royale/mx/effects/Resize.as and inspect the Resize constructor and its call to the superclass. Confirm the constructor passes the target variable rather than the IUIBase class, then verify that mx.effects.Resize works as described in the issue.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.